gwenhywfar  4.15.2beta
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
FOX16_HtmlCtx Class Reference

#include <fox16_htmlctx.hpp>

Public Member Functions

void addMediaPath (const char *s)
 
void dump ()
 
 FOX16_HtmlCtx (uint32_t flags)
 
HTML_FONTgetFont (const char *fontName, int fontSize, uint32_t fontFlags)
 
int getHeight ()
 
HTML_IMAGEgetImage (const char *imageName)
 
int getWidth ()
 
int layout (int width, int height)
 
void paint (FXDC *dc, int xOffset, int yOffset)
 
void paintAt (FXDC *dc, int xOffset, int yOffset, int xText, int yText, int w, int h)
 
void setBackgroundColor (FXColor c)
 
void setForegroundColor (FXColor c)
 
void setText (const char *s)
 
 ~FOX16_HtmlCtx ()
 

Protected Member Functions

FXFont * _getFoxFont (HTML_FONT *fnt)
 
void _paint (FXDC *dc, HTML_OBJECT *o, int xOffset, int yOffset)
 
void _paintAt (FXDC *dc, HTML_OBJECT *o, int xOffset, int yOffset, int xText, int yText, int w, int h)
 
uint32_t getColorFromName (const char *name)
 
int getTextHeight (HTML_FONT *fnt, const char *s)
 
int getTextWidth (HTML_FONT *fnt, const char *s)
 

Protected Attributes

FXColor _bgColor
 
GWEN_XML_CONTEXT_context
 
FXColor _fgColor
 
FXFont * _font
 
FXIconSource * m_iconSource
 

Friends

class FOX16_HtmlCtxLinker
 

Detailed Description

Definition at line 22 of file fox16_htmlctx.hpp.

Constructor & Destructor Documentation

FOX16_HtmlCtx ( uint32_t  flags)

Member Function Documentation

FXFont* _getFoxFont ( HTML_FONT fnt)
protected
void _paint ( FXDC *  dc,
HTML_OBJECT o,
int  xOffset,
int  yOffset 
)
protected
void _paintAt ( FXDC *  dc,
HTML_OBJECT o,
int  xOffset,
int  yOffset,
int  xText,
int  yText,
int  w,
int  h 
)
protected
void addMediaPath ( const char *  s)
void dump ( )
uint32_t getColorFromName ( const char *  name)
protected
HTML_FONT* getFont ( const char *  fontName,
int  fontSize,
uint32_t  fontFlags 
)
int getHeight ( )
HTML_IMAGE* getImage ( const char *  imageName)
int getTextHeight ( HTML_FONT fnt,
const char *  s 
)
protected
int getTextWidth ( HTML_FONT fnt,
const char *  s 
)
protected
int getWidth ( )
int layout ( int  width,
int  height 
)
void paint ( FXDC *  dc,
int  xOffset,
int  yOffset 
)
void paintAt ( FXDC *  dc,
int  xOffset,
int  yOffset,
int  xText,
int  yText,
int  w,
int  h 
)
void setBackgroundColor ( FXColor  c)
void setForegroundColor ( FXColor  c)
void setText ( const char *  s)

Friends And Related Function Documentation

friend class FOX16_HtmlCtxLinker
friend

Definition at line 23 of file fox16_htmlctx.hpp.

Field Documentation

FXColor _bgColor
protected

Definition at line 58 of file fox16_htmlctx.hpp.

GWEN_XML_CONTEXT* _context
protected

Definition at line 55 of file fox16_htmlctx.hpp.

FXColor _fgColor
protected

Definition at line 57 of file fox16_htmlctx.hpp.

FXFont* _font
protected

Definition at line 56 of file fox16_htmlctx.hpp.

FXIconSource* m_iconSource
protected

Definition at line 59 of file fox16_htmlctx.hpp.


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