#include <osdlistbtntype.h>

Definition at line 81 of file osdlistbtntype.h.
Signals | |
| void | itemSelected (OSDListTreeType *parent, OSDGenericTree *item) |
| void | itemEntered (OSDListTreeType *parent, OSDGenericTree *item) |
Public Member Functions | |
| OSDListTreeType (const QString &name, const QRect &area, const QRect &levelsize, int levelspacing, float wmult, float hmult) | |
| ~OSDListTreeType () | |
| bool | IsVisible (void) const |
| void | SetFontActive (TTFFont *font) |
| void | SetFontInactive (TTFFont *font) |
| void | SetGroupCheckState (QString group, int newState=0) |
| void | SetSpacing (uint spacing) |
| void | SetMargin (uint margin) |
| void | SetItemRegColor (const QColor &beg, const QColor &end, uint alpha) |
| void | SetItemSelColor (const QColor &beg, const QColor &end, uint alpha) |
| void | SetVisible (bool visible) |
| void | SetAsTree (OSDGenericTree *toplevel, vector< uint > *select=NULL) |
| void | Reinit (float wmult, float hmult) |
| bool | HandleKeypress (QKeyEvent *e) |
| void | Draw (OSDSurface *surface, int fade, int maxfade, int xoff, int yoff) |
Private Member Functions | |
| void | FillLevelFromTree (OSDGenericTree *item, uint levelnum) |
| OSDListBtnType * | GetLevel (uint levelnum) |
| void | EnterItem (void) |
| void | SelectItem (void) |
Private Attributes | |
| OSDGenericTree * | treetop |
| OSDGenericTree * | currentpos |
| TTFFont * | m_active |
| TTFFont * | m_inactive |
| OSDListBtnList | listLevels |
| QColor | m_itemRegBeg |
| QColor | m_itemRegEnd |
| QColor | m_itemSelBeg |
| QColor | m_itemSelEnd |
| uint | m_itemRegAlpha |
| uint | m_itemSelAlpha |
| uint | m_spacing |
| uint | m_margin |
| int | m_levelspacing |
| QRect | m_totalarea |
| QRect | m_levelsize |
| float | m_unbiasedspacing |
| float | m_unbiasedmargin |
| QRect | m_unbiasedarea |
| QRect | m_unbiasedsize |
| float | m_wmult |
| float | m_hmult |
| int | m_depth |
| int | m_levelnum |
| bool | m_visible |
| bool | m_arrowAccel |
| OSDListTreeType::OSDListTreeType | ( | const QString & | name, | |
| const QRect & | area, | |||
| const QRect & | levelsize, | |||
| int | levelspacing, | |||
| float | wmult, | |||
| float | hmult | |||
| ) |
Definition at line 44 of file osdlistbtntype.cpp.
| OSDListTreeType::~OSDListTreeType | ( | ) |
Definition at line 70 of file osdlistbtntype.cpp.
| bool OSDListTreeType::IsVisible | ( | void | ) | const [inline] |
| void OSDListTreeType::SetFontActive | ( | TTFFont * | font | ) | [inline] |
Definition at line 92 of file osdlistbtntype.h.
Referenced by OSD::InitMenu(), and OSD::parseListTree().
| void OSDListTreeType::SetFontInactive | ( | TTFFont * | font | ) | [inline] |
Definition at line 93 of file osdlistbtntype.h.
Referenced by OSD::InitMenu(), and OSD::parseListTree().
| void OSDListTreeType::SetGroupCheckState | ( | QString | group, | |
| int | newState = 0 | |||
| ) |
| void OSDListTreeType::SetSpacing | ( | uint | spacing | ) | [inline] |
Definition at line 96 of file osdlistbtntype.h.
Referenced by OSD::InitMenu(), and OSD::parseListTree().
| void OSDListTreeType::SetMargin | ( | uint | margin | ) | [inline] |
Definition at line 98 of file osdlistbtntype.h.
Referenced by OSD::InitMenu(), and OSD::parseListTree().
| void OSDListTreeType::SetItemRegColor | ( | const QColor & | beg, | |
| const QColor & | end, | |||
| uint | alpha | |||
| ) | [inline] |
Definition at line 100 of file osdlistbtntype.h.
Referenced by OSD::InitMenu(), and OSD::parseListTree().
| void OSDListTreeType::SetItemSelColor | ( | const QColor & | beg, | |
| const QColor & | end, | |||
| uint | alpha | |||
| ) | [inline] |
Definition at line 102 of file osdlistbtntype.h.
Referenced by OSD::InitMenu(), and OSD::parseListTree().
| void OSDListTreeType::SetVisible | ( | bool | visible | ) | [inline] |
Definition at line 104 of file osdlistbtntype.h.
Referenced by OSD::ShowTreeMenu(), and TV::TreeMenuSelected().
| void OSDListTreeType::SetAsTree | ( | OSDGenericTree * | toplevel, | |
| vector< uint > * | select = NULL | |||
| ) |
| void OSDListTreeType::Reinit | ( | float | wmult, | |
| float | hmult | |||
| ) | [virtual] |
| bool OSDListTreeType::HandleKeypress | ( | QKeyEvent * | e | ) |
| void OSDListTreeType::Draw | ( | OSDSurface * | surface, | |
| int | fade, | |||
| int | maxfade, | |||
| int | xoff, | |||
| int | yoff | |||
| ) | [virtual] |
| void OSDListTreeType::itemSelected | ( | OSDListTreeType * | parent, | |
| OSDGenericTree * | item | |||
| ) | [signal] |
Referenced by SelectItem().
| void OSDListTreeType::itemEntered | ( | OSDListTreeType * | parent, | |
| OSDGenericTree * | item | |||
| ) | [signal] |
Referenced by EnterItem().
| void OSDListTreeType::FillLevelFromTree | ( | OSDGenericTree * | item, | |
| uint | levelnum | |||
| ) | [private] |
| OSDListBtnType * OSDListTreeType::GetLevel | ( | uint | levelnum | ) | [private] |
Definition at line 301 of file osdlistbtntype.cpp.
Referenced by FillLevelFromTree(), HandleKeypress(), and SetAsTree().
| void OSDListTreeType::EnterItem | ( | void | ) | [private] |
| void OSDListTreeType::SelectItem | ( | void | ) | [private] |
OSDGenericTree* OSDListTreeType::treetop [private] |
OSDGenericTree* OSDListTreeType::currentpos [private] |
Definition at line 122 of file osdlistbtntype.h.
Referenced by EnterItem(), HandleKeypress(), SelectItem(), and SetAsTree().
TTFFont* OSDListTreeType::m_active [private] |
TTFFont* OSDListTreeType::m_inactive [private] |
OSDListBtnList OSDListTreeType::listLevels [private] |
Definition at line 126 of file osdlistbtntype.h.
Referenced by Draw(), EnterItem(), GetLevel(), HandleKeypress(), Reinit(), SetAsTree(), SetGroupCheckState(), and ~OSDListTreeType().
QColor OSDListTreeType::m_itemRegBeg [private] |
QColor OSDListTreeType::m_itemRegEnd [private] |
QColor OSDListTreeType::m_itemSelBeg [private] |
QColor OSDListTreeType::m_itemSelEnd [private] |
uint OSDListTreeType::m_itemRegAlpha [private] |
uint OSDListTreeType::m_itemSelAlpha [private] |
uint OSDListTreeType::m_spacing [private] |
Definition at line 135 of file osdlistbtntype.h.
Referenced by Reinit(), SetAsTree(), and SetSpacing().
uint OSDListTreeType::m_margin [private] |
Definition at line 136 of file osdlistbtntype.h.
Referenced by Reinit(), SetAsTree(), and SetMargin().
int OSDListTreeType::m_levelspacing [private] |
QRect OSDListTreeType::m_totalarea [private] |
QRect OSDListTreeType::m_levelsize [private] |
float OSDListTreeType::m_unbiasedspacing [private] |
float OSDListTreeType::m_unbiasedmargin [private] |
QRect OSDListTreeType::m_unbiasedarea [private] |
QRect OSDListTreeType::m_unbiasedsize [private] |
float OSDListTreeType::m_wmult [private] |
Definition at line 147 of file osdlistbtntype.h.
Referenced by OSDListTreeType(), Reinit(), SetAsTree(), SetMargin(), and SetSpacing().
float OSDListTreeType::m_hmult [private] |
Definition at line 148 of file osdlistbtntype.h.
Referenced by OSDListTreeType(), Reinit(), and SetAsTree().
int OSDListTreeType::m_depth [private] |
int OSDListTreeType::m_levelnum [private] |
Definition at line 151 of file osdlistbtntype.h.
Referenced by EnterItem(), HandleKeypress(), Reinit(), and SetAsTree().
bool OSDListTreeType::m_visible [private] |
Definition at line 152 of file osdlistbtntype.h.
Referenced by HandleKeypress(), IsVisible(), and SetVisible().
bool OSDListTreeType::m_arrowAccel [private] |
1.5.5