From: Markus R. <rol...@us...> - 2007-02-23 22:20:57
|
Update of /cvsroot/simspark/simspark/contrib/rsgedit In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv25329 Modified Files: Tag: WIN32 constants.cpp constants.h Log Message: - moved some constants from mainframe.cpp to constants - added ID_AGENT_OPEN, ID_AGENT_START and ID_AGENT_KILL Index: constants.h =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/Attic/constants.h,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -C2 -d -r1.1.2.5 -r1.1.2.6 *** constants.h 21 Feb 2007 20:11:33 -0000 1.1.2.5 --- constants.h 23 Feb 2007 22:20:53 -0000 1.1.2.6 *************** *** 41,45 **** ID_FILE_RELOAD = (wxID_HIGHEST+24), ! ID_HELP_ABOUT = (wxID_HIGHEST+25) }; --- 41,49 ---- ID_FILE_RELOAD = (wxID_HIGHEST+24), ! ID_HELP_ABOUT = (wxID_HIGHEST+25), ! ! ID_AGENT_OPEN = (wxID_HIGHEST+26), ! ID_AGENT_START = (wxID_HIGHEST+27), ! ID_AGENT_KILL = (wxID_HIGHEST+28) }; *************** *** 47,49 **** --- 51,62 ---- extern const float SIM_SIMSTEP; + // the default height of the log window pane [pixel] + extern const int LOGWND_DEFAULT_HEIGHT; + + // the update interval of the log window [milliseconds} + extern const int LOGWND_UPDATE_INTERVAL; + + // the default width of the tree window pane [pixel] + extern const int TREEWND_DEFAULT_WIDTH; + #endif // RSGEDIT_CONSTANTS_H Index: constants.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/Attic/constants.cpp,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** constants.cpp 22 Feb 2007 16:06:01 -0000 1.1.2.2 --- constants.cpp 23 Feb 2007 22:20:53 -0000 1.1.2.3 *************** *** 23,24 **** --- 23,32 ---- const float SIM_SIMSTEP = 0.02f; + // the default height of the log window pane [pixel] + const int LOGWND_DEFAULT_HEIGHT = 150; + + // the update interval of the log window [milliseconds} + const int LOGWND_UPDATE_INTERVAL = 100; + + // the default width of the tree window pane [pixel] + const int TREEWND_DEFAULT_WIDTH = 270; |