bool Initialize()
{
bool result;
-
+
printf("Initialize %s:%i\n", __FILE__, __LINE__);
result = CocoaInitialize();
-
+
return result;
}
bool ProcessInput(bool processAll)
{
bool result;
-
+
//printf("ProcessInput %s:%i\n", __FILE__, __LINE__);
result = CocoaProcessInput(processAll);
-
+
return result;
}
{
static char *graphicsDrivers[] = { "CocoaOpenGL" };
*numDrivers = sizeof(graphicsDrivers) / sizeof(char *);
-
+
return (char **)graphicsDrivers;
}
void GetCurrentMode(bool * fullScreen, int * resolution, int * colorDepth, int * refreshRate)
- {
+ {
printf("GetCurrentMode %s:%i\n", __FILE__, __LINE__);
CocoaGetCurrentMode(fullScreen, resolution, colorDepth, refreshRate);
}
bool ScreenMode(bool fullScreen, int resolution, int colorDepth, int refreshRate, bool * textMode)
{
printf("STUB! %s:%i\n", __FILE__, __LINE__);
-
+
*textMode = false;
return true;
}
// TODO:
printf("CreateRootWindow %s:%i\n", __FILE__, __LINE__);
window.windowHandle = CocoaCreateRootWindow(window);
-
+
return window.windowHandle;
}
// TODO:
printf("STUB! %s:%i\n", __FILE__, __LINE__);
}
-
+
void ActivateRootWindow(Window window)
{
// TODO:
{
// TODO:
printf("STUB! %s:%i\n", __FILE__, __LINE__);
- }
+ }
void ClearClipboard()
{
{
// TODO:
printf("STUB! %s:%i\n", __FILE__, __LINE__);
- }
+ }
bool SetIcon(Window window, BitmapResource resource)
{
// TODO:
printf("STUB! %s:%i\n", __FILE__, __LINE__);
-
+
return true;
}
}