this is better, thanks. I have nuk working in tier 1 now and it's a lot of fun.
function constructor_menu()
show_menu as integer = nk_true
if show_menu
nk.MenubarBegin()
nk.LayoutRowBegin(NK_STATIC, 30,3)
nk.LayoutRowPush(60)
if(nk.MenuBeginLabel("File" , NK_TEXT_CENTERED, 120 , 150))
nk.LayoutRowDynamic(25,1)
nk.MenuItemLabel("New" , NK_TEXT_LEFT)
nk.MenuItemLabel("Open" , NK_TEXT_LEFT)
nk.MenuItemLabel("Save", NK_TEXT_LEFT)
nk.MenuItemLabel("Close", NK_TEXT_LEFT)
if nk.MenuItemLabel("Exit", NK_TEXT_LEFT) then end
nk.MenuEnd()
endif
if(nk.MenuBeginLabel("DataBase" , NK_TEXT_CENTERED, 300 , 150))
nk.LayoutRowDynamic(25,1)
if nk.MenuItemLabel("Characters" , NK_TEXT_LEFT) then mb_character_database = NK_TRUE
nk.MenuEnd()
endif
if(nk.MenuBeginLabel("Help", NK_TEXT_CENTERED,120,150))
nk.LayoutRowDynamic(25,1)
if nk.MenuItemLabel("About" , NK_TEXT_LEFT) then mb_show_app_about = NK_TRUE
nk.MenuEnd()
endif
nk.MenubarEnd()
endif
endfunction