#include <box.h>
Inherits Widget.
Inheritance diagram for Box:
Public Member Functions | |
Box (Monitor *monitor, Rectangle *rect, string text) | |
~Box () | |
void | setText (string text) |
void | illuminate () |
Private Attributes | |
Label * | label_ |
Theme * | theme_ |
Definition at line 23 of file box.h.
Definition at line 14 of file box.cpp.
References Label::CENTER, Widget::gc(), Rectangle::height(), label_, Widget::monitor(), Rectangle::setHeight(), setText(), Rectangle::setX(), Rectangle::setY(), Monitor::theme(), theme_, and Widget::window().
Here is the call graph for this function:
void Box::setText | ( | string | text | ) |
Definition at line 29 of file box.cpp.
References Label::adjustWidth(), label_, Widget::monitor(), Widget::resize(), Label::setText(), Rectangle::setWidth(), Rectangle::setX(), and Rectangle::width().
Referenced by Box(), and Binder::handleShortcutChains().
Here is the call graph for this function:
void Box::illuminate | ( | ) |
Definition at line 37 of file box.cpp.
References Theme::BAR_SHADOW, Theme::BAR_SHINE, Draw::drawRectBorder(), Widget::gc(), Rectangle::height(), Widget::isVisible(), label_, Theme::TAB_BACKGROUND_ACTIVE_FOCUSSED, Theme::TAB_SHADOW_ACTIVE_FOCUSSED, Theme::TAB_SHINE_ACTIVE_FOCUSSED, Theme::TAB_TEXT_ACTIVE_FOCUSSED, theme_, Label::update(), Rectangle::width(), Widget::window(), and XCORE.
Referenced by Binder::handleShortcutChains().
Here is the call graph for this function:
Label* Box::label_ [private] |
Theme* Box::theme_ [private] |