comparison src/video/cocoa/SDL_cocoavideo.m @ 1933:7ee5297340f7

Implemented Cocoa window support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Jul 2006 05:03:02 +0000
parents 103c6fec2a60
children 83946ee0ff1f
comparison
equal deleted inserted replaced
1932:dc864bcabcc4 1933:7ee5297340f7
71 device->VideoQuit = Cocoa_VideoQuit; 71 device->VideoQuit = Cocoa_VideoQuit;
72 device->GetDisplayModes = Cocoa_GetDisplayModes; 72 device->GetDisplayModes = Cocoa_GetDisplayModes;
73 device->SetDisplayMode = Cocoa_SetDisplayMode; 73 device->SetDisplayMode = Cocoa_SetDisplayMode;
74 device->PumpEvents = Cocoa_PumpEvents; 74 device->PumpEvents = Cocoa_PumpEvents;
75 75
76 /*
77 device->CreateWindow = Cocoa_CreateWindow; 76 device->CreateWindow = Cocoa_CreateWindow;
78 device->CreateWindowFrom = Cocoa_CreateWindowFrom; 77 device->CreateWindowFrom = Cocoa_CreateWindowFrom;
79 device->SetWindowTitle = Cocoa_SetWindowTitle; 78 device->SetWindowTitle = Cocoa_SetWindowTitle;
80 device->SetWindowPosition = Cocoa_SetWindowPosition; 79 device->SetWindowPosition = Cocoa_SetWindowPosition;
81 device->SetWindowSize = Cocoa_SetWindowSize; 80 device->SetWindowSize = Cocoa_SetWindowSize;
86 device->MinimizeWindow = Cocoa_MinimizeWindow; 85 device->MinimizeWindow = Cocoa_MinimizeWindow;
87 device->RestoreWindow = Cocoa_RestoreWindow; 86 device->RestoreWindow = Cocoa_RestoreWindow;
88 device->SetWindowGrab = Cocoa_SetWindowGrab; 87 device->SetWindowGrab = Cocoa_SetWindowGrab;
89 device->DestroyWindow = Cocoa_DestroyWindow; 88 device->DestroyWindow = Cocoa_DestroyWindow;
90 device->GetWindowWMInfo = Cocoa_GetWindowWMInfo; 89 device->GetWindowWMInfo = Cocoa_GetWindowWMInfo;
90 /*
91 #ifdef SDL_VIDEO_OPENGL 91 #ifdef SDL_VIDEO_OPENGL
92 device->GL_LoadLibrary = Cocoa_GL_LoadLibrary; 92 device->GL_LoadLibrary = Cocoa_GL_LoadLibrary;
93 device->GL_GetProcAddress = Cocoa_GL_GetProcAddress; 93 device->GL_GetProcAddress = Cocoa_GL_GetProcAddress;
94 device->GL_GetWindowAttribute = Cocoa_GL_GetWindowAttribute; 94 device->GL_GetWindowAttribute = Cocoa_GL_GetWindowAttribute;
95 device->GL_CreateContext = Cocoa_GL_CreateContext; 95 device->GL_CreateContext = Cocoa_GL_CreateContext;