You can inherit from this class to customize the appearance of IFM components.
Public Member Functions | |
virtual void | render_background (Component *component, DeviceContext &dc) |
virtual void | render_border (Component *component, DeviceContext &dc) |
virtual void | render_button (const CaptionButton &button, DeviceContext &dc) |
virtual void | render_caption (TabbedContainer *component, DeviceContext &dc) |
virtual void | render_tab (TabbedContainer *component, const Font &font, int selectedIdx, int tabIdx, const Tab &tab, DeviceContext &dc) |
virtual void | render_tabs (TabbedContainer *component, const std::vector< Tab > &tabs, DeviceContext &dc) |
virtual void | render_tabs_line (TabbedContainer *pc, DeviceContext &context, int selTabX1, int selTabX2) |
Renderer () | |
virtual | ~Renderer () |
ifm::Renderer::Renderer | ( | ) |
ifm::Renderer::~Renderer | ( | ) | [virtual] |
void ifm::Renderer::render_background | ( | Component * | component, | |
DeviceContext & | dc | |||
) | [virtual] |
Renders a background for the given component.
void ifm::Renderer::render_border | ( | Component * | component, | |
DeviceContext & | dc | |||
) | [virtual] |
Renders a border.
void ifm::Renderer::render_button | ( | const CaptionButton & | button, | |
DeviceContext & | dc | |||
) | [virtual] |
Renders a CaptionButton
void ifm::Renderer::render_caption | ( | TabbedContainer * | component, | |
DeviceContext & | dc | |||
) | [virtual] |
Renders a caption for the given tabbed container.
void ifm::Renderer::render_tab | ( | TabbedContainer * | component, | |
const Font & | font, | |||
int | selectedIdx, | |||
int | tabIdx, | |||
const Tab & | tab, | |||
DeviceContext & | dc | |||
) | [virtual] |
void ifm::Renderer::render_tabs | ( | TabbedContainer * | component, | |
const std::vector< Tab > & | tabs, | |||
DeviceContext & | dc | |||
) | [virtual] |
Renders tabs
void ifm::Renderer::render_tabs_line | ( | TabbedContainer * | pc, | |
DeviceContext & | context, | |||
int | selTabX1, | |||
int | selTabX2 | |||
) | [virtual] |