home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / palmos / bart-1.3b2.tar.gz / bart-1.3b2.tar / bart-1.3b2 / bart.rcp < prev    next >
Text File  |  2000-03-12  |  7KB  |  159 lines

  1. #include "bartRsc.h"
  2.  
  3. FORM MainForm 0 0 160 160
  4. MENUID ID_Main_Menu
  5. BEGIN
  6.     TITLE "BART Scheduler"
  7.  
  8.     LABEL "From" ID ID_From AT (RIGHT@24 23)
  9.     SELECTORTRIGGER "- select station -" ID ID_Station_From_Selector AT (PREVRIGHT+3 PREVTOP AUTO AUTO) LEFTANCHOR
  10.  
  11.     LABEL "To" ID ID_To AT (RIGHT@24 PREVBOTTOM+8)
  12.     SELECTORTRIGGER "- select station -" ID ID_Station_To_Selector AT (PREVRIGHT+3 PREVTOP AUTO AUTO) LEFTANCHOR
  13.  
  14.     BUTTON "Swap" ID ID_Swap_Button AT (3 PREVBOTTOM+7 AUTO AUTO)
  15.  
  16.     LIST " leaving" "arriving" ID ID_Arriving_Leaving_List AT (20 PREVBOTTOM+10 AUTO AUTO) VISIBLEITEMS 2 USABLE
  17.     POPUPLIST ID ID_Arriving_Leaving_Popup ID_Arriving_Leaving_List
  18.  
  19.     LABEL "around" ID ID_Around AT (PREVRIGHT+6 PREVTOP+5)
  20.  
  21.     SELECTORTRIGGER "" ID ID_Time_Selector AT (PREVRIGHT+6 PREVTOP 41 AUTO) LEFTANCHOR
  22.  
  23.     CHECKBOX "Show ONLY trains allowing bikes" ID ID_Bike_Checkbox AT (4 PREVBOTTOM+5+9 AUTO AUTO)
  24.  
  25.     POPUPTRIGGER "Weekday" ID ID_Category_Popup AT (RIGHT@158 1 AUTO AUTO) RIGHTANCHOR
  26.     LIST "" ID ID_Category_List AT (RIGHT@PREVRIGHT PREVTOP AUTO AUTO) VISIBLEITEMS 1 NONUSABLE
  27.     POPUPLIST ID ID_Category_Popup ID_Category_List
  28.  
  29.     BUTTON "Find Trains" ID ID_Find AT (3 BOTTOM@157 AUTO AUTO)
  30. END
  31.  
  32. MENU ID ID_Main_Menu
  33. BEGIN
  34.     PULLDOWN "Options"
  35.     BEGIN
  36.     MENUITEM "BART Information" ID ID_BART_Info_Item
  37.     MENUITEM "About BART Scheduler" ID ID_About_Item
  38.     END
  39. END
  40. //     MENUITEM "Preferences..." ID ID_Prefs_Item "R"
  41.  
  42. FORM TimeForm 2 2 156 156
  43. MODAL
  44. BEGIN
  45.     TITLE "Set Time"
  46.  
  47.     LABEL "Time:" ID ID_Time_Time_Label AT (22 50) FONT 1
  48.     PUSHBUTTON "" ID ID_Time_Button AT (PREVLEFT PREVBOTTOM 48 AUTO) FONT 1
  49.  
  50.     BUTTON "Now" ID ID_Time_Now AT (PREVLEFT+5 PREVBOTTOM+15 38 AUTO) FONT 1
  51.  
  52.     LIST "12A" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12P" "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" ID ID_Time_Hour_List AT (94 18 30 AUTO) VISIBLEITEMS 12 USABLE FONT 1
  53.     LIST "00" "05" "10" "15" "20" "25" "30" "35" "40" "45" "50" "55" ID ID_Time_Min_List AT (PREVRIGHT+8 PREVTOP AUTO AUTO) VISIBLEITEMS 12 USABLE FONT 1
  54.     
  55.  
  56.     BUTTON "OK" ID ID_Time_OK AT (5 BOTTOM@151 38 AUTO)
  57.     BUTTON "Cancel" ID ID_Time_Cancel AT (PREVRIGHT+6 BOTTOM@151 38 AUTO)
  58. END
  59.  
  60. FORM ResultsForm 2 21 156 137
  61. MODAL
  62. SAVEBEHIND
  63. HELPID ID_Results_Help_String
  64. BEGIN
  65.     TITLE "                              "
  66.     TABLE ID ID_Results_Table AT (0 15 154 8*11) ROWS 8 COLUMNS 6 COLUMNWIDTHS 25 25 25 25 25 25
  67.  
  68.     BUTTON "OK" ID ID_Results_OK AT (3 BOTTOM@134 38 AUTO)
  69.     LABEL "Fare: $3.80" ID ID_Results_Fare_Label AT (PREVRIGHT+17 BOTTOM@PREVBOTTOM)
  70.     FIELD ID ID_Results_Time AT (RIGHT@154 PREVTOP 45 11) MAXCHARS 8 USABLE RIGHTALIGN SINGLELINE NONEDITABLE FONT 1
  71. END
  72.  
  73. STRING ID ID_Results_Help_String "\225 Each row of times in the table represents a trip; the first two columns are times for the first train, the second two are times for the second train (if necessary), and similarly for the third two columns.\n\n\225 If there is more than one train, transfers must be made at the common station(s).\n\n\225 Tap a train's times to find more detailed information (including destination station), or tap a station abbreviation to find its full name.\n\n\225 Fares are for one-way trips."
  74.  
  75. // we'll want to use this string instead if we're not using the popup windows
  76. // STRING ID ID_Results_Help_String "\225 Each row of times in the table represents a trip; the first two columns are times for the first train, the second two are times for the second train (if necessary), and similarly for the third two columns.\n\n\225 If there is more than one train, transfers must be made at the common station(s).\n\n\225 Fares are for one-way trips."
  77.  
  78.  
  79. // FORM PrefsForm 2 2 156 156
  80. // HELPID ID_Prefs_Help_String
  81. // MODAL
  82. // BEGIN
  83. //     TITLE "BART Scheduler Prefs"
  84. // 
  85. //     LABEL "Home Station:" ID ID_Prefs_Home AT (5 16) FONT 1
  86. //     POPUPTRIGGER "- none -" ID ID_Prefs_Station_Popup AT (PREVLEFT+8 PREVBOTTOM+1 AUTO AUTO) LEFTANCHOR
  87. //     LIST "" ID ID_Prefs_Station_List AT (PREVLEFT PREVTOP AUTO AUTO) VISIBLEITEMS 11 NONUSABLE
  88. //     POPUPLIST ID ID_Prefs_Station_Popup ID_Prefs_Station_List
  89. // 
  90. //     BUTTON "OK" ID ID_Prefs_OK AT (5 BOTTOM@151 38 AUTO)
  91. //     BUTTON "Cancel" ID ID_Prefs_Cancel AT (PREVRIGHT+6 BOTTOM@PREVBOTTOM 38 AUTO)
  92. // END
  93. // 
  94. // STRING ID ID_Prefs_Help_String "\225 The Home Station is the default for the To and From stations."
  95.  
  96. FORM StationSelectForm 2 2 156 156
  97. MENUID ID_Station_Select_Menu
  98. HELPID ID_Station_Select_Help_String
  99. MODAL
  100. SAVEBEHIND
  101. BEGIN
  102.     TITLE "Select Station"
  103.  
  104.     LIST "" ID ID_Station_List AT (16 16 100 AUTO) VISIBLEITEMS 11 USABLE
  105.  
  106.     BUTTON "OK" ID ID_Station_OK AT (3 BOTTOM@154 38 AUTO)
  107.     BUTTON "Cancel" ID ID_Station_Cancel AT (PREVRIGHT+7 BOTTOM@PREVBOTTOM 38 AUTO)
  108.     FIELD ID ID_Station_Field AT (CENTER@122 BOTTOM@PREVBOTTOM 50 11) MAXCHARS 40 USABLE SINGLELINE EDITABLE UNDERLINED
  109.     GRAFFITISTATEINDICATOR AT (145 145)
  110. END
  111.  
  112. STRING ID ID_Station_Select_Help_String "\225 Enter the first few letters of a station's name with Grafitti to jump to that station."
  113.  
  114. MENU ID ID_Station_Select_Menu
  115. BEGIN
  116.     PULLDOWN "Edit"
  117.     BEGIN
  118.     MENUITEM "Undo" ID ID_Edit_Undo "U"
  119.     MENUITEM "Cut" ID ID_Edit_Cut "X"
  120.     MENUITEM "Copy" ID ID_Edit_Copy "C"
  121.     MENUITEM "Paste" ID ID_Edit_Paste "P"
  122.     MENUITEM "Select All" ID ID_Edit_Select_All "S"
  123.         MENUITEM SEPARATOR
  124.         MENUITEM "Keyboard" ID ID_Edit_Keyboard "K"
  125.         MENUITEM "Graffiti Help" ID ID_Edit_Graffiti_Help "G"
  126.     END
  127. END
  128.  
  129. ALERT ID ID_BART_Info_Alert
  130. INFORMATION
  131. BEGIN
  132.     TITLE "BART Information"
  133.     MESSAGE "BART homepage: www.bart.org\n\nGeneral Bay Area transit homepage: www.transitinfo.org\nphone: 817-1717"
  134.     BUTTONS "OK"
  135. END
  136.  
  137. ALERT ID ID_About_Alert
  138. INFORMATION
  139. HELPID ID_About_Info_String
  140. BEGIN
  141.     TITLE "About BART Scheduler"
  142.     MESSAGE "BART Scheduler v^1\n\251 1999, 2000\nMichael Wittman\n\nSchedule database release: ^2\n\nBART Scheduler is free software.  Tap the info icon for more..."
  143.     BUTTONS "OK"
  144. END
  145.  
  146. STRING ID ID_About_Info_String "Please send bug reports, comments and suggestions about BART Scheduler to wittman@cs.berkeley.edu\n\nDownload the latest version (including source code) and current train schedules at www.cs.berkeley.edu/~wittman/bart-scheduler\n\nBART Scheduler is written to be mostly transit system independent. I encourage people to port it for use with other transit systems.\n\nThanks to the Post-PC project at UC Berkeley CS."
  147.  
  148. ALERT ID ID_Debug_Alert
  149. BEGIN
  150.     TITLE "Debug Info"
  151.     MESSAGE "^1"
  152.     BUTTONS "OK"
  153. END
  154.  
  155. APPLICATIONICONNAME 1000 "BART"
  156. ICON "bart.pbitm"
  157.  
  158. VERSION ID_Version "1.3b2"
  159.