Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes

AP_UnixToolbar_StyleCombo Class Reference

#include <ap_UnixToolbar_StyleCombo.h>

Inheritance diagram for AP_UnixToolbar_StyleCombo:

List of all members.

Public Member Functions

 AP_UnixToolbar_StyleCombo (EV_Toolbar *pToolbar, XAP_Toolbar_Id id)
virtual ~AP_UnixToolbar_StyleCombo (void)
virtual bool populate (void)
bool repopulate (void)
const PangoFontDescription * getStyle (const gchar *name)

Static Public Member Functions

static EV_Toolbar_Controlstatic_constructor (EV_Toolbar *, XAP_Toolbar_Id id)

Protected Attributes


Private Member Functions

void getPangoAttrs (PD_Style *pStyle, PangoFontDescription *desc)
void freeStyles (void)

Private Attributes

std::map< std::string,
PangoFontDescription * > 
PangoFontDescription * m_pDefaultDesc

Constructor & Destructor Documentation

AP_UnixToolbar_StyleCombo::AP_UnixToolbar_StyleCombo ( EV_Toolbar pToolbar,
XAP_Toolbar_Id  id 
AP_UnixToolbar_StyleCombo::~AP_UnixToolbar_StyleCombo ( void   )  [virtual]

References freeStyles(), and m_pDefaultDesc.

Member Function Documentation

void AP_UnixToolbar_StyleCombo::freeStyles ( void   )  [private]

References m_mapStyles.

Referenced by repopulate(), and ~AP_UnixToolbar_StyleCombo().

void AP_UnixToolbar_StyleCombo::getPangoAttrs ( PD_Style pStyle,
PangoFontDescription *  desc 
) [private]
ROB parse more attributes like font-color, background-color

References DIM_PT, gchar, PD_Style::getPropertyExpand(), style, UT_convertToDimension(), and UT_return_if_fail.

const PangoFontDescription * AP_UnixToolbar_StyleCombo::getStyle ( const gchar *  name  ) 

References m_mapStyles, and repopulate().

EV_Toolbar_Control * AP_UnixToolbar_StyleCombo::static_constructor ( EV_Toolbar pToolbar,
XAP_Toolbar_Id  id 
) [static]

Member Data Documentation

std::map<std::string, PangoFontDescription*> AP_UnixToolbar_StyleCombo::m_mapStyles [private]

Referenced by freeStyles(), and getStyle().

PangoFontDescription* AP_UnixToolbar_StyleCombo::m_pDefaultDesc [private]

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