PageRenderTime 51ms CodeModel.GetById 38ms app.highlight 10ms RepoModel.GetById 1ms app.codeStats 1ms

/platform/osx/scaffold/menu.d

http://github.com/wilkie/djehuty
D | 55 lines | 36 code | 11 blank | 8 comment | 2 complexity | f791bcf7862bee627c614f45fe90f534 MD5 | raw file
 1/*
 2 * menu.d
 3 *
 4 * This Scaffold holds the Menu implementations for the Linux platform
 5 *
 6 * Author: Dave Wilkinson
 7 *
 8 */
 9
10module scaffold.menu;
11
12import platform.vars.window;
13import platform.vars.menu;
14import platform.unix.common;
15
16import core.string;
17import core.main;
18import core.definitions;
19
20import resource.menu;
21
22import gui.window;
23
24void MenuCreate(MenuPlatformVars* menuVars)
25{
26}
27
28void MenuDestroy(MenuPlatformVars* menuVars)
29{
30}
31
32void MenuAppend(void* identifier, MenuPlatformVars* mnuVars, MenuPlatformVars* toAppendVars, string text, bool hasSubitems)
33{
34	if (hasSubitems)
35	{
36	}
37	else
38	{
39	}
40}
41
42void MenuUpdate(void* identifier, MenuPlatformVars* mnuVars, MenuPlatformVars* toUpdateVars, string text, uint position, bool hasSubitems)
43{
44	if (hasSubitems)
45	{
46	}
47	else
48	{
49	}
50}
51
52void WindowSetMenu(MenuPlatformVars* mnuVars, ref Window wnd, WindowPlatformVars* windowVars)
53{
54}
55