Lines 46-55
Link Here
|
46 |
|
46 |
|
47 |
// the font_factory keeps a hashmap of all the loaded font_instances, and uses the PangoFontDescription |
47 |
// the font_factory keeps a hashmap of all the loaded font_instances, and uses the PangoFontDescription |
48 |
// as index (nota: since pango already does that, using the PangoFont could work too) |
48 |
// as index (nota: since pango already does that, using the PangoFont could work too) |
49 |
struct font_descr_hash : public std::unary_function<PangoFontDescription*,size_t> { |
49 |
struct font_descr_hash : public std::__unary_function<PangoFontDescription*,size_t> { |
50 |
size_t operator()(PangoFontDescription *const &x) const; |
50 |
size_t operator()(PangoFontDescription *const &x) const; |
51 |
}; |
51 |
}; |
52 |
struct font_descr_equal : public std::binary_function<PangoFontDescription*, PangoFontDescription*, bool> { |
52 |
struct font_descr_equal : public std::__binary_function<PangoFontDescription*, PangoFontDescription*, bool> { |
53 |
bool operator()(PangoFontDescription *const &a, PangoFontDescription *const &b) const; |
53 |
bool operator()(PangoFontDescription *const &a, PangoFontDescription *const &b) const; |
54 |
}; |
54 |
}; |
55 |
|
55 |
|