summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-09-26Change type for mCaptionAlign in Window class.Andrei Karas1-2/+3
2013-09-11remove unused includes from gui files.Andrei Karas1-0/+1
2013-09-02dehardcode some mode render mode constans usage.Andrei Karas1-1/+1
2013-08-31fix code style and some minor issues.Andrei Karas1-1/+2
2013-08-30remove duplicate variables.Andrei Karas1-9/+9
2013-08-29fix some missing checks.Andrei Karas1-24/+47
2013-08-24remove most static methods from Client.Andrei Karas1-1/+1
2013-08-24improve some mode methods in Client.Andrei Karas1-1/+1
2013-07-11move sound constants to separate file.Andrei Karas1-0/+1
2013-06-21fix code style.Andrei Karas1-1/+4
2013-06-20Add more profiler labels.Andrei Karas1-0/+7
2013-06-18dont show resize cursor if item is dragging.Andrei Karas1-0/+4
2013-06-18improve window.Andrei Karas1-72/+69
2013-05-09fix default window title bar height.Andrei Karas1-1/+1
2013-05-04add function to graphics class to set normal and outline colors at once.Andrei Karas1-2/+1
2013-05-02add new theme option for adjusting titlebar height.Andrei Karas1-0/+1
New theme option: titlebarHeightRelative Default value: 0 Because titlebar height can be calculated from font height. It can be changed by this option.
2013-05-02Fix tilebar padding with different font sizes.Andrei Karas1-2/+5
Fix paddings in outfits window.
2013-04-26fix code style more.Andrei Karas1-2/+2
2013-04-20fix style in gui directory.Andrei Karas1-0/+3
2013-04-12first part of style fixed after cpplint checks.Andrei Karas1-2/+1
2013-04-12fix random rare crashes in npc and possible other windows.Andrei Karas1-0/+3
2013-04-09Improve perfomance in windows and popups visibility checks.Andrei Karas1-2/+2
2013-03-31Rename SoundManager sigleton from sound to soundManager.Andrei Karas1-2/+2
2013-03-02Another fixes after Coverity checks.Andrei Karas1-0/+5
2013-01-20Fix crashes on closing client before entering game.Andrei Karas1-0/+2
2013-01-16update copyrights year.Andrei Karas1-1/+1
2012-12-27add support for outlining in window header.Andrei Karas1-0/+2
2012-12-27Remove set font from graphics object.Andrei Karas1-1/+0
2012-12-27Improve a bit draw speed in other controls.Andrei Karas1-2/+16
2012-12-25Fix sticky button draw changed image.Andrei Karas1-0/+1
2012-12-14Fix equipment window selected item draw.Andrei Karas1-1/+1
Also fix popup if selection changed.
2012-12-03Rename sound.cpp/h to soundmanager.Andrei Karas1-1/+1
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