]> git.draconx.ca Git - rrace.git/blobdiff - src/motifgui.dat
motif: Optimize widget string table a bit.
[rrace.git] / src / motifgui.dat
index a8d69cb761ef2dbea2c0ce6fcb28f6e7bc61e117..8ab82c4f00c9b9fd302c1a2d15c25d0f9194c95d 100644 (file)
@@ -1,7 +1,33 @@
+@nostrtab
+
 MAINWIN
- main, main_OFFSET, &xmMainWindowWidgetClass
-  game, game_OFFSET, &xmFormWidgetClass, game_configure
-   gameArea, gameArea_OFFSET, &xmFrameWidgetClass
-    gameCanvas, 0, &xmDrawingAreaWidgetClass
-   goalArea, goalArea_OFFSET, &xmFrameWidgetClass
-    goalCanvas, 0, &xmDrawingAreaWidgetClass
+ main, main_OFFSET, widgetMainWindow
+  menuBar, 0, widgetMenuBar
+  game, game_OFFSET, widgetForm
+   timeDisplay, 0, widgetDrawingArea
+   gameArea, gameArea_OFFSET, widgetFrame
+    gameCanvas, 0, widgetDrawingArea
+   goalArea, goalArea_OFFSET, widgetFrame
+    goalCanvas, 0, widgetDrawingArea
+
+ABOUTDIALOG
+ aboutDialog, aboutDialog_OFFSET, widgetUnmanaged|widgetMessageDialog
+  licenseBlurb, 0, widgetScrolledText
+
+#&gameMenuLabel  G|Game
+#&gameNewLabel     N|New
+#&gameExitLabel    x|Exit
+#&helpMenuLabel  H|Help
+#&helpAboutLabel   A|About RRace
+
+MAINMENU
+ gameMenu, gameMenu_OFFSET, widgetCascadeButton, gameMenuLabel
+  gameNew, 0, widgetPushButton, gameNewLabel
+  gameExit, 0, widgetPushButton, gameExitLabel
+ helpMenu, helpMenu_OFFSET, widgetCascadeButton, helpMenuLabel
+  helpAbout, 0, widgetPushButton, helpAboutLabel
+
+#&&glob_licenseBlurb *licenseBlurb
+#&&glob_aboutDialog *aboutDialog
+#&&glob_menuBar *menuBar
+#&&glob_game *game