[Trainsched-commit] trainsched trainsched.rcp,1.14,1.15
Brought to you by:
philm
|
From: Steve M. <sma...@us...> - 2009-04-26 08:07:24
|
Update of /cvsroot/trainsched/trainsched In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv503 Modified Files: trainsched.rcp Log Message: Fixed cosmetic issue with table column widths. Index: trainsched.rcp =================================================================== RCS file: /cvsroot/trainsched/trainsched/trainsched.rcp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** trainsched.rcp 25 Apr 2009 16:14:10 -0000 1.14 --- trainsched.rcp 26 Apr 2009 08:07:21 -0000 1.15 *************** *** 1,156 **** ! /* Trainsched.c - display train schedule on Palm Pilot ! * (C) 2001 Philippe Marzouk <ph...@us...> ! */ ! /* ! This program is free software; you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation; either version 2 of the License, or ! at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! */ ! ! #include "trainsched.h" ! ! VERSION ID 1 "0.5.0" ! ! ! /* Icons for launching the software */ ! ICON "trainsched.bmp" ! SMALLICON "minitrainsched.bmp" ! ! /* Bitmap for the About dialog box */ ! BITMAP aboutBitmap "trainsched.bmp" COMPRESS ! ! /* Main Form */ ! FORM ID resFormMain AT ( 0 0 160 160 ) ! menuid MainFormMenuBar ! FRAME /* Was NOFRAME */ ! USABLE ! BEGIN ! TITLE "Train time " ! ! POPUPTRIGGER "Day" ID resDayTrigger ! AT (0 15 AUTO AUTO) LEFTANCHOR ! ! LIST "" ID resDayList AT (PREVLEFT PREVTOP+2 45 0) ! NONUSABLE VISIBLEITEMS 3 ! ! POPUPLIST ID resDayTrigger resDayList ! ! ! POPUPTRIGGER "From" ID resFromTrigger ! AT (0 33 AUTO AUTO) LEFTANCHOR ! ! LIST "" ID resFromList ! AT (PREVLEFT PREVTOP+2 60 0) ! NONUSABLE VISIBLEITEMS 10 ! ! POPUPLIST ID resFromTrigger resFromList ! ! POPUPTRIGGER "To" ID resToTrigger ! AT (80 33 AUTO AUTO) LEFTANCHOR ! ! LIST "" ! ID resToList ! AT (PREVLEFT PREVTOP+2 60 0) ! NONUSABLE VISIBLEITEMS 10 ! ! POPUPLIST ID resToTrigger resToList ! ! TABLE ID resTimeTable AT (2 PREVTOP+14 146 110) ! ROWS 10 COLUMNS 2 COLUMNWIDTHS 70 70 ! TABLE ID resTimeTable3c AT (2 PREVTOP 146 110) ! ROWS 10 COLUMNS 3 COLUMNWIDTHS 55 55 36 ! ! SCROLLBAR ID resTableScrollBar AT (PREVRIGHT+2 PREVTOP 7 PREVHEIGHT) ! USABLE ! ! ! BUTTON "Reverse" ID resReverseBtn AT (100 18 AUTO AUTO) ! END ! ! /* Main Menu */ ! MENU ID MainFormMenuBar ! BEGIN ! PULLDOWN "Options" ! BEGIN ! MENUITEM "Timetable..." ID MainOptionsSelectCmd "S" ! MENUITEM "Abbreviations..." ID MainOptionsAbbreviations "B" ! MENUITEM SEPARATOR ! MENUITEM "About..." ID MainOptionsAboutCmd "A" ! END ! END ! ! /* About Dialog Box */ ! FORM ID aboutForm AT (2 2 156 156) MODAL ! BEGIN ! TITLE "About TrainSched" ! ! LABEL "http://trainsched.sf.net" AUTOID AT (4 PrevTop+11) ! ! LABEL "ph...@us..." AUTOID AT (4 PrevTop+11) FONT 1 ! LABEL "TrainSched" AUTOID AT (90 PrevTop+20) ! ! FORMBITMAP AT (98 PrevTop+15) BITMAP aboutBitmap ! ! LABEL "© 2001-2009" AUTOID AT (16 PrevTop-15) ! LABEL "Philippe Marzouk" AUTOID AT (16 PrevTop+12) ! LABEL "All rights reserved" AUTOID AT (16 PrevTop+12) ! LABEL "Enhancements by:" AUTOID AT (4 PrevTop+16) ! LABEL "Damien Carbery (2004-2005)" AUTOID AT (16 PrevTop+12) ! LABEL "Steve Martin (2009)" AUTOID AT (16 PrevTop+12) ! ! LABEL "Released under the GNU GPL" AUTOID AT (8 PrevTop+16) FONT 1 ! LABEL "version 0.5.0pre2" AUTOID AT (8 PrevTop+12) FONT 1 ! ! BUTTON "Ok" ID aboutFormOkButton AT (100 138 36 AUTO) ! END ! ! /* File selection Dialog box */ ! FORM ID selectForm AT (2 2 156 156) USABLE MODAL ! BEGIN ! TITLE "Timetable Selection" ! ! LABEL "Select Timetable:" AUTOID AT (4 14) ! ! TABLE ID selectFrmTable AT (2 PREVTOP+11 144 88) ! ROWS 8 COLUMNS 1 COLUMNWIDTHS 140 ! ! SCROLLBAR ID selectFrmTableScrollBar AT (PREVRIGHT+2 PREVTOP 7 PREVHEIGHT) ! USABLE ! ! BUTTON "Beam" ID selectFrmBeamButton AT (10 PREVTOP+93 40 AUTO) USABLE ! BUTTON "Delete" ID selectFrmDeleteButton AT (110 PREVTOP 40 AUTO) USABLE ! BUTTON "Ok" ID selectFrmOKButton AT (30 PREVTOP+20 40 AUTO) USABLE ! BUTTON "Cancel" ID selectFrmCancel AT (90 PREVTOP 40 AUTO) USABLE ! END ! ! ALERT ID alertDialog1 ! WARNING ! BEGIN ! TITLE "Error!" ! MESSAGE "^1" ! BUTTONS "Ok" ! END ! ! ALERT ID alertAbbreviations ! INFORMATION ! BEGIN ! TITLE "Abbreviations" ! MESSAGE "^1" ! BUTTONS "OK" ! END ! ! STRING ID NO_PDB "No timetables found, please install one first (see http://trainsched.sf.net)." ! STRING ID NO_SELECTION "You must select a timetable first." ! STRING ID NO_DELETE "You cannot delete the current timetable." ! STRING ID NOT_IMPL "Function not yet implemented." ! --- 1,156 ---- ! /* Trainsched.c - display train schedule on Palm Pilot ! * (C) 2001 Philippe Marzouk <ph...@us...> ! */ ! /* ! This program is free software; you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation; either version 2 of the License, or ! at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! */ ! ! #include "trainsched.h" ! ! VERSION ID 1 "0.5.0" ! ! ! /* Icons for launching the software */ ! ICON "trainsched.bmp" ! SMALLICON "minitrainsched.bmp" ! ! /* Bitmap for the About dialog box */ ! BITMAP aboutBitmap "trainsched.bmp" COMPRESS ! ! /* Main Form */ ! FORM ID resFormMain AT ( 0 0 160 160 ) ! menuid MainFormMenuBar ! FRAME /* Was NOFRAME */ ! USABLE ! BEGIN ! TITLE "Train time " ! ! POPUPTRIGGER "Day" ID resDayTrigger ! AT (0 15 AUTO AUTO) LEFTANCHOR ! ! LIST "" ID resDayList AT (PREVLEFT PREVTOP+2 45 0) ! NONUSABLE VISIBLEITEMS 3 ! ! POPUPLIST ID resDayTrigger resDayList ! ! ! POPUPTRIGGER "From" ID resFromTrigger ! AT (0 33 AUTO AUTO) LEFTANCHOR ! ! LIST "" ID resFromList ! AT (PREVLEFT PREVTOP+2 60 0) ! NONUSABLE VISIBLEITEMS 10 ! ! POPUPLIST ID resFromTrigger resFromList ! ! POPUPTRIGGER "To" ID resToTrigger ! AT (80 33 AUTO AUTO) LEFTANCHOR ! ! LIST "" ! ID resToList ! AT (PREVLEFT PREVTOP+2 60 0) ! NONUSABLE VISIBLEITEMS 10 ! ! POPUPLIST ID resToTrigger resToList ! ! TABLE ID resTimeTable AT (2 PREVTOP+14 146 110) ! ROWS 10 COLUMNS 2 COLUMNWIDTHS 73 73 ! TABLE ID resTimeTable3c AT (2 PREVTOP 146 110) ! ROWS 10 COLUMNS 3 COLUMNWIDTHS 55 55 36 ! ! SCROLLBAR ID resTableScrollBar AT (PREVRIGHT+2 PREVTOP 7 PREVHEIGHT) ! USABLE ! ! ! BUTTON "Reverse" ID resReverseBtn AT (100 18 AUTO AUTO) ! END ! ! /* Main Menu */ ! MENU ID MainFormMenuBar ! BEGIN ! PULLDOWN "Options" ! BEGIN ! MENUITEM "Timetable..." ID MainOptionsSelectCmd "S" ! MENUITEM "Abbreviations..." ID MainOptionsAbbreviations "B" ! MENUITEM SEPARATOR ! MENUITEM "About..." ID MainOptionsAboutCmd "A" ! END ! END ! ! /* About Dialog Box */ ! FORM ID aboutForm AT (2 2 156 156) MODAL ! BEGIN ! TITLE "About TrainSched" ! ! LABEL "http://trainsched.sf.net" AUTOID AT (4 PrevTop+11) ! ! LABEL "ph...@us..." AUTOID AT (4 PrevTop+11) FONT 1 ! LABEL "TrainSched" AUTOID AT (90 PrevTop+20) ! ! FORMBITMAP AT (98 PrevTop+15) BITMAP aboutBitmap ! ! LABEL "© 2001-2009" AUTOID AT (16 PrevTop-15) ! LABEL "Philippe Marzouk" AUTOID AT (16 PrevTop+12) ! LABEL "All rights reserved" AUTOID AT (16 PrevTop+12) ! LABEL "Enhancements by:" AUTOID AT (4 PrevTop+16) ! LABEL "Damien Carbery (2004-2005)" AUTOID AT (16 PrevTop+12) ! LABEL "Steve Martin (2009)" AUTOID AT (16 PrevTop+12) ! ! LABEL "Released under the GNU GPL" AUTOID AT (8 PrevTop+16) FONT 1 ! LABEL "version 0.5.0pre2" AUTOID AT (8 PrevTop+12) FONT 1 ! ! BUTTON "Ok" ID aboutFormOkButton AT (100 138 36 AUTO) ! END ! ! /* File selection Dialog box */ ! FORM ID selectForm AT (2 2 156 156) USABLE MODAL ! BEGIN ! TITLE "Timetable Selection" ! ! LABEL "Select Timetable:" AUTOID AT (4 14) ! ! TABLE ID selectFrmTable AT (2 PREVTOP+11 144 88) ! ROWS 8 COLUMNS 1 COLUMNWIDTHS 144 ! ! SCROLLBAR ID selectFrmTableScrollBar AT (PREVRIGHT+2 PREVTOP 7 PREVHEIGHT) ! USABLE ! ! BUTTON "Beam" ID selectFrmBeamButton AT (10 PREVTOP+93 40 AUTO) USABLE ! BUTTON "Delete" ID selectFrmDeleteButton AT (110 PREVTOP 40 AUTO) USABLE ! BUTTON "Ok" ID selectFrmOKButton AT (30 PREVTOP+20 40 AUTO) USABLE ! BUTTON "Cancel" ID selectFrmCancel AT (90 PREVTOP 40 AUTO) USABLE ! END ! ! ALERT ID alertDialog1 ! WARNING ! BEGIN ! TITLE "Error!" ! MESSAGE "^1" ! BUTTONS "Ok" ! END ! ! ALERT ID alertAbbreviations ! INFORMATION ! BEGIN ! TITLE "Abbreviations" ! MESSAGE "^1" ! BUTTONS "OK" ! END ! ! STRING ID NO_PDB "No timetables found, please install one first (see http://trainsched.sf.net)." ! STRING ID NO_SELECTION "You must select a timetable first." ! STRING ID NO_DELETE "You cannot delete the current timetable." ! STRING ID NOT_IMPL "Function not yet implemented." ! |