Removing some Windows-specific function prototypes from "freeglut_internal.h"
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1008 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
8389adce0b
commit
a7d02bb52d
@ -918,19 +918,6 @@ void fgEnumWindows( FGCBenumerator enumCallback, SFG_Enumerator* enumerator );
|
|||||||
void fgEnumSubWindows( SFG_Window* window, FGCBenumerator enumCallback,
|
void fgEnumSubWindows( SFG_Window* window, FGCBenumerator enumCallback,
|
||||||
SFG_Enumerator* enumerator );
|
SFG_Enumerator* enumerator );
|
||||||
|
|
||||||
#if TARGET_HOST_MS_WINDOWS
|
|
||||||
/*
|
|
||||||
* Helper functions for getting client area from the window rect
|
|
||||||
* and the window rect from the client area given the style of the window
|
|
||||||
* (or a valid window pointer from which the style can be queried).
|
|
||||||
*/
|
|
||||||
void fghComputeWindowRectFromClientArea_UseStyle ( const DWORD windowStyle , RECT *clientRect, BOOL posIsOutside );
|
|
||||||
void fghComputeWindowRectFromClientArea_QueryWindow( const SFG_Window *window, RECT *clientRect, BOOL posIsOutside );
|
|
||||||
void fghComputeClientAreaFromWindowRect ( const SFG_Window *window, RECT *windowRect, BOOL wantPosOutside );
|
|
||||||
RECT fghGetClientArea ( const SFG_Window *window, BOOL wantPosOutside );
|
|
||||||
void fghGetBorderWidth(const DWORD windowStyle, int* xBorderWidth, int* yBorderWidth);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* fgWindowByHandle returns a (SFG_Window *) value pointing to the
|
* fgWindowByHandle returns a (SFG_Window *) value pointing to the
|
||||||
* first window in the queue matching the specified window handle.
|
* first window in the queue matching the specified window handle.
|
||||||
|
@ -42,6 +42,13 @@ static pGetTouchInputInfo fghGetTouchInputInfo = (pGetTouchInputInfo)0xDEADBEEF;
|
|||||||
static pCloseTouchInputHandle fghCloseTouchInputHandle = (pCloseTouchInputHandle)0xDEADBEEF;
|
static pCloseTouchInputHandle fghCloseTouchInputHandle = (pCloseTouchInputHandle)0xDEADBEEF;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Helper functions for getting client area from the window rect
|
||||||
|
* and the window rect from the client area given the style of the window
|
||||||
|
* (or a valid window pointer from which the style can be queried).
|
||||||
|
*/
|
||||||
|
extern void fghComputeWindowRectFromClientArea_QueryWindow( const SFG_Window *window, RECT *clientRect, BOOL posIsOutside );
|
||||||
|
extern RECT fghGetClientArea ( const SFG_Window *window, BOOL wantPosOutside );
|
||||||
|
|
||||||
|
|
||||||
void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height )
|
void fgPlatformReshapeWindow ( SFG_Window *window, int width, int height )
|
||||||
|
@ -32,6 +32,14 @@
|
|||||||
extern GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly,
|
extern GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly,
|
||||||
unsigned char layer_type );
|
unsigned char layer_type );
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Helper functions for getting client area from the window rect
|
||||||
|
* and the window rect from the client area given the style of the window
|
||||||
|
* (or a valid window pointer from which the style can be queried).
|
||||||
|
*/
|
||||||
|
extern RECT fghGetClientArea( const SFG_Window *window, BOOL wantPosOutside );
|
||||||
|
extern void fghGetBorderWidth(const DWORD windowStyle, int* xBorderWidth, int* yBorderWidth);
|
||||||
|
|
||||||
|
|
||||||
/* The following include file is available from SGI but is not standard:
|
/* The following include file is available from SGI but is not standard:
|
||||||
* #include <GL/wglext.h>
|
* #include <GL/wglext.h>
|
||||||
|
@ -95,6 +95,13 @@ typedef BOOL (WINAPI *pRegisterTouchWindow)(HWND,ULONG);
|
|||||||
static pRegisterTouchWindow fghRegisterTouchWindow = (pRegisterTouchWindow)0xDEADBEEF;
|
static pRegisterTouchWindow fghRegisterTouchWindow = (pRegisterTouchWindow)0xDEADBEEF;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Helper functions for getting client area from the window rect
|
||||||
|
* and the window rect from the client area given the style of the window
|
||||||
|
* (or a valid window pointer from which the style can be queried).
|
||||||
|
*/
|
||||||
|
extern void fghGetBorderWidth(const DWORD windowStyle, int* xBorderWidth, int* yBorderWidth);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Setup the pixel format for a Win32 window
|
* Setup the pixel format for a Win32 window
|
||||||
|
Reference in New Issue
Block a user