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

Public Member Functions | |
| CFuiWindow (const char *winFilename, Tag tag, FuiEventNoticeCb handler=NULL) | |
| ~CFuiWindow (void) | |
| virtual int | Read (SStream *stream, Tag tag) |
| virtual void | ReadFinished (void) |
| virtual void | Draw (void) |
| virtual void | Draw (SSurface *surface) |
| 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 | SetPosition (int x, int y) |
| EFuiWindowState | GetState (void) |
| void | SetTitle (const char *title) |
| CFuiComponent * | GetComponent (Tag component) |
| void | GenerateEventNotice (Tag componentId, EFuiEvents event, EFuiEvents subevent) |
| void | Close () |
Static Public Member Functions | |
| static void | ParseThemeElement (const char *s) |
Protected Attributes | |
| EFuiWindowState | state |
| Internal state of the window. | |
| Tag | windowId |
| Window manager unique ID for this window. | |
| int | xWsiz |
| int | yWsiz |
| int | x1 |
| int | y1 |
| int | x2 |
| int | y2 |
| int | title |
| int | close |
| int | mini |
| int | zoom |
| int | resize |
| int | border |
| int | borderSize |
| int | move |
| EFuiLayer | layer |
| int | trns |
| int | save |
| char | winFilename [64] |
| FuiEventNoticeCb | handler |
| SBitmap * | bmBack |
| SBitmap * | bmTop |
| SBitmap * | bmBottom |
| SBitmap * | bmLeft |
| SBitmap * | bmRight |
| SBitmap * | bmTopLeft |
| SBitmap * | bmTopRight |
| SBitmap * | bmBottomLeft |
| SBitmap * | bmBottomRight |
| std::list< CFuiComponent * > | decorationList |
| std::list< CFuiComponent * > | childList |
| CFuiWindowTitle * | windowTitle |
| CFuiComponent * | btnClose |
| CFuiComponent * | btnMini |
| CFuiComponent * | btnZoom |
| int | lastX |
| int | lastY |
| Cursor position at last move update. | |
Definition at line 480 of file Fui.h.
|
||||||||||||||||
|
Definition at line 669 of file Fui.cpp. References bmBack, bmBottom, bmBottomLeft, bmBottomRight, bmLeft, bmRight, bmTop, bmTopLeft, bmTopRight, btnClose, btnMini, btnZoom, close, CloseStream(), COMPONENT_WINDOW, SStream::filename, FUI_WINDOW_INIT, globals, mini, SStream::mode, OpenStream(), SGlobals::pfs, ReadFrom(), state, CFuiComponent::surface, CFuiComponent::type, windowTitle, and zoom. |
|
|
Definition at line 706 of file Fui.cpp. References childList, decorationList, FreeSurface(), and CFuiComponent::surface. |
|
|
Definition at line 974 of file Fui.cpp. References FUI_WINDOW_CLOSED, and state. Referenced by CFuiManager::DestroyFuiWindow(), and MouseStopClick(). |
|
|
Definition at line 979 of file Fui.cpp. References childList, and decorationList. |
|
|
Reimplemented from CFuiComponent. Definition at line 993 of file Fui.cpp. References CFuiComponent::surface. Referenced by CFuiManager::Draw(). |
|
||||||||||||||||
|
Definition at line 1137 of file Fui.cpp. References handler, and windowId. Referenced by CFuiManager::GenerateEventNotice(). |
|
|
|
Definition at line 969 of file Fui.cpp. References state. Referenced by CFuiManager::Draw(). |
|
||||||||||||||||
|
Reimplemented from CFuiComponent. Definition at line 1051 of file Fui.cpp. References btnClose, btnMini, btnZoom, childList, FUI_WINDOW_MOVE, lastX, lastY, MOUSE_BUTTON_LEFT, CFuiComponent::MouseClick(), CFuiComponent::MouseHit(), state, and windowTitle. Referenced by CFuiManager::MouseClick(). |
|
||||||||||||
|
Mouse movement handler
Reimplemented from CFuiComponent. Definition at line 1023 of file Fui.cpp. References childList, FUI_WINDOW_MOVE, lastX, lastY, SetPosition(), state, CFuiComponent::x, and CFuiComponent::y. Referenced by CFuiManager::MouseMove(). |
|
||||||||||||||||
|
Reimplemented from CFuiComponent. Definition at line 1085 of file Fui.cpp. References btnClose, btnMini, btnZoom, childList, Close(), FUI_WINDOW_MOVE, FUI_WINDOW_OPEN, MOUSE_BUTTON_LEFT, CFuiComponent::MouseStopClick(), and state. Referenced by CFuiManager::MouseStopClick(). |
|
|
|
|
||||||||||||
|
Reimplemented from CFuiComponent. Definition at line 725 of file Fui.cpp. References border, borderSize, childList, close, CreateFuiComponent(), globals, layer, SGlobals::logWarning, mini, move, CFuiComponent::Read(), ReadFrom(), ReadInt(), resize, save, SkipObject(), TAG_IGNORED, TAG_READ, TagString(), title, trns, ValidFuiComponentType(), CLogFile::Write(), CFuiComponent::x, x1, x2, xWsiz, CFuiComponent::y, y1, y2, yWsiz, and zoom. |
|
|
Reimplemented from CFuiComponent. Definition at line 820 of file Fui.cpp. References bmBack, bmBottom, bmBottomLeft, bmBottomRight, bmLeft, bmRight, bmTop, bmTopLeft, bmTopRight, btnClose, btnMini, btnZoom, close, decorationList, FUI_WINDOW_OPEN, SGlobals::fuimgr, CFuiThemeWidget::GetBitmap(), GetBitmapSize(), CFuiManager::GetThemeWidget(), globals, gtfo, CFuiComponent::h, mini, CFuiPicture::SetBitmap(), CFuiWindowTitle::SetParentPosition(), CFuiComponent::SetParentPosition(), CFuiComponent::SetText(), state, TagToString(), CFuiComponent::text, title, CFuiComponent::w, CFuiComponent::widgetName, CFuiComponent::widgetTag, windowTitle, winFilename, CFuiComponent::x, xWsiz, CFuiComponent::y, yWsiz, and zoom. |
|
||||||||||||
|
Reimplemented from CFuiComponent. Definition at line 1001 of file Fui.cpp. References childList, decorationList, CFuiComponent::SetPosition(), CFuiComponent::x, and CFuiComponent::y. Referenced by MouseMove(). |
|
|
Definition at line 1116 of file Fui.cpp. References CFuiComponent::SetText(), and windowTitle. Referenced by CFuiManager::SetWindowTitle(). |
|
|
Definition at line 532 of file Fui.h. Referenced by CFuiWindow(), and ReadFinished(). |
|
|
Definition at line 534 of file Fui.h. Referenced by CFuiWindow(), and ReadFinished(). |
|
|
Definition at line 539 of file Fui.h. Referenced by CFuiWindow(), and ReadFinished(). |
|
|
Definition at line 540 of file Fui.h. Referenced by CFuiWindow(), and ReadFinished(). |
|
|
Definition at line 535 of file Fui.h. Referenced by CFuiWindow(), and ReadFinished(). |
|
|
Definition at line 536 of file Fui.h. Referenced by CFuiWindow(), and ReadFinished(). |
|
|
Definition at line 533 of file Fui.h. Referenced by CFuiWindow(), and ReadFinished(). |
|
|
Definition at line 537 of file Fui.h. Referenced by CFuiWindow(), and ReadFinished(). |
|
|
Definition at line 538 of file Fui.h. Referenced by CFuiWindow(), and ReadFinished(). |
|
|
Definition at line 522 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 523 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 546 of file Fui.h. Referenced by CFuiWindow(), MouseClick(), MouseStopClick(), and ReadFinished(). |
|
|
Definition at line 547 of file Fui.h. Referenced by CFuiWindow(), MouseClick(), MouseStopClick(), and ReadFinished(). |
|
|
Definition at line 548 of file Fui.h. Referenced by CFuiWindow(), MouseClick(), MouseStopClick(), and ReadFinished(). |
|
|
Definition at line 543 of file Fui.h. Referenced by Draw(), GetComponent(), MouseClick(), MouseMove(), MouseStopClick(), Read(), SetPosition(), and ~CFuiWindow(). |
|
|
Definition at line 518 of file Fui.h. Referenced by CFuiWindow(), Read(), and ReadFinished(). |
|
|
Definition at line 542 of file Fui.h. Referenced by Draw(), ReadFinished(), SetPosition(), and ~CFuiWindow(). |
|
|
Definition at line 530 of file Fui.h. Referenced by GenerateEventNotice(). |
|
|
Definition at line 550 of file Fui.h. Referenced by MouseClick(), and MouseMove(). |
|
|
Definition at line 550 of file Fui.h. Referenced by MouseClick(), and MouseMove(). |
|
|
Definition at line 525 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 519 of file Fui.h. Referenced by CFuiWindow(), Read(), and ReadFinished(). |
|
|
Definition at line 524 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 521 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 527 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 512 of file Fui.h. Referenced by CFuiWindow(), Close(), GetState(), MouseClick(), MouseMove(), MouseStopClick(), and ReadFinished(). |
|
|
Definition at line 517 of file Fui.h. Referenced by Read(), and ReadFinished(). |
|
|
Definition at line 526 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 513 of file Fui.h. Referenced by GenerateEventNotice(). |
|
|
Definition at line 545 of file Fui.h. Referenced by CFuiWindow(), MouseClick(), ReadFinished(), and SetTitle(). |
|
|
Definition at line 529 of file Fui.h. Referenced by ReadFinished(). |
|
|
Definition at line 516 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 516 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 515 of file Fui.h. Referenced by Read(), and ReadFinished(). |
|
|
Definition at line 516 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 516 of file Fui.h. Referenced by Read(). |
|
|
Definition at line 515 of file Fui.h. Referenced by Read(), and ReadFinished(). |
|
|
Definition at line 520 of file Fui.h. Referenced by CFuiWindow(), Read(), and ReadFinished(). |
|
|
Documentation generated by
|