colobot/src/ui
Piotr Dziwinski 7097ec38e3 Fix very subtle memory access bug
Some CScreen classes have functions which call ChangePhase() on
CRobotMain, which in turn calls ChangePhase() on CMainDialog, which in
turn deletes current CScreen object :(.

So the fix is to keep all CScreen objects created all the time and only
keep pointer to the currently active object.

This also makes it easy to clean up dependencies between CScreen classes
and get rid of all these ugly static variables and functions.
2015-08-06 08:18:22 +02:00
..
screen Fix very subtle memory access bug 2015-08-06 08:18:22 +02:00
README.txt Fixed code formatting 2013-05-27 10:19:16 +02:00
button.cpp More style fixes 2015-08-02 12:06:14 +02:00
button.h More style fixes 2015-08-02 12:06:14 +02:00
check.cpp More style fixes 2015-08-02 12:06:14 +02:00
check.h More style fixes 2015-08-02 12:06:14 +02:00
color.cpp Include refactoring 2015-08-02 17:49:07 +02:00
color.h More style fixes 2015-08-02 12:06:14 +02:00
compass.cpp Include refactoring 2015-08-02 17:49:07 +02:00
compass.h More style fixes 2015-08-02 12:06:14 +02:00
control.cpp Moved settings out of CMainDialog into a separate class 2015-08-04 12:46:54 +02:00
control.h Include refactoring 2015-08-02 17:49:07 +02:00
displayinfo.cpp Moved window position and font size storage from CRobotMain to CSettings 2015-08-04 13:09:34 +02:00
displayinfo.h Include refactoring 2015-08-02 17:49:07 +02:00
displaytext.cpp Include refactoring 2015-08-02 17:49:07 +02:00
displaytext.h More style fixes 2015-08-02 12:06:14 +02:00
edit.cpp Added #Include support in level files 2015-08-05 19:27:26 +02:00
edit.h Include refactoring 2015-08-02 17:49:07 +02:00
editvalue.cpp Possible fix for MXE builds 2015-08-03 22:12:41 +02:00
editvalue.h Include refactoring 2015-08-02 17:49:07 +02:00
enumslider.cpp More style fixes 2015-08-02 12:06:14 +02:00
enumslider.h More style fixes 2015-08-02 12:06:14 +02:00
gauge.cpp Include refactoring 2015-08-02 17:49:07 +02:00
gauge.h Include refactoring 2015-08-02 17:49:07 +02:00
group.cpp More style fixes 2015-08-02 12:06:14 +02:00
group.h More style fixes 2015-08-02 12:06:14 +02:00
image.cpp Fixed screenshot image lag on old GPUs that have problems with not power-of-2 textures (#546) 2015-08-03 22:06:27 +02:00
image.h More style fixes 2015-08-02 12:06:14 +02:00
interface.cpp More style fixes 2015-08-02 12:06:14 +02:00
interface.h Include refactoring 2015-08-02 17:49:07 +02:00
key.cpp Include refactoring 2015-08-02 17:49:07 +02:00
key.h Include refactoring 2015-08-02 17:49:07 +02:00
label.cpp Include refactoring 2015-08-02 17:49:07 +02:00
label.h More style fixes 2015-08-02 12:06:14 +02:00
list.cpp Include refactoring 2015-08-02 17:49:07 +02:00
list.h Include refactoring 2015-08-02 17:49:07 +02:00
maindialog.cpp Fix very subtle memory access bug 2015-08-06 08:18:22 +02:00
maindialog.h Fix very subtle memory access bug 2015-08-06 08:18:22 +02:00
mainmap.cpp More style fixes 2015-08-02 12:06:14 +02:00
mainmap.h More style fixes 2015-08-02 12:06:14 +02:00
mainshort.cpp Include refactoring 2015-08-02 17:49:07 +02:00
mainshort.h More style fixes 2015-08-02 12:06:14 +02:00
map.cpp Cleaned up "textures/"+something, fixed more possible occurences of #531 2015-08-03 20:55:33 +02:00
map.h Include refactoring 2015-08-02 17:49:07 +02:00
scroll.cpp More style fixes 2015-08-02 12:06:14 +02:00
scroll.h More style fixes 2015-08-02 12:06:14 +02:00
shortcut.cpp Include refactoring 2015-08-02 17:49:07 +02:00
shortcut.h More style fixes 2015-08-02 12:06:14 +02:00
slider.cpp More style fixes 2015-08-02 12:06:14 +02:00
slider.h Include refactoring 2015-08-02 17:49:07 +02:00
studio.cpp Moved window position and font size storage from CRobotMain to CSettings 2015-08-04 13:09:34 +02:00
studio.h Moved window position and font size storage from CRobotMain to CSettings 2015-08-04 13:09:34 +02:00
target.cpp Include refactoring 2015-08-02 17:49:07 +02:00
target.h More style fixes 2015-08-02 12:06:14 +02:00
window.cpp More style fixes 2015-08-02 12:06:14 +02:00
window.h Include refactoring 2015-08-02 17:49:07 +02:00

README.txt

/**
 * \dir src/ui
 * \brief 2D user interface controls
 */