[Super-tux-commit] supertux/src leveleditor.cpp,1.99,1.100 leveleditor.h,1.8,1.9
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-05-09 13:56:05
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17391/src Modified Files: leveleditor.cpp leveleditor.h Log Message: Don't show selection cursor when help is being displayed. Index: leveleditor.h =================================================================== RCS file: /cvsroot/super-tux/supertux/src/leveleditor.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- leveleditor.h 5 May 2004 16:07:19 -0000 1.8 +++ leveleditor.h 9 May 2004 13:55:54 -0000 1.9 @@ -31,7 +31,8 @@ /* selection modes */ enum { CURSOR, - SQUARE + SQUARE, + NONE }; int leveleditor(char* filename = NULL); Index: leveleditor.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/leveleditor.cpp,v retrieving revision 1.99 retrieving revision 1.100 diff -u -d -r1.99 -r1.100 --- leveleditor.cpp 9 May 2004 11:14:12 -0000 1.99 +++ leveleditor.cpp 9 May 2004 13:55:54 -0000 1.100 @@ -1544,6 +1544,8 @@ void le_showhelp() { bool tmp_show_grid = le_show_grid; + int temp_le_selection_mode = le_selection_mode; + le_selection_mode = NONE; le_show_grid = false; le_help_shown = true; @@ -1648,4 +1650,5 @@ le_show_grid = tmp_show_grid; le_help_shown = false; + le_selection_mode = temp_le_selection_mode; } |