#include <Panels.h>
Inheritance diagram for CPanel:

Public Member Functions | |
| CPanel (Tag id, const char *filename) | |
| ~CPanel (void) | |
| virtual int | Read (SStream *stream, Tag tag) |
| virtual void | ReadFinished (void) |
| Tag | GetId (void) |
| void | Draw (void) |
| void | Activate (void) |
| void | Deactivate (void) |
| void | CreepUp (void) |
| void | CreepDown (void) |
| void | CreepLeft (void) |
| void | CreepRight (void) |
| bool | GaugeHit (int mouseX, int mouseY, int &i, CGauge **gptr, int &x, int &y) |
| void | GaugeMouseClick (int mouseX, int mouseY) |
| void | GaugeTrackClick (int mouseX, int mouseY) |
| void | GaugeStopClick (int mouseX, int mouseY) |
| void | MouseMotion (int x, int y) |
| void | MouseClick (int button, int updown, int x, int y) |
| void | ScrollUp (void) |
| void | ScrollDown (void) |
| void | ScrollLeft (void) |
| void | ScrollRight (void) |
| void | Home (void) |
| void | PageUp (void) |
| void | PageDown (void) |
Protected Attributes | |
| Tag | id |
| char | filename [64] |
| EPanelType | type |
| char | panl [64] |
| int | x_3Dxy |
| int | y_3Dxy |
| int | x_3Dsz |
| int | y_3Dsz |
| int | x_isiz |
| int | y_isiz |
| std::map< int, int > | hoff |
| std::map< int, SPanelOffset > | home |
| bool | keep |
| bool | scrl |
| bool | clao |
| Tag | dlid |
| SBitmap | bmPanl |
| std::vector< CGauge * > | gage |
| SSurface * | surface |
| int | xScreen |
| int | yScreen |
| int | xOffset |
| int | yOffset |
| int | xMinLimit |
| int | xMaxLimit |
| int | yMinLimit |
| int | yMaxLimit |
| bool | creep_up |
| bool | creep_down |
| bool | creep_left |
| bool | creep_right |
| EClickResult | track |
| int | buttonsDown |
| int | sfx_source |
Definition at line 61 of file Panels.h.
|
||||||||||||
|
Definition at line 48 of file Panels.cpp. References bmPanl, buttonsDown, CloseStream(), creep_down, creep_left, creep_right, creep_up, SStream::filename, globals, keep, SStream::mode, MOUSE_TRACKING_OFF, OpenStream(), PANEL_INTERACTIVE, PANEL_STATIC, ReadFrom(), SGlobals::screenHeight, SGlobals::screenWidth, surface, track, type, x_3Dsz, x_3Dxy, x_isiz, xOffset, xScreen, y_3Dsz, y_3Dxy, y_isiz, yOffset, and yScreen. |
|
|
Definition at line 108 of file Panels.cpp. References bmPanl, FreeBitmap(), FreeSurface(), gage, and surface. |
|
|
Definition at line 1338 of file Panels.cpp. References SBitmap::bitmap, SBitmap::bitmapName, bmPanl, CreateSurface(), DrawBitmap(), EraseSurface(), LoadBitmap(), panl, surface, x_isiz, and y_isiz. Referenced by ReadFinished(), and CCockpitManager::SetPanel(). |
|
|
Definition at line 1381 of file Panels.cpp. References globals, SGlobals::panelCreepStep, scrl, yMaxLimit, and yOffset. Referenced by Draw(). |
|
|
Definition at line 1390 of file Panels.cpp. References globals, SGlobals::panelCreepStep, scrl, xMinLimit, and xOffset. Referenced by Draw(). |
|
|
Definition at line 1399 of file Panels.cpp. References globals, SGlobals::panelCreepStep, scrl, xMaxLimit, and xOffset. Referenced by Draw(). |
|
|
Definition at line 1372 of file Panels.cpp. References globals, SGlobals::panelCreepStep, scrl, yMinLimit, and yOffset. Referenced by Draw(). |
|
|
Definition at line 1362 of file Panels.cpp. References bmPanl, FreeBitmap(), FreeSurface(), keep, and surface. Referenced by CCockpitManager::SetPanel(). |
|
|
Definition at line 1658 of file Panels.cpp. References CGauge::Blit(), BlitTransparent(), creep_down, creep_left, creep_right, creep_up, CreepDown(), CreepLeft(), CreepRight(), CreepUp(), CGauge::Draw(), gage, CGauge::GetSize(), globals, gtfo, SGlobals::screenHeight, SGlobals::screenWidth, surface, xOffset, y_isiz, and yOffset. Referenced by CCockpitManager::Draw(). |
|
||||||||||||||||||||||||||||
|
Definition at line 1408 of file Panels.cpp. References gage, CGauge::GetSize(), globals, SGlobals::screenHeight, xOffset, y_isiz, and yOffset. Referenced by GaugeMouseClick(), GaugeStopClick(), GaugeTrackClick(), and MouseMotion(). |
|
||||||||||||
|
Definition at line 1437 of file Panels.cpp. References buttonsDown, GaugeHit(), CGauge::MouseClick(), and track. Referenced by MouseClick(). |
|
||||||||||||
|
Definition at line 1457 of file Panels.cpp. References buttonsDown, GaugeHit(), CGauge::StopClick(), and track. Referenced by MouseClick(). |
|
||||||||||||
|
Definition at line 1447 of file Panels.cpp. References buttonsDown, GaugeHit(), track, and CGauge::TrackClick(). |
|
|
Definition at line 1649 of file Panels.cpp. References id. Referenced by CCockpitManager::GetPanel(). |
|
|
Definition at line 1609 of file Panels.cpp. References hoff, home, x_3Dxy, xOffset, xScreen, y_3Dxy, and yOffset. Referenced by ReadFinished(). |
|
||||||||||||||||||||
|
todo Handle multiple button presses Definition at line 1511 of file Panels.cpp. References buttonsDown, GaugeMouseClick(), GaugeStopClick(), MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE, MOUSE_BUTTON_RIGHT, MOUSE_TRACKING_ON, and track. Referenced by mouse(). |
|
||||||||||||
|
Definition at line 1467 of file Panels.cpp. References buttonsDown, creep_down, creep_left, creep_right, creep_up, SGlobals::crsrArrow, CURSOR_NOT_CHANGED, SGlobals::cursormgr, GaugeHit(), globals, CGauge::MouseMoved(), SGlobals::mouseScrollingEnabled, SGlobals::screenHeight, SGlobals::screenWidth, CCursorManager::SetCursor(), track, and CGauge::TrackClick(). Referenced by motion(), and passive_motion(). |
|
|
Definition at line 1643 of file Panels.cpp. |
|
|
Definition at line 1637 of file Panels.cpp. |
|
||||||||||||
|
|
Reimplemented from CStreamObject. Definition at line 1293 of file Panels.cpp. References Activate(), globals, Home(), keep, SGlobals::screenHeight, SGlobals::screenWidth, x_3Dsz, xMaxLimit, xMinLimit, xOffset, y_3Dsz, y_3Dxy, y_isiz, yMaxLimit, yMinLimit, and yOffset. |
|
|
Definition at line 1579 of file Panels.cpp. References globals, SGlobals::panelScrollStep, scrl, yMaxLimit, and yOffset. Referenced by KeyCameraCockpitScrollDown(). |
|
|
Definition at line 1588 of file Panels.cpp. References globals, SGlobals::panelScrollStep, scrl, xMinLimit, and xOffset. Referenced by KeyCameraCockpitScrollLeft(). |
|
|
Definition at line 1597 of file Panels.cpp. References globals, SGlobals::panelScrollStep, scrl, xMaxLimit, and xOffset. Referenced by KeyCameraCockpitScrollRight(). |
|
|
Definition at line 1570 of file Panels.cpp. References globals, SGlobals::panelScrollStep, scrl, yMinLimit, and yOffset. Referenced by KeyCameraCockpitScrollUp(). |
|
|
Definition at line 114 of file Panels.h. Referenced by Activate(), CPanel(), Deactivate(), and ~CPanel(). |
|
|
Definition at line 130 of file Panels.h. Referenced by CPanel(), GaugeMouseClick(), GaugeStopClick(), GaugeTrackClick(), MouseClick(), and MouseMotion(). |
|
|
Definition at line 111 of file Panels.h. Referenced by Read(). |
|
|
Definition at line 126 of file Panels.h. Referenced by CPanel(), Draw(), and MouseMotion(). |
|
|
Definition at line 126 of file Panels.h. Referenced by CPanel(), Draw(), and MouseMotion(). |
|
|
Definition at line 126 of file Panels.h. Referenced by CPanel(), Draw(), and MouseMotion(). |
|
|
Definition at line 126 of file Panels.h. Referenced by CPanel(), Draw(), and MouseMotion(). |
|
|
Definition at line 112 of file Panels.h. Referenced by Read(). |
|
|
|
|
|
Definition at line 116 of file Panels.h. Referenced by Draw(), GaugeHit(), Read(), and ~CPanel(). |
|
|
|
|
|
|
|
|
Definition at line 96 of file Panels.h. Referenced by GetId(). |
|
|
Definition at line 109 of file Panels.h. Referenced by CPanel(), Deactivate(), Read(), and ReadFinished(). |
|
|
Definition at line 101 of file Panels.h. Referenced by Activate(), and Read(). |
|
|
Definition at line 110 of file Panels.h. Referenced by CreepDown(), CreepLeft(), CreepRight(), CreepUp(), Read(), ScrollDown(), ScrollLeft(), ScrollRight(), and ScrollUp(). |
|
|
|
|
|
Definition at line 118 of file Panels.h. Referenced by Activate(), CPanel(), Deactivate(), Draw(), and ~CPanel(). |
|
|
Definition at line 129 of file Panels.h. Referenced by CPanel(), GaugeMouseClick(), GaugeStopClick(), GaugeTrackClick(), MouseClick(), and MouseMotion(). |
|
|
|
|
|
Definition at line 103 of file Panels.h. Referenced by CPanel(), Read(), and ReadFinished(). |
|
|
|
|
|
Definition at line 104 of file Panels.h. Referenced by Activate(), CPanel(), and Read(). |
|
|
Definition at line 122 of file Panels.h. Referenced by CreepRight(), ReadFinished(), and ScrollRight(). |
|
|
Definition at line 122 of file Panels.h. Referenced by CreepLeft(), ReadFinished(), and ScrollLeft(). |
|
|
Definition at line 120 of file Panels.h. Referenced by CPanel(), CreepLeft(), CreepRight(), Draw(), GaugeHit(), Home(), ReadFinished(), ScrollLeft(), and ScrollRight(). |
|
|
|
|
|
Definition at line 103 of file Panels.h. Referenced by CPanel(), Read(), and ReadFinished(). |
|
|
Definition at line 102 of file Panels.h. Referenced by CPanel(), Home(), Read(), and ReadFinished(). |
|
|
Definition at line 104 of file Panels.h. Referenced by Activate(), CPanel(), Draw(), GaugeHit(), Read(), and ReadFinished(). |
|
|
Definition at line 122 of file Panels.h. Referenced by CreepDown(), ReadFinished(), and ScrollDown(). |
|
|
Definition at line 122 of file Panels.h. Referenced by CreepUp(), ReadFinished(), and ScrollUp(). |
|
|
Definition at line 121 of file Panels.h. Referenced by CPanel(), CreepDown(), CreepUp(), Draw(), GaugeHit(), Home(), ReadFinished(), ScrollDown(), and ScrollUp(). |
|
|
Definition at line 119 of file Panels.h. Referenced by CPanel(). |
|
|
Documentation generated by
|