summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-08-03Move Theme and UserPalette to the resources folderJared Adams1-1/+1
Reviewed-by: Yohann Ferreira
2010-07-28Centralized configuration default values using the VariableData system.Yohann Ferreira1-2/+2
Please note that I didn't turned all the getValue() call into new ones, simply because I have to have config object initiated which is not forcefully the case the branding file. Resolves: Manasource Mantis #170.
2010-03-31Removed the ability to assign custom skins to windows/popupsThorbjørn Lindeijer1-12/+1
Old settings are causing it to fall back on the wrong combination of files if old data is in the search path. Reviewed-by: Jared Adams
2010-03-12Split Palette into Theme and UserPaletteJared Adams1-1/+1
Themes can now control the colors they use. Colors in the Viewport (being names, particles, etc) can still be changed by the user. Also make ProgressBars more easily colored. DyePalette was made more flexible in the process. Also fixes comparing strings of different lengths insensitively. Reviewed-by: Thorbjørn Lindeijer
2010-03-05Rename SkinLoader to ThemeJared Adams1-4/+4
Also merge the guialpha ConfigListener into Theme. Reviewed-by: Thorbjørn Lindeijer
2010-03-02Revert "Merge WindowContainer into Viewport and remove extra members"Jared Adams1-7/+14
This reverts commit 67e678094b9fddd21fb3c690130e772937ab2746. Conflicts: src/gui/gui.cpp src/gui/viewport.cpp
2010-03-01Merge WindowContainer into Viewport and remove extra membersJared Adams1-14/+7
Reviewed-by: Chuck Miller
2010-03-01Hide BeingPopup when mouseover WindowsJared Adams1-0/+4
Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Chuck Miller
2010-02-22Modify copyright headersFreeyorp1-1/+2
2010-02-20License header update for The Mana ClientThorbjørn Lindeijer1-4/+3
2010-02-14Remove focus from a window's internal widgets on hiding.Tametomo1-0/+9
Signed-off-by: Tametomo <irarice@gmail.com>
2010-02-07Updated Copyright year to 2010!Bertram1-1/+1
Also added the update copyright tool from the Wormux Team. ( And not forgetting credit's due. :P )
2010-01-11Cleanup GUI classesJared Adams1-5/+5
Moved remaining widgets into widgets folder, standardized include order, moved TextRenderer out.
2009-12-04Don't process redudant visibility calls in WindowJared Adams1-0/+3
2009-12-04Reset the cursor when a window is hiddenJared Adams1-0/+8
2009-09-03Resolved Mantis #847: Login stage Windows won't go less than the default gui ↵Bertram1-1/+2
opacity. Of course, in-game, the wanted opacity still shows up.
2009-09-02Added a minimum alpha opacity value handle in SkinLoader and made use of it.Bertram1-1/+1
Part 1 of 3 for Mantis #847 Only a few controls follow minimum opacity value at login stage. Part 2 will make all other controls do the same. Part 3 will try to set default gui opacity value as a constant.
2009-07-30Fixed windows loss when changing to a lowered resolution. (Mantis 776)Bertram1-0/+67
2009-05-10Fixed the resize grip of the party windowBjørn Lindeijer1-7/+11
It wasn't re-added after doing a clear. Also, don't leak all the PartyMember and Avatar instances.
2009-05-09Increased the distance between head and overhead text a bitBjørn Lindeijer1-0/+1
Plus some small code cleanups.
2009-05-09Fix some memory leaksJared Adams1-1/+0
In doing so, NPC Dialogs now show the resize grip again.
2009-05-01Merge the NPC dialogs into oneJared Adams1-0/+24
Also add support for the new TMWServ NPC packets
2009-04-20Fix up window visibility saving/restoringJared Adams1-3/+5
2009-04-20Removed the unused itemshortcutwindow.{h,cpp}Bjørn Lindeijer1-1/+2
2009-04-20Repaired table and listbox scrolling when using the keyboard.Ira Rice1-6/+0
Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
2009-04-19Made ItemContainer wrap items depending on its width againBjørn Lindeijer1-1/+2
This is instead of taking a fixed number of rows and columns. The inventory and trade window are now resizable again. Other smaller changes: * Don't use bold font for the labels in the item container * Changed "(Eq)" back to "Eq." * Removed the ugly grid lines
2009-04-15Made the PopupMenu a Popup subclassBjørn Lindeijer1-8/+2
It's a natural better fit. The SkinLoader was changed into a singleton, since it's used by both Window and Popup classes.
2009-04-10Reduced the GCContainer to be even more trivialBjørn Lindeijer1-5/+1
A container that deletes all its children on destruction doesn't have to be so complicated. Also renamed it to simply Container, since I think it should simply be default behavior. WindowContainer and Popup classes now inherit from this Container.
2009-04-07Moved basic widgets into the gui/widgets directoryBjørn Lindeijer1-0/+725
In an attempt to make the GUI code a little more structured, basic widgets are now put in gui/widgets. Many includes were also cleaned up.