31 #if defined(G4UI_BUILD_WIN32_SESSION) || defined(G4UI_USE_WIN32)
69 void AddMenu (
const char*,
const char*);
74 void AddButton (
const char*,
const char*,
const char*);
83 void SessionTerminate ();
88 void TextAppendString(
char*);
90 void SecondaryLoop (
const G4String&);
96 HWND textWindow,editWindow;
97 HMENU menuBar,defaultMenu;
98 std::map<int,G4String, std::less<int> > commands;
100 int textRows,textCols;
101 static LRESULT CALLBACK MainWindowProc(HWND,
UINT,WPARAM,LPARAM);
102 static LRESULT CALLBACK TextWindowProc(HWND,
UINT,WPARAM,LPARAM);
103 static LRESULT CALLBACK EditWindowProc(HWND,
UINT,WPARAM,LPARAM);