#include <CocoaMainWindow.h>
Public Member Functions | |
WIDGET_HANDLE | AddButton (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0) |
WIDGET_HANDLE | AddCheckBox (int x, int y, int width, int height, const char *text, bool checked, WIDGET_HANDLE parent=0) |
WIDGET_HANDLE | AddComboBox (int x, int y, int width, int height, int num_entries, const char **entries, int current_entry, WIDGET_HANDLE parent=0) |
WIDGET_HANDLE | AddGLWidget (int x, int y, int width, int height, WIDGET_HANDLE parent=0) |
WIDGET_HANDLE | AddImage (int x, int y, int width, int height, WIDGET_HANDLE parent=0) |
WIDGET_HANDLE | AddLabel (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0) |
WIDGET_HANDLE | AddSlider (int x, int y, int width, int height, int min_value, int max_value, int step, int value, WIDGET_HANDLE parent=0) |
WIDGET_HANDLE | AddTextEdit (int x, int y, int width, int height, const char *text, WIDGET_HANDLE parent=0) |
CCocoaMainWindow (int x, int y, int width, int height, const char *title) | |
void | EventCallback (void *widget, int type, int *params) |
int | GetModifierKeyState () |
bool | GetText (WIDGET_HANDLE widget, char *text, int len) |
bool | GetValue (WIDGET_HANDLE widget, int &value) |
void | Hide (WIDGET_HANDLE widget=0) |
bool | MakeCurrentGLWidget (WIDGET_HANDLE widget) |
void | SetEventCallback (CMainWindowEventInterface *callback) |
bool | SetImage (WIDGET_HANDLE widget, const CByteImage *pImage) |
bool | SetText (WIDGET_HANDLE widget, const char *text) |
bool | SetValue (WIDGET_HANDLE widget, int value) |
void | Show (WIDGET_HANDLE widget=0) |
bool | SwapBuffersGLWidget (WIDGET_HANDLE widget) |
~CCocoaMainWindow () | |
Public Member Functions inherited from CMainWindowInterface | |
virtual void | SetSize (int width, int height, WIDGET_HANDLE widget=0) |
virtual | ~CMainWindowInterface () |
Private Member Functions | |
void | FixPosition (int &x, int &y, int &width, int &height) |
Private Attributes | |
void * | m_cocoa_main_window |
CMainWindowEventInterface * | m_event_callback |
int | m_height |
std::vector< CCocoaMainWindowWidget * > | m_widgets |
int | m_width |
Definition at line 32 of file CocoaMainWindow.h.
CCocoaMainWindow::CCocoaMainWindow | ( | int | x, |
int | y, | ||
int | width, | ||
int | height, | ||
const char * | title | ||
) |
Definition at line 208 of file CocoaMainWindow.cpp.
CCocoaMainWindow::~CCocoaMainWindow | ( | ) |
Definition at line 221 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 262 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 306 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 372 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 394 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 237 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 284 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 350 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 328 of file CocoaMainWindow.cpp.
Definition at line 105 of file CocoaMainWindow.cpp.
|
private |
Definition at line 594 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 589 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 421 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 485 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 575 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 542 of file CocoaMainWindow.cpp.
|
inlinevirtual |
Implements CMainWindowInterface.
Definition at line 66 of file CocoaMainWindow.h.
|
virtual |
Implements CMainWindowInterface.
Definition at line 454 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 437 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 505 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 562 of file CocoaMainWindow.cpp.
|
virtual |
Implements CMainWindowInterface.
Definition at line 525 of file CocoaMainWindow.cpp.
|
private |
Definition at line 72 of file CocoaMainWindow.h.
|
private |
Definition at line 75 of file CocoaMainWindow.h.
|
private |
Definition at line 74 of file CocoaMainWindow.h.
|
private |
Definition at line 77 of file CocoaMainWindow.h.
|
private |
Definition at line 73 of file CocoaMainWindow.h.