Converted the odd double spaces into 4 space tabs

This commit is contained in:
Rcmaniac25 2013-09-07 02:08:47 -04:00
parent 62fa02baf8
commit 39eb9e3342
5 changed files with 501 additions and 498 deletions

View File

@ -76,7 +76,7 @@ struct touchscreen {
* interspersed
*/
/*
/*
* We'll put these values in and that should
* allow the code to at least compile when there is
* no support. The JS open routine should error out
@ -84,19 +84,19 @@ struct touchscreen {
* the application doesn't use a joystick we'll be fine.
*/
struct JS_DATA_TYPE
{
struct JS_DATA_TYPE
{
int buttons;
int x;
int y;
};
};
# define JS_RETURN (sizeof(struct JS_DATA_TYPE))
#define JS_RETURN (sizeof(struct JS_DATA_TYPE))
/* XXX It might be better to poll the operating system for the numbers of buttons and
* XXX axes and then dynamically allocate the arrays.
*/
# define _JS_MAX_AXES 16
#define _JS_MAX_AXES 16
typedef struct tagSFG_PlatformJoystick SFG_PlatformJoystick;
struct tagSFG_PlatformJoystick
{

View File

@ -442,17 +442,17 @@ void fgPlatformProcessSingleEvent ( void )
}
case NAVIGATOR_EXIT:
{
LOGI("fgPlatformProcessSingleEvent: NAVIGATOR_EXIT");
/* User closed the application for good, let's kill the window */
{
SFG_Window* window = fgStructure.CurrentWindow;
if (window != NULL) {
fgDestroyWindow(window);
} else {
LOGW("NAVIGATOR_EXIT: No current window");
}
}
break;
}
case NAVIGATOR_SWIPE_DOWN:
case NAVIGATOR_BACK:

View File

@ -85,6 +85,7 @@ int fgPlatformGlutGet ( GLenum eWhat )
case GLUT_WINDOW_HEIGHT:
return size[1];
}
break;
}
case GLUT_WINDOW_COLORMAP_SIZE:

View File

@ -166,6 +166,7 @@ void fgPlatformHideWindow( 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");
}
@ -182,7 +183,8 @@ void fgPlatformGlutSetWindowTitle( const char* title )
*/
void fgPlatformGlutSetIconTitle( const char* title )
{
fprintf(stderr, "fgPlatformGlutSetIconTitle: STUB\n");}
fprintf(stderr, "fgPlatformGlutSetIconTitle: STUB\n");
}
/*
* Change the specified window's position