Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Whoops, forgot to indent
  • Loading branch information
slouken committed Jun 26, 2006
1 parent 97aaf96 commit eebab76
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 20 deletions.
2 changes: 1 addition & 1 deletion include/SDL_compat.h
Expand Up @@ -153,7 +153,7 @@ extern DECLSPEC int SDLCALL SDL_SetPalette(SDL_Surface * surface, int flags,
extern DECLSPEC int SDLCALL SDL_SetColors(SDL_Surface * surface,
const SDL_Color * colors,
int firstcolor, int ncolors);
extern DECLSPEC int SDLCALL SDL_GetWMInfo(struct SDL_SysWMinfo * info);
extern DECLSPEC int SDLCALL SDL_GetWMInfo(struct SDL_SysWMinfo *info);
extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void);
extern DECLSPEC void SDLCALL SDL_WarpMouse(Uint16 x, Uint16 y);
extern DECLSPEC SDL_Overlay *SDLCALL SDL_CreateYUVOverlay(int width,
Expand Down
3 changes: 2 additions & 1 deletion src/SDL.c
Expand Up @@ -348,7 +348,8 @@ _DllMainCRTStartup(HANDLE hModule,
}
#endif /* building DLL with Watcom C */

void SDL_SetModuleHandle(void *hInst)
void
SDL_SetModuleHandle(void *hInst)
{
/* FIXME: Do we still need this? */
}
Expand Down
42 changes: 28 additions & 14 deletions src/video/win32/SDL_win32window.c
Expand Up @@ -26,59 +26,73 @@
#include "SDL_win32video.h"


int WIN32_CreateWindow(_THIS, SDL_Window * window)
int
WIN32_CreateWindow(_THIS, SDL_Window * window)
{
}

int WIN32_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
int
WIN32_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
{
}

void WIN32_SetWindowTitle(_THIS, SDL_Window * window)
void
WIN32_SetWindowTitle(_THIS, SDL_Window * window)
{
}

void WIN32_SetWindowPosition(_THIS, SDL_Window * window)
void
WIN32_SetWindowPosition(_THIS, SDL_Window * window)
{
}

void WIN32_SetWindowSize(_THIS, SDL_Window * window)
void
WIN32_SetWindowSize(_THIS, SDL_Window * window)
{
}

void WIN32_ShowWindow(_THIS, SDL_Window * window)
void
WIN32_ShowWindow(_THIS, SDL_Window * window)
{
}

void WIN32_HideWindow(_THIS, SDL_Window * window)
void
WIN32_HideWindow(_THIS, SDL_Window * window)
{
}

void WIN32_RaiseWindow(_THIS, SDL_Window * window)
void
WIN32_RaiseWindow(_THIS, SDL_Window * window)
{
}

void WIN32_MaximizeWindow(_THIS, SDL_Window * window)
void
WIN32_MaximizeWindow(_THIS, SDL_Window * window)
{
}

void WIN32_MinimizeWindow(_THIS, SDL_Window * window)
void
WIN32_MinimizeWindow(_THIS, SDL_Window * window)
{
}

void WIN32_RestoreWindow(_THIS, SDL_Window * window)
void
WIN32_RestoreWindow(_THIS, SDL_Window * window)
{
}

void WIN32_SetWindowGrab(_THIS, SDL_Window * window)
void
WIN32_SetWindowGrab(_THIS, SDL_Window * window)
{
}

void WIN32_DestroyWindow(_THIS, SDL_Window * window)
void
WIN32_DestroyWindow(_THIS, SDL_Window * window)
{
}

SDL_bool WIN32_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info)
SDL_bool
WIN32_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info)
{
}

Expand Down
6 changes: 4 additions & 2 deletions src/video/win32/SDL_win32window.h
Expand Up @@ -28,7 +28,8 @@
#include "SDL_win32video.h"

extern int WIN32_CreateWindow(_THIS, SDL_Window * window);
extern int WIN32_CreateWindowFrom(_THIS, SDL_Window * window, const void *data);
extern int WIN32_CreateWindowFrom(_THIS, SDL_Window * window,
const void *data);
extern void WIN32_SetWindowTitle(_THIS, SDL_Window * window);
extern void WIN32_SetWindowPosition(_THIS, SDL_Window * window);
extern void WIN32_SetWindowSize(_THIS, SDL_Window * window);
Expand All @@ -40,7 +41,8 @@ extern void WIN32_MinimizeWindow(_THIS, SDL_Window * window);
extern void WIN32_RestoreWindow(_THIS, SDL_Window * window);
extern void WIN32_SetWindowGrab(_THIS, SDL_Window * window);
extern void WIN32_DestroyWindow(_THIS, SDL_Window * window);
extern SDL_bool WIN32_GetWindowWMInfo(_THIS, SDL_Window * window, SDL_SysWMinfo * info);
extern SDL_bool WIN32_GetWindowWMInfo(_THIS, SDL_Window * window,
SDL_SysWMinfo * info);

#endif /* _SDL_win32window_h */

Expand Down
3 changes: 1 addition & 2 deletions test/testwm2.c
Expand Up @@ -45,8 +45,7 @@ main(int argc, char *argv[])
window_h = atoi(argv[argc]);
--argc;
} else {
fprintf(stderr,
"Usage: %s [-width] [-height]\n", argv[0]);
fprintf(stderr, "Usage: %s [-width] [-height]\n", argv[0]);
quit(1);
}
}
Expand Down

0 comments on commit eebab76

Please sign in to comment.