ManaPlus
|
#include <widget2.h>
Public Member Functions | |
virtual | ~Widget2 () |
const Color & | getThemeColor (const ThemeColorIdT type, const unsigned int alpha) const A_INLINE |
const Color & | getThemeCharColor (const signed char c, bool &valid) const A_INLINE |
virtual void | setWidget2 (const Widget2 *const widget) |
void | setPalette (int palette) |
void | checkPalette () |
void | setForegroundColor2 (const Color &color) |
Widget * | getWindow () const |
virtual void | setWindow (Widget *const window) |
Protected Member Functions | |
Widget2 (const Widget2 *const widget) | |
Protected Attributes | |
int | mPaletteOffset |
Widget * | mWindow |
Color | mForegroundColor2 |
|
inlineexplicitprotected |
|
inline |
Definition at line 77 of file widget2.h.
References CAST_S32, mPaletteOffset, and THEME_PALETTES.
Referenced by setPalette(), and Widget2().
|
inline |
Definition at line 52 of file widget2.h.
References Palette::BLACK, Theme::getColor(), Theme::getIdByChar(), mPaletteOffset, theme, and anonymous_namespace{libxml.cpp}::valid.
Referenced by BrowserBox::calcHeight(), and StaticBrowserBox::updateHeight().
|
inline |
Definition at line 45 of file widget2.h.
References Theme::getColor(), mPaletteOffset, and theme.
Referenced by BeingPopup::addLabels(), AvatarListBox::AvatarListBox(), BrowserBox::BrowserBox(), CheckBox::CheckBox(), TradeWindow::clear(), MiniStatusWindow::createBar(), Desktop::Desktop(), TextPreview::draw(), DropDown::DropDown(), GuiTable::GuiTable(), Label::init(), InventoryWindow::InventoryWindow(), ItemPopup::ItemPopup(), ListBox::ListBox(), OutfitWindow::OutfitWindow(), TextBoxPopup::postInit(), TextPopup::postInit(), ProgressBar::ProgressBar(), RadioButton::RadioButton(), TradeWindow::reset(), ServersListBox::ServersListBox(), ItemPopup::setLabelColor(), TradeWindow::setMoney(), EmoteShortcutContainer::setSkin(), ItemShortcutContainer::setSkin(), SpellShortcutContainer::setSkin(), VirtShortcutContainer::setSkin(), SpeechBubble::setText(), Setup_Relations::Setup_Relations(), ShopListBox::ShopListBox(), ShortcutContainer::ShortcutContainer(), BeingPopup::show(), SkillListBox::SkillListBox(), SkillPopup::SkillPopup(), SocialGuildTab::SocialGuildTab(), SocialGuildTab2::SocialGuildTab2(), SocialPartyTab::SocialPartyTab(), SpeechBubble::SpeechBubble(), SpellPopup::SpellPopup(), StaticBrowserBox::StaticBrowserBox(), StatusWindow::StatusWindow(), TextBox::TextBox(), TextField::TextField(), StatusWindow::updateMPBar(), StatusWindow::updateStatusBar(), and Window::Window().
|
inline |
|
inline |
Definition at line 87 of file widget2.h.
References mForegroundColor2.
|
inline |
Definition at line 69 of file widget2.h.
References CAST_S32, checkPalette(), mPaletteOffset, and setWidget2().
Referenced by Popup::Popup(), and Window::Window().
|
inlinevirtual |
Definition at line 64 of file widget2.h.
References mPaletteOffset.
Referenced by setPalette(), and ShortcutContainer::setSkin().
|
inlinevirtual |
Reimplemented in TextField, RadioButton, Label, CheckBox, and Button.
Definition at line 97 of file widget2.h.
References mWindow.
Referenced by Button::setWindow(), CheckBox::setWindow(), Label::setWindow(), RadioButton::setWindow(), TextField::setWindow(), and GuiTableActionListener::~GuiTableActionListener().
|
protected |
Definition at line 113 of file widget2.h.
Referenced by AvatarListBox::AvatarListBox(), BrowserBox::BrowserBox(), BrowserBox::calcHeight(), CheckBox::CheckBox(), CheckBox::draw(), DropDown::draw(), ExtendedListBox::draw(), Label::draw(), ListBox::draw(), ProgressBar::draw(), RadioButton::draw(), ServersListBox::draw(), ShopListBox::draw(), SpellShortcutContainer::draw(), TextBox::draw(), TextField::draw(), Window::draw(), DropDown::DropDown(), Label::init(), ListBox::ListBox(), ProgressBar::ProgressBar(), RadioButton::RadioButton(), ProgressBar::safeDraw(), SpellShortcutContainer::safeDraw(), Window::safeDraw(), ProgressBar::setColor(), Label::setForegroundColor(), TextBox::setForegroundColor(), setForegroundColor2(), BrowserBox::setForegroundColorAll(), Label::setForegroundColorAll(), StaticBrowserBox::setForegroundColorAll(), TextBox::setForegroundColorAll(), EmoteShortcutContainer::setSkin(), ItemShortcutContainer::setSkin(), SpellShortcutContainer::setSkin(), ShortcutContainer::ShortcutContainer(), StaticBrowserBox::StaticBrowserBox(), TextField::TextField(), StaticBrowserBox::updateHeight(), and Window::Window().
|
protected |
Definition at line 111 of file widget2.h.
Referenced by checkPalette(), getThemeCharColor(), getThemeColor(), setPalette(), and setWidget2().
|
protected |
Definition at line 112 of file widget2.h.
Referenced by getWindow(), Popup::Popup(), Label::setParent(), Button::setParent(), CheckBox::setParent(), RadioButton::setParent(), TextField::setParent(), Button::setWindow(), CheckBox::setWindow(), Label::setWindow(), RadioButton::setWindow(), TextField::setWindow(), setWindow(), Window::Window(), Button::~Button(), CheckBox::~CheckBox(), Label::~Label(), Pincode::~Pincode(), RadioButton::~RadioButton(), and TextField::~TextField().