8 #ifndef AW_FONT_LIMITS_HXX
9 #define AW_FONT_LIMITS_HXX
11 #ifndef _GLIBCXX_CLIMITS
14 #ifndef _GLIBCXX_ALGORITHM
28 void notify(
short ascent_,
short descent_,
short width_) {
30 descent =
std::max(descent_, descent);
32 min_width =
std::min(width_, min_width);
46 ascent(
std::
max(lim1.ascent, lim2.ascent)),
47 descent(
std::
max(lim1.descent, lim2.descent)),
48 width(
std::
max(lim1.width, lim2.width)),
49 min_width(
std::
min(lim1.min_width, lim2.min_width))
57 #error aw_font_limits.hxx included twice
58 #endif // AW_FONT_LIMITS_HXX
bool was_notified() const
void notify(short ascent_, short descent_, short width_)
bool is_monospaced() const
AW_font_limits(const AW_font_limits &lim1, const AW_font_limits &lim2)