Starshatter_Open
Open source Starshatter engine
|
#include <RadioView.h>
Public Member Functions | |
RadioView (Window *c) | |
virtual | ~RadioView () |
virtual void | Refresh () |
virtual void | OnWindowMove () |
virtual void | ExecFrame () |
virtual Menu * | GetRadioMenu (Ship *ship) |
virtual bool | IsMenuShown () |
virtual void | ShowMenu () |
virtual void | CloseMenu () |
virtual bool | Update (SimObject *obj) |
virtual const char * | GetObserverName () const |
Public Member Functions inherited from View | |
View (Window *c) | |
virtual | ~View () |
int | operator== (const View &that) const |
virtual void | OnShow () |
virtual void | OnHide () |
virtual void | SetWindow (Window *w) |
virtual Window * | GetWindow () |
Public Member Functions inherited from SimObserver | |
virtual | ~SimObserver () |
int | operator== (const SimObserver &o) const |
virtual void | Observe (SimObject *obj) |
virtual void | Ignore (SimObject *obj) |
Static Public Member Functions | |
static void | Message (const char *msg) |
static void | ClearMessages () |
static void | SetColor (Color c) |
static void | Initialize () |
static void | Close () |
static RadioView * | GetInstance () |
Static Public Member Functions inherited from View | |
static const char * | TYPENAME () |
Static Public Member Functions inherited from SimObserver | |
static const char * | TYPENAME () |
Protected Types | |
enum | { MAX_MSG = 6 } |
Protected Member Functions | |
void | SendRadioMessage (Ship *ship, MenuItem *item) |
Protected Attributes | |
int | width |
int | height |
double | xcenter |
double | ycenter |
Font * | font |
Sim * | sim |
Ship * | ship |
Element * | dst_elem |
Text | msg_text [MAX_MSG] |
double | msg_time [MAX_MSG] |
Protected Attributes inherited from View | |
Window * | window |
Protected Attributes inherited from SimObserver | |
List< SimObject > | observe_list |
Static Protected Attributes | |
static RadioView * | radio_view = 0 |
static ThreadSync | sync |
Definition at line 37 of file RadioView.h.
|
protected |
Definition at line 78 of file RadioView.h.
RadioView::RadioView | ( | Window * | c | ) |
Definition at line 168 of file RadioView.cpp.
|
virtual |
Definition at line 188 of file RadioView.cpp.
|
static |
Definition at line 632 of file RadioView.cpp.
|
static |
Definition at line 129 of file RadioView.cpp.
|
virtual |
Definition at line 523 of file RadioView.cpp.
|
virtual |
Definition at line 420 of file RadioView.cpp.
|
inlinestatic |
Definition at line 65 of file RadioView.h.
|
virtual |
Reimplemented from SimObserver.
Definition at line 216 of file RadioView.cpp.
Definition at line 534 of file RadioView.cpp.
|
static |
Definition at line 66 of file RadioView.cpp.
|
virtual |
Definition at line 499 of file RadioView.cpp.
|
static |
Definition at line 602 of file RadioView.cpp.
|
virtual |
Reimplemented from View.
Definition at line 194 of file RadioView.cpp.
|
virtual |
Reimplemented from View.
Definition at line 224 of file RadioView.cpp.
Definition at line 356 of file RadioView.cpp.
|
static |
Definition at line 482 of file RadioView.cpp.
|
virtual |
Definition at line 505 of file RadioView.cpp.
|
virtual |
Reimplemented from SimObserver.
Definition at line 205 of file RadioView.cpp.
|
protected |
Definition at line 76 of file RadioView.h.
|
protected |
Definition at line 73 of file RadioView.h.
|
protected |
Definition at line 70 of file RadioView.h.
Definition at line 79 of file RadioView.h.
|
protected |
Definition at line 80 of file RadioView.h.
|
staticprotected |
Definition at line 82 of file RadioView.h.
|
protected |
Definition at line 75 of file RadioView.h.
|
protected |
Definition at line 74 of file RadioView.h.
|
staticprotected |
Definition at line 83 of file RadioView.h.
|
protected |
Definition at line 70 of file RadioView.h.
|
protected |
Definition at line 71 of file RadioView.h.
|
protected |
Definition at line 71 of file RadioView.h.