summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-12-01add batch draw to equipment window.Andrei Karas1-1/+6
2012-12-01Add batch drawing to window.Andrei Karas1-26/+64
2012-11-07Add own profiler and profiler info to some code.Andrei Karas1-0/+2
2012-10-28Fix stick button placment.Andrei Karas1-2/+3
2012-10-28Extend window theming.Andrei Karas1-2/+3
New theme options: stickyPadding - padding for sticky button from top. stickySpacing - space between sticky button and close button. By default both parameters is 3.
2012-10-25Add support for different hover/pickup cursors for monsters, npc, items, etc.Andrei Karas1-10/+10
In monsters.xml new monster attribute: hoverCursor - default value "attack". In npcs.xml new npc attribute: hoverCursor - default value "talk". In items.xml new item attribute: pickupCursor - default value "pickup". Warps using "up" cursor for now.
2012-10-22Add auto resize feature to equipment window for correct placing slots.Andrei Karas1-4/+4
2012-10-20Fix code style and some minor issues.Andrei Karas1-3/+0
2012-10-20Fix palettes loading and using.Andrei Karas1-3/+1
2012-10-20Add load theme id for windows and popups.Andrei Karas1-0/+6
New theme options: palette - palette number for window or popup. childPalette - palette number for window child controls. palette and childPalette should be from 0 to 4.
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