#include <Fui.h>
Inheritance diagram for CFuiComponent:

Public Member Functions | |
| CFuiComponent (int x=0, int y=0, int w=0, int h=0, Tag window=0) | |
| virtual | ~CFuiComponent (void) |
| virtual int | Read (SStream *stream, Tag tag) |
| virtual void | ReadFinished (void) |
| bool | IsType (EFuiComponentTypes type) |
| virtual void | SetParentWindowId (Tag parentWindowId) |
| Tag | GetId (void) |
| void | Show (void) |
| void | Hide (void) |
| void | Enable (void) |
| void | Disable (void) |
| char * | GetText (void) |
| virtual void | SetText (const char *text) |
| virtual void | SetPosition (int x, int y) |
| virtual void | SetParentPosition (int xParent, int yParent) |
| virtual void | SetSize (int w, int h) |
| virtual void | SetPositionSize (int x, int y, int w, int h) |
| virtual bool | MouseHit (int x, int y) |
| virtual bool | MouseMove (int x, int y) |
| virtual bool | MouseClick (int x, int y, EMouseButton button) |
| virtual bool | MouseStopClick (int x, int y, EMouseButton button) |
| virtual void | Draw (void) |
Protected Member Functions | |
| void | MakeSurface (void) |
Protected Attributes | |
| Tag | parentWindowId |
| Parent window of this component. | |
| EFuiComponentTypes | type |
| Tag | id |
| int | bind |
| char | widgetName [64] |
| Tag | widgetTag |
| char | text [256] |
| int | xParent |
| int | yParent |
| int | x |
| int | y |
| int | w |
| int | h |
| int | enable |
| int | show |
| Tag | fontTag |
| SFont * | font |
| SSurface * | surface |
Definition at line 222 of file Fui.h.
|
||||||||||||||||||||||||
|
Definition at line 79 of file Fui.cpp. References bind, enable, font, fontTag, parentWindowId, show, surface, text, type, widgetName, widgetTag, xParent, and yParent. |
|
|
|
|
|
Definition at line 240 of file Fui.h. References enable. |
|
|
Reimplemented in CFuiPicture, CFuiButton, CFuiWindowTitle, CFuiCloseButton, CFuiMinimizeButton, CFuiZoomButton, CFuiWindow, CFuiPopupMenu, CFuiCheckbox, CFuiRadioButton, CFuiLabel, CFuiLine, CFuiBox, CFuiSlider, CFuiGroupBox, CFuiList, CFuiTextField, and CFuiGraph. Definition at line 261 of file Fui.cpp. References SSurface::drawBuffer, show, surface, SSurface::xScreen, SSurface::xSize, SSurface::yScreen, and SSurface::ySize. Referenced by CFuiManager::Draw(), CFuiLabel::Draw(), CFuiRadioButton::Draw(), CFuiCheckbox::Draw(), CFuiPopupMenu::Draw(), CFuiButton::Draw(), and CFuiWindowTitle::Draw(). |
|
|
Definition at line 239 of file Fui.h. References enable. |
|
|
Definition at line 236 of file Fui.h. References id. |
|
|
Reimplemented in CFuiTextField. Definition at line 241 of file Fui.h. References text. |
|
|
Definition at line 238 of file Fui.h. References show. |
|
|
|
Definition at line 196 of file Fui.cpp. References CreateSurface(), EraseSurface(), h, surface, w, x, xParent, SSurface::xScreen, y, yParent, and SSurface::yScreen. Referenced by ReadFinished(), and CFuiPicture::SetBitmap(). |
|
||||||||||||||||
|
Reimplemented in CFuiButton, CFuiCloseButton, CFuiMinimizeButton, CFuiZoomButton, CFuiWindow, CFuiCheckbox, CFuiRadioButton, and CFuiGroupBox. Definition at line 290 of file Fui.cpp. Referenced by CFuiWindow::MouseClick(). |
|
||||||||||||
|
Definition at line 276 of file Fui.cpp. References h, x, xParent, y, and yParent. Referenced by CFuiRadioButton::MouseClick(), CFuiCheckbox::MouseClick(), CFuiButton::MouseClick(), CFuiWindow::MouseClick(), CFuiZoomButton::MouseClick(), CFuiMinimizeButton::MouseClick(), CFuiCloseButton::MouseClick(), CFuiButton::MouseMove(), CFuiZoomButton::MouseMove(), CFuiMinimizeButton::MouseMove(), CFuiCloseButton::MouseMove(), CFuiRadioButton::MouseStopClick(), and CFuiCheckbox::MouseStopClick(). |
|
||||||||||||
|
Reimplemented in CFuiButton, CFuiCloseButton, CFuiMinimizeButton, CFuiZoomButton, CFuiWindow, and CFuiGroupBox. |
|
||||||||||||||||
|
Reimplemented in CFuiButton, CFuiCloseButton, CFuiMinimizeButton, CFuiZoomButton, CFuiWindow, CFuiCheckbox, CFuiRadioButton, and CFuiGroupBox. Definition at line 296 of file Fui.cpp. Referenced by CFuiWindow::MouseStopClick(). |
|
||||||||||||
|
Reimplemented from CStreamObject. Reimplemented in CFuiPicture, CFuiButton, CFuiWindow, CFuiPopupMenu, CFuiCheckbox, CFuiRadioButton, CFuiLabel, CFuiLine, CFuiBox, CFuiSlider, CFuiGroupBox, CFuiList, CFuiTextField, and CFuiGraph. Definition at line 120 of file Fui.cpp. References bind, enable, font, fontTag, globals, h, SGlobals::logWarning, ReadInt(), ReadString(), ReadTag(), show, TAG_IGNORED, TAG_READ, TagString(), text, w, widgetName, widgetTag, CLogFile::Write(), x, and y. Referenced by CFuiTextField::Read(), CFuiLabel::Read(), CFuiRadioButton::Read(), CFuiCheckbox::Read(), CFuiButton::Read(), and CFuiWindow::Read(). |
|
|
Reimplemented from CStreamObject. Reimplemented in CFuiPicture, CFuiButton, CFuiWindow, CFuiPopupMenu, CFuiCheckbox, CFuiRadioButton, CFuiLabel, CFuiLine, CFuiBox, CFuiSlider, CFuiGroupBox, CFuiList, and CFuiTextField. Definition at line 179 of file Fui.cpp. References font, fontTag, FuiFont(), and MakeSurface(). Referenced by CFuiTextField::ReadFinished(), CFuiLabel::ReadFinished(), CFuiRadioButton::ReadFinished(), CFuiCheckbox::ReadFinished(), CFuiPopupMenu::ReadFinished(), and CFuiButton::ReadFinished(). |
|
||||||||||||
|
Reimplemented in CFuiButton, CFuiWindowTitle, CFuiCloseButton, CFuiMinimizeButton, CFuiZoomButton, CFuiPopupMenu, CFuiSlider, CFuiGroupBox, CFuiList, and CFuiTextField. Definition at line 228 of file Fui.cpp. References surface, x, SSurface::xScreen, y, and SSurface::yScreen. Referenced by CFuiTextField::ReadFinished(), CFuiPopupMenu::ReadFinished(), CFuiWindow::ReadFinished(), CFuiPopupMenu::SetParentPosition(), CFuiButton::SetParentPosition(), CFuiZoomButton::SetParentPosition(), CFuiMinimizeButton::SetParentPosition(), CFuiCloseButton::SetParentPosition(), and CFuiWindowTitle::SetParentPosition(). |
|
|
|
|
||||||||||||
|
Reimplemented in CFuiWindow. Definition at line 212 of file Fui.cpp. References globals, SGlobals::screenHeight, SGlobals::screenWidth, surface, xParent, SSurface::xScreen, yParent, and SSurface::yScreen. Referenced by CFuiManager::CFuiManager(), CFuiWindow::SetPosition(), and SetPositionSize(). |
|
||||||||||||||||||||
|
Definition at line 255 of file Fui.cpp. References SetPosition(), and SetSize(). Referenced by CFuiWindowTitle::Fill(). |
|
||||||||||||
|
Definition at line 239 of file Fui.cpp. References CreateSurface(), FreeSurface(), surface, x, xParent, y, and yParent. Referenced by SetPositionSize(). |
|
|
Reimplemented in CFuiTextPopup. Definition at line 204 of file Fui.cpp. Referenced by CFuiWindow::ReadFinished(), CFuiManager::SetComponentText(), CFuiManager::SetGroupBoxLabel(), CFuiManager::SetSliderLabel(), and CFuiWindow::SetTitle(). |
|
|
Definition at line 237 of file Fui.h. References show. |
|
|
Definition at line 263 of file Fui.h. Referenced by CFuiComponent(), and Read(). |
|
|
Definition at line 270 of file Fui.h. Referenced by CFuiComponent(), Disable(), Enable(), and Read(). |
|
|
Definition at line 273 of file Fui.h. Referenced by CFuiComponent(), CFuiWindowTitle::CFuiWindowTitle(), CFuiGroupBox::Draw(), CFuiTextField::Draw(), CFuiLabel::Draw(), CFuiRadioButton::Draw(), CFuiCheckbox::Draw(), CFuiPopupMenu::Draw(), CFuiButton::Draw(), CFuiWindowTitle::Draw(), Read(), and ReadFinished(). |
|
|
Definition at line 272 of file Fui.h. Referenced by CFuiComponent(), Read(), and ReadFinished(). |
|
|
Definition at line 269 of file Fui.h. Referenced by CFuiSlider::Draw(), CFuiLine::Draw(), CFuiWindowTitle::Draw(), CFuiWindowTitle::Fill(), MakeSurface(), MouseHit(), Read(), CFuiTextField::ReadFinished(), and CFuiWindow::ReadFinished(). |
|
|
Definition at line 262 of file Fui.h. Referenced by GetId(). |
|
|
Definition at line 259 of file Fui.h. Referenced by CFuiComponent(), CFuiRadioButton::MouseStopClick(), CFuiCheckbox::MouseStopClick(), and CFuiButton::MouseStopClick(). |
|
|
Definition at line 271 of file Fui.h. Referenced by CFuiComponent(), Draw(), Hide(), Read(), and Show(). |
|
|
|
Definition at line 266 of file Fui.h. Referenced by CFuiComponent(), CFuiLabel::Draw(), CFuiRadioButton::Draw(), CFuiCheckbox::Draw(), CFuiButton::Draw(), CFuiWindowTitle::Draw(), GetText(), Read(), and CFuiWindow::ReadFinished(). |
|
|
|
Definition at line 269 of file Fui.h. Referenced by CFuiSlider::Draw(), CFuiLine::Draw(), CFuiLabel::Draw(), CFuiWindowTitle::Draw(), CFuiWindowTitle::Fill(), MakeSurface(), Read(), CFuiTextField::ReadFinished(), CFuiPopupMenu::ReadFinished(), and CFuiWindow::ReadFinished(). |
|
|
|
|
|
Definition at line 267 of file Fui.h. Referenced by CFuiComponent(), MakeSurface(), MouseHit(), SetPosition(), and SetSize(). |
|
|
|
Definition at line 267 of file Fui.h. Referenced by CFuiComponent(), MakeSurface(), MouseHit(), SetPosition(), and SetSize(). |
|
|
Documentation generated by
|