#include "CocoaMainWindow.h"#include "Interfaces/MainWindowEventInterface.h"#include "Image/ByteImage.h"#include "Image/ImageProcessor.h"
Go to the source code of this file.
Classes | |
| struct | CCocoaMainWindowWidget |
| class | SetTheCWDHack |
Enumerations | |
| enum | CocoaWidgetType { eImage = 0, eButton, eLabel, eCheckBox, eTextEdit, eSlider, eComboBox, eGLWidget } |
Functions | |
| void * | CocoaCreateButton (void *window, int x, int y, int width, int height, const char *text, void *ptr) |
| void * | CocoaCreateCheckBox (void *window, int x, int y, int width, int height, const char *text, bool checked, void *ptr) |
| void * | CocoaCreateComboBox (void *window, int x, int y, int width, int height, int num_entries, const char **entries, int current_entry, void *ptr) |
| void * | CocoaCreateImage (void *window, int x, int y, int width, int height, void *ptr) |
| void * | CocoaCreateLabel (void *window, int x, int y, int width, int height, const char *text, void *ptr) |
| void * | CocoaCreateMainWindow (int x, int y, int width, int height, const char *title, void *main_window_ptr) |
| void * | CocoaCreateOpenGLWidget (void *window, int x, int y, int width, int height, void *ptr) |
| void * | CocoaCreateSlider (void *window, int x, int y, int width, int height, int min_value, int max_value, int step, int value, void *ptr) |
| void * | CocoaCreateTextEdit (void *window, int x, int y, int width, int height, const char *text, void *ptr) |
| void | CocoaDestroyMainWindow (void *window) |
| int | CocoaGetComboBoxSelection (void *ptr) |
| void | CocoaGetCurrentWorkingDirectory (char *str, int len) |
| int | CocoaGetInt (void *ptr) |
| int | CocoaGetModifierKeyState () |
| void | CocoaGetText (void *ptr, char *str, int len) |
| void | CocoaGetTitle (void *ptr, char *str, int len) |
| void | CocoaHide (void *ptr) |
| void | CocoaHideWindow (void *ptr) |
| void | CocoaMakeCurrent (void *ptr) |
| void | CocoaSetComboBoxSelection (void *ptr, int value) |
| void | CocoaSetImage (void *ptr, int width, int height, unsigned char *pixels) |
| void | CocoaSetInt (void *ptr, int value) |
| void | CocoaSetText (void *ptr, const char *str) |
| void | CocoaSetTitle (void *ptr, const char *str) |
| void | CocoaShow (void *ptr) |
| void | CocoaShowWindow (void *ptr) |
| void | CocoaSwapBuffers (void *ptr) |
| void | EventCallback (void *window, void *widget, int type, int *params) |
Variables | |
| SetTheCWDHack | hack |
| enum CocoaWidgetType |
Definition at line 25 of file CocoaMainWindow.cpp.
| void* CocoaCreateButton | ( | void * | window, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| void * | ptr | ||
| ) |
| void* CocoaCreateCheckBox | ( | void * | window, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| bool | checked, | ||
| void * | ptr | ||
| ) |
| void* CocoaCreateComboBox | ( | void * | window, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | num_entries, | ||
| const char ** | entries, | ||
| int | current_entry, | ||
| void * | ptr | ||
| ) |
| void* CocoaCreateImage | ( | void * | window, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| void * | ptr | ||
| ) |
| void* CocoaCreateLabel | ( | void * | window, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| void * | ptr | ||
| ) |
| void* CocoaCreateMainWindow | ( | int | x, |
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | title, | ||
| void * | main_window_ptr | ||
| ) |
| void* CocoaCreateOpenGLWidget | ( | void * | window, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| void * | ptr | ||
| ) |
| void* CocoaCreateSlider | ( | void * | window, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| int | min_value, | ||
| int | max_value, | ||
| int | step, | ||
| int | value, | ||
| void * | ptr | ||
| ) |
| void* CocoaCreateTextEdit | ( | void * | window, |
| int | x, | ||
| int | y, | ||
| int | width, | ||
| int | height, | ||
| const char * | text, | ||
| void * | ptr | ||
| ) |
| void CocoaDestroyMainWindow | ( | void * | window | ) |
| int CocoaGetComboBoxSelection | ( | void * | ptr | ) |
| void CocoaGetCurrentWorkingDirectory | ( | char * | str, |
| int | len | ||
| ) |
| int CocoaGetInt | ( | void * | ptr | ) |
| int CocoaGetModifierKeyState | ( | ) |
| void CocoaGetText | ( | void * | ptr, |
| char * | str, | ||
| int | len | ||
| ) |
| void CocoaGetTitle | ( | void * | ptr, |
| char * | str, | ||
| int | len | ||
| ) |
| void CocoaHideWindow | ( | void * | ptr | ) |
| void CocoaMakeCurrent | ( | void * | ptr | ) |
| void CocoaSetComboBoxSelection | ( | void * | ptr, |
| int | value | ||
| ) |
| void CocoaSetImage | ( | void * | ptr, |
| int | width, | ||
| int | height, | ||
| unsigned char * | pixels | ||
| ) |
| void CocoaSetInt | ( | void * | ptr, |
| int | value | ||
| ) |
| void CocoaSetText | ( | void * | ptr, |
| const char * | str | ||
| ) |
| void CocoaSetTitle | ( | void * | ptr, |
| const char * | str | ||
| ) |
| void CocoaShowWindow | ( | void * | ptr | ) |
| void CocoaSwapBuffers | ( | void * | ptr | ) |
| void EventCallback | ( | void * | window, |
| void * | widget, | ||
| int | type, | ||
| int * | params | ||
| ) |
Definition at line 99 of file CocoaMainWindow.cpp.
Definition at line 96 of file CocoaMainWindow.cpp.