fe::TextStyle Class Reference
[Ferry Core library]

Defines a set of styles that editor should apply to a part of a text line. More...

List of all members.

Public Types

enum  Mod { mExpandToLineHeight = 0x1 }

Public Member Functions

bool operator!= (const TextStyle &v) const
bool operator< (const TextStyle &v) const
bool operator== (const TextStyle &v) const

Static Public Member Functions

static TextStyle makeStyle (PlatformTypes::font_handle_type font=0, ColorRGB fgColor=InvalidColor, ColorRGB bgColor=InvalidColor, int mods=0)
static TextStyle nullStyle ()

Public Attributes

ColorRGB bgColor
ColorRGB fgColor
PlatformTypes::font_handle_type font
int mods


Detailed Description

Defines a set of styles that editor should apply to a part of a text line.

See also:
fe::DecorMetrics

Member Enumeration Documentation

Enumerator:
mExpandToLineHeight 


Member Function Documentation

bool fe::TextStyle::operator< ( const TextStyle v  )  const [inline]

bool fe::TextStyle::operator== ( const TextStyle v  )  const [inline]

bool fe::TextStyle::operator!= ( const TextStyle v  )  const [inline]

static TextStyle fe::TextStyle::makeStyle ( PlatformTypes::font_handle_type  font = 0,
ColorRGB  fgColor = InvalidColor,
ColorRGB  bgColor = InvalidColor,
int  mods = 0 
) [inline, static]

static TextStyle fe::TextStyle::nullStyle (  )  [inline, static]


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Tue Nov 18 21:08:23 2008 for Ferry by doxygen 1.5.7.1
http://sourceforge.net