Classes | Enumerations | Functions | Variables
CocoaMainWindow.cpp File Reference
#include "CocoaMainWindow.h"
#include "Interfaces/MainWindowEventInterface.h"
#include "Image/ByteImage.h"
#include "Image/ImageProcessor.h"
Include dependency graph for CocoaMainWindow.cpp:

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

voidCocoaCreateButton (void *window, int x, int y, int width, int height, const char *text, void *ptr)
voidCocoaCreateCheckBox (void *window, int x, int y, int width, int height, const char *text, bool checked, void *ptr)
voidCocoaCreateComboBox (void *window, int x, int y, int width, int height, int num_entries, const char **entries, int current_entry, void *ptr)
voidCocoaCreateImage (void *window, int x, int y, int width, int height, void *ptr)
voidCocoaCreateLabel (void *window, int x, int y, int width, int height, const char *text, void *ptr)
voidCocoaCreateMainWindow (int x, int y, int width, int height, const char *title, void *main_window_ptr)
voidCocoaCreateOpenGLWidget (void *window, int x, int y, int width, int height, void *ptr)
voidCocoaCreateSlider (void *window, int x, int y, int width, int height, int min_value, int max_value, int step, int value, void *ptr)
voidCocoaCreateTextEdit (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

Enumeration Type Documentation

Enumerator:
eImage 
eButton 
eLabel 
eCheckBox 
eTextEdit 
eSlider 
eComboBox 
eGLWidget 

Definition at line 25 of file CocoaMainWindow.cpp.


Function Documentation

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 CocoaGetCurrentWorkingDirectory ( char *  str,
int  len 
)
int CocoaGetInt ( void ptr)
void CocoaGetText ( void ptr,
char *  str,
int  len 
)
void CocoaGetTitle ( void ptr,
char *  str,
int  len 
)
void CocoaHide ( 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 EventCallback ( void window,
void widget,
int  type,
int *  params 
)

Definition at line 99 of file CocoaMainWindow.cpp.


Variable Documentation

Definition at line 96 of file CocoaMainWindow.cpp.



asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Thu Jun 6 2019 21:46:58