Fix indentation of bool variables in glfw/internal.h

Caused by fe62700825.
This commit is contained in:
Luflosi 2019-07-26 11:36:51 -05:00
parent 17751666f2
commit 61df266df7
No known key found for this signature in database
GPG Key ID: 14140F703B7D8362

86
glfw/internal.h vendored
View File

@ -267,12 +267,12 @@ struct _GLFWerror
// //
struct _GLFWinitconfig struct _GLFWinitconfig
{ {
bool hatButtons; bool hatButtons;
bool debugKeyboard; bool debugKeyboard;
bool enableJoysticks; bool enableJoysticks;
struct { struct {
bool menubar; bool menubar;
bool chdir; bool chdir;
} ns; } ns;
}; };
@ -287,18 +287,18 @@ struct _GLFWwndconfig
int width; int width;
int height; int height;
const char* title; const char* title;
bool resizable; bool resizable;
bool visible; bool visible;
bool decorated; bool decorated;
bool focused; bool focused;
bool autoIconify; bool autoIconify;
bool floating; bool floating;
bool maximized; bool maximized;
bool centerCursor; bool centerCursor;
bool focusOnShow; bool focusOnShow;
bool scaleToMonitor; bool scaleToMonitor;
struct { struct {
bool retina; bool retina;
char frameName[256]; char frameName[256];
} ns; } ns;
struct { struct {
@ -322,15 +322,15 @@ struct _GLFWctxconfig
int source; int source;
int major; int major;
int minor; int minor;
bool forward; bool forward;
bool debug; bool debug;
bool noerror; bool noerror;
int profile; int profile;
int robustness; int robustness;
int release; int release;
_GLFWwindow* share; _GLFWwindow* share;
struct { struct {
bool offline; bool offline;
} nsgl; } nsgl;
}; };
@ -355,11 +355,11 @@ struct _GLFWfbconfig
int accumBlueBits; int accumBlueBits;
int accumAlphaBits; int accumAlphaBits;
int auxBuffers; int auxBuffers;
bool stereo; bool stereo;
int samples; int samples;
bool sRGB; bool sRGB;
bool doublebuffer; bool doublebuffer;
bool transparent; bool transparent;
uintptr_t handle; uintptr_t handle;
}; };
@ -370,7 +370,7 @@ struct _GLFWcontext
int client; int client;
int source; int source;
int major, minor, revision; int major, minor, revision;
bool forward, debug, noerror; bool forward, debug, noerror;
int profile; int profile;
int robustness; int robustness;
int release; int release;
@ -401,12 +401,12 @@ struct _GLFWwindow
struct _GLFWwindow* next; struct _GLFWwindow* next;
// Window settings and state // Window settings and state
bool resizable; bool resizable;
bool decorated; bool decorated;
bool autoIconify; bool autoIconify;
bool floating; bool floating;
bool focusOnShow; bool focusOnShow;
bool shouldClose; bool shouldClose;
void* userPointer; void* userPointer;
GLFWid id; GLFWid id;
GLFWvidmode videoMode; GLFWvidmode videoMode;
@ -417,9 +417,9 @@ struct _GLFWwindow
int maxwidth, maxheight; int maxwidth, maxheight;
int numer, denom; int numer, denom;
bool stickyKeys; bool stickyKeys;
bool stickyMouseButtons; bool stickyMouseButtons;
bool lockKeyMods; bool lockKeyMods;
int cursorMode; int cursorMode;
char mouseButtons[GLFW_MOUSE_BUTTON_LAST + 1]; char mouseButtons[GLFW_MOUSE_BUTTON_LAST + 1];
char keys[GLFW_KEY_LAST + 1]; char keys[GLFW_KEY_LAST + 1];
@ -510,7 +510,7 @@ struct _GLFWmapping
// //
struct _GLFWjoystick struct _GLFWjoystick
{ {
bool present; bool present;
float* axes; float* axes;
int axisCount; int axisCount;
unsigned char* buttons; unsigned char* buttons;
@ -546,7 +546,7 @@ struct _GLFWmutex
// //
struct _GLFWlibrary struct _GLFWlibrary
{ {
bool initialized; bool initialized;
struct { struct {
_GLFWinitconfig init; _GLFWinitconfig init;
@ -579,23 +579,23 @@ struct _GLFWlibrary
} timer; } timer;
struct { struct {
bool available; bool available;
void* handle; void* handle;
char* extensions[2]; char* extensions[2];
#if !defined(_GLFW_VULKAN_STATIC) #if !defined(_GLFW_VULKAN_STATIC)
PFN_vkEnumerateInstanceExtensionProperties EnumerateInstanceExtensionProperties; PFN_vkEnumerateInstanceExtensionProperties EnumerateInstanceExtensionProperties;
PFN_vkGetInstanceProcAddr GetInstanceProcAddr; PFN_vkGetInstanceProcAddr GetInstanceProcAddr;
#endif #endif
bool KHR_surface; bool KHR_surface;
#if defined(_GLFW_WIN32) #if defined(_GLFW_WIN32)
bool KHR_win32_surface; bool KHR_win32_surface;
#elif defined(_GLFW_COCOA) #elif defined(_GLFW_COCOA)
bool MVK_macos_surface; bool MVK_macos_surface;
#elif defined(_GLFW_X11) #elif defined(_GLFW_X11)
bool KHR_xlib_surface; bool KHR_xlib_surface;
bool KHR_xcb_surface; bool KHR_xcb_surface;
#elif defined(_GLFW_WAYLAND) #elif defined(_GLFW_WAYLAND)
bool KHR_wayland_surface; bool KHR_wayland_surface;
#endif #endif
} vk; } vk;