Formatting fixes.
This commit is contained in:
parent
1f20772b46
commit
d93bb2c48f
|
@ -87,7 +87,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
w = newWindow("Main Window", 320, 240, 1);
|
w = newWindow("Main Window", 320, 240, 1);
|
||||||
uiWindowOnClosing(w, onClosing, NULL);
|
uiWindowOnClosing(w, onClosing, NULL);
|
||||||
printf("main window %p\n", (void*)w);
|
printf("main window %p\n", (void *) w);
|
||||||
|
|
||||||
uiOnShouldQuit(onShouldQuit, w);
|
uiOnShouldQuit(onShouldQuit, w);
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ static void forceOff(uiMenuItem *item, uiWindow *w, void *data)
|
||||||
|
|
||||||
static void whatWindow(uiMenuItem *item, uiWindow *w, void *data)
|
static void whatWindow(uiMenuItem *item, uiWindow *w, void *data)
|
||||||
{
|
{
|
||||||
printf("menu item clicked on window %p\n", (void*)w);
|
printf("menu item clicked on window %p\n", (void *) w);
|
||||||
}
|
}
|
||||||
|
|
||||||
void initMenus(void)
|
void initMenus(void)
|
||||||
|
|
Loading…
Reference in New Issue