Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
dw::fltk::FltkFont::FontFamily Class Reference

Public Member Functions

 FontFamily (Fl_Font fontNormal, Fl_Font fontBold, Fl_Font fontItalic, Fl_Font fontBoldItalic)
 
void set (Fl_Font, int attrs)
 
Fl_Font get (int attrs)
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly.
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal.
 
virtual int hashValue ()
 Return a hash value for the object.
 
virtual Objectclone ()
 Return an exact copy of the object.
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object.
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses.
 

Private Attributes

Fl_Font font [4]
 

Detailed Description

Definition at line 17 of file fltkplatform.hh.

Constructor & Destructor Documentation

◆ FontFamily()

dw::fltk::FltkFont::FontFamily::FontFamily ( Fl_Font  fontNormal,
Fl_Font  fontBold,
Fl_Font  fontItalic,
Fl_Font  fontBoldItalic 
)

Definition at line 64 of file fltkplatform.cc.

References font.

Member Function Documentation

◆ get()

Fl_Font dw::fltk::FltkFont::FontFamily::get ( int  attrs)

◆ set()

void dw::fltk::FltkFont::FontFamily::set ( Fl_Font  f,
int  attrs 
)

Definition at line 73 of file fltkplatform.cc.

References dw::fltk::FltkFont::font.

Referenced by dw::fltk::FltkFont::initSystemFonts().

Member Data Documentation

◆ font

Fl_Font dw::fltk::FltkFont::FontFamily::font[4]
private

Definition at line 18 of file fltkplatform.hh.

Referenced by FontFamily().


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