Converted the odd double spaces into 4 space tabs
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1655 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
80d9609256
commit
fd1435ccb7
@ -442,17 +442,17 @@ void fgPlatformProcessSingleEvent ( void )
|
|||||||
}
|
}
|
||||||
|
|
||||||
case NAVIGATOR_EXIT:
|
case NAVIGATOR_EXIT:
|
||||||
|
{
|
||||||
LOGI("fgPlatformProcessSingleEvent: NAVIGATOR_EXIT");
|
LOGI("fgPlatformProcessSingleEvent: NAVIGATOR_EXIT");
|
||||||
/* User closed the application for good, let's kill the window */
|
/* User closed the application for good, let's kill the window */
|
||||||
{
|
|
||||||
SFG_Window* window = fgStructure.CurrentWindow;
|
SFG_Window* window = fgStructure.CurrentWindow;
|
||||||
if (window != NULL) {
|
if (window != NULL) {
|
||||||
fgDestroyWindow(window);
|
fgDestroyWindow(window);
|
||||||
} else {
|
} else {
|
||||||
LOGW("NAVIGATOR_EXIT: No current window");
|
LOGW("NAVIGATOR_EXIT: No current window");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case NAVIGATOR_SWIPE_DOWN:
|
case NAVIGATOR_SWIPE_DOWN:
|
||||||
case NAVIGATOR_BACK:
|
case NAVIGATOR_BACK:
|
||||||
|
@ -85,6 +85,7 @@ int fgPlatformGlutGet ( GLenum eWhat )
|
|||||||
case GLUT_WINDOW_HEIGHT:
|
case GLUT_WINDOW_HEIGHT:
|
||||||
return size[1];
|
return size[1];
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case GLUT_WINDOW_COLORMAP_SIZE:
|
case GLUT_WINDOW_COLORMAP_SIZE:
|
||||||
|
@ -166,6 +166,7 @@ void fgPlatformHideWindow( SFG_Window *window )
|
|||||||
*/
|
*/
|
||||||
void fgPlatformIconifyWindow( SFG_Window *window )
|
void fgPlatformIconifyWindow( SFG_Window *window )
|
||||||
{
|
{
|
||||||
|
//XXX This is possible via Cascades, but can't seem to find a C-level API
|
||||||
fprintf(stderr, "fgPlatformGlutIconifyWindow: STUB\n");
|
fprintf(stderr, "fgPlatformGlutIconifyWindow: STUB\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -182,7 +183,8 @@ void fgPlatformGlutSetWindowTitle( const char* title )
|
|||||||
*/
|
*/
|
||||||
void fgPlatformGlutSetIconTitle( const char* title )
|
void fgPlatformGlutSetIconTitle( const char* title )
|
||||||
{
|
{
|
||||||
fprintf(stderr, "fgPlatformGlutSetIconTitle: STUB\n");}
|
fprintf(stderr, "fgPlatformGlutSetIconTitle: STUB\n");
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Change the specified window's position
|
* Change the specified window's position
|
||||||
|
Reference in New Issue
Block a user