32 #if defined(G4UI_BUILD_WIN32_SESSION) || defined(G4UI_USE_WIN32)
70 void AddMenu (
const char*,
const char*);
75 void AddButton (
const char*,
const char*,
const char*);
84 void SessionTerminate ();
89 void TextAppendString(
char*);
91 void SecondaryLoop (
const G4String&);
97 HWND textWindow,editWindow;
98 HMENU menuBar,defaultMenu;
99 std::map<int,G4String, std::less<int> > commands;
101 int textRows,textCols;
102 static LRESULT CALLBACK MainWindowProc(HWND,UINT,WPARAM,LPARAM);
103 static LRESULT CALLBACK TextWindowProc(HWND,UINT,WPARAM,LPARAM);
104 static LRESULT CALLBACK EditWindowProc(HWND,UINT,WPARAM,LPARAM);
107 std::vector<G4String> fHistory;