summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-10-20In all controls, call Widget2 methods to get colors.Andrei Karas1-1/+1
2012-10-20Derive all widgets from Widget2 class.Andrei Karas1-0/+1
2012-10-03Add sound effects for open/close windows.Andrei Karas1-0/+9
2012-09-27Fix mouse event handling in windows set visible.Andrei Karas1-1/+7
2012-09-23fix code style.Andrei Karas1-1/+2
2012-09-23Restore mouse cursor if window set visible and have mouse over.Andrei Karas1-1/+27
2012-09-22Restore default close image on window closingAndrei Karas1-0/+2
2012-09-19fix compilation warnings.Andrei Karas1-1/+1
2012-09-19Add resize grip padding.Andrei Karas1-25/+21
Fix resize grip position. New theme option: resizePadding
2012-09-16Add theme option "titlebarBold".Andrei Karas1-0/+2
If it set to non zero value, window title bar will use bold font.
2012-09-15Improve a bit widgets speed.Andrei Karas1-69/+74
2012-09-13Fix code style.Andrei Karas1-1/+3
2012-09-12Add for windows close button hover image.Andrei Karas1-11/+14
New theme parameter "closeImageHighlighted". It have attributes same as "closeImage".
2012-09-12Improver a bit window draw code.Andrei Karas1-69/+62
2012-09-07Improve constructors in some classes.Andrei Karas1-7/+9
2012-09-06Add theme option for title bar height.Andrei Karas1-7/+3
Option name: titlebarHeight Default value: 20 px
2012-09-05Add theme attribute for close button padding.Andrei Karas1-5/+7
Attribute name: closePadding Default value: 3 pixels.
2012-08-30Add const to more classes.Andrei Karas1-34/+38
2012-08-29Add window header own color.Andrei Karas1-1/+1
Parameter "WINDOW" in colors.xml
2012-08-23Remove useless includes.Andrei Karas1-1/+0
2012-08-08Fix typo in theme option captionalign.Andrei Karas1-1/+1
2012-08-08Add theme options for caption offset and align.Andrei Karas1-1/+19
Options: captionoffsetx captionoffsety captionallign
2012-08-05Move some hardcoded paddings to themes.Andrei Karas1-3/+15
2012-08-04Add support for default theme file names.Andrei Karas1-1/+1
2012-07-31Add theme option to show hide opaque background for some windows.Andrei Karas1-0/+7
2012-07-30Add addition options to skin objects.Andrei Karas1-0/+7
2012-07-13Fix leaks after last commit.Andrei Karas1-0/+5
2012-04-25Improve iterators part 1.Andrei Karas1-3/+2
2012-01-30Allow resizing of the game in windowed modeThorbjørn Lindeijer1-46/+32
Window positions are semi-smartly corrected as a result of the resize. Not supported when using OpenGL on Windows for now. Reviewed-by: Yohann Ferreira Conflicts: src/client.cpp src/client.h src/game.cpp src/gui/gui.cpp src/gui/widgets/window.cpp
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-11-07Fix some warnings under gcc 4.7.Andrei Karas1-8/+8
2011-09-15Remove some diplicated code from embeded guichan.Andrei Karas1-1/+1
2011-09-11Add support for padding in theme configuration files.Andrei Karas1-0/+2
2011-09-10Allow load for each window own xml theme file.Andrei Karas1-7/+19
2011-09-09Fix first part of shadow variables/methods errors.Andrei Karas1-44/+40
2011-09-08Replace most iterator to const_iterator.Andrei Karas1-1/+1
Some other minor changes.
2011-09-02Replace guichan iterators to const_iterator if need.Andrei Karas1-1/+1
2011-09-01Eliminate asserts from most files.Andrei Karas1-1/+2
2011-09-01Fix windows max x and y position.Andrei Karas1-4/+4
was to one pixel less then screen size.
2011-08-31Add ability to lock any window position and size. Using sticky image for this.Andrei Karas1-12/+40
2011-08-22Improve draw perfomance.Andrei Karas1-6/+2
Add new theme color DROPDOWN_SHADOW.
2011-08-12Rename file names log and chatlog to correct logger and chatlogger.Andrei Karas1-1/+1
2011-07-07Remove undescore from variables and defines.Andrei Karas1-5/+5
2011-07-02Replace some getters to direct members access in graphics class.Andrei Karas1-40/+40
2011-06-01Change trade window font to secure font if need.Andrei Karas1-1/+2
2011-05-31Revert "Switch includes to use embedded guichan."Andrei Karas1-2/+2
This reverts commit 338c3b1cae626830c9b9d231aeb9f9e8034b37d1.
2011-05-30Switch includes to use embedded guichan.Andrei Karas1-2/+2
2011-05-24Add simple memory leak detector.Andrei Karas1-0/+2
Can be enabled by configure option -enable-memdebug=yes. Known issue: not all memory allocations hooked with it.
2011-04-21Fix draw issue in SDL after vertex precalculation.Andrei Karas1-1/+12
2011-04-12Fix windows size if part of window showed out of screen.Andrei Karas1-0/+16