Added a stub menu creation function (for linking), turned off test program menu generation temporarily, and fixed another Windows build issue.

This commit is contained in:
Pietro Gagliardi 2015-04-24 14:16:37 -04:00
parent c97f95ef10
commit 962b71d773
3 changed files with 11 additions and 1 deletions

View File

@ -37,7 +37,7 @@ int main(int argc, char *argv[])
return 1;
}
initMenus();
// initMenus();
w = newWindow("Main Window", 320, 240, 1);
uiWindowOnClosing(w, onClosing, NULL);

View File

@ -6,6 +6,7 @@ osCFILES = \
windows/debug.c \
windows/init.c \
windows/main.c \
windows/menu.c \
windows/oscontainer.c \
windows/text.c \
windows/util.c \
@ -19,6 +20,7 @@ osCFLAGS = \
-D_UI_EXTERN='__declspec(dllexport) extern'
osLDFLAGS = \
-static-libgcc \
-luser32 -lkernel32 -lgdi32 -luxtheme -lmsimg32 -lcomdlg32 -lole32 -loleaut32 -loleacc -luuid
osLIBSUFFIX = .dll

8
new/windows/menu.c Normal file
View File

@ -0,0 +1,8 @@
// 24 april 2015
#include "uipriv_windows.h"
uiMenu *uiNewMenu(const char *name)
{
// TODO
return NULL;
}