summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
AgeCommit message (Collapse)AuthorFilesLines
2025-06-25Split #include "utils/performance.h" out of localconsts.hFedja Beader1-0/+1
only about 160 out of 1500 files that include localconsts.h need to include performance.h Saves 12% from compile times (with profiler ON) and 0.1% with profiler OFF. **** mana/plus!189
2025-05-24Switch source code headers to ManaVerse & update copyrights to 2025Fedja Beader1-3/+3
.. instead of manaplus's header. & update copyrights to 2025. Open problem: should it be "The ManaVerse Client", "the ManaVerse client" or something in between in "This file is part of ..." line? All caps is current situation. Squashed with: * update copyright dates for 2025 * Revert "Switch to branch of mplint that checks for manaverse copyright headers" * Change back to uppercase The Why? This line was changed 3 times in history and all had an uppercase The. PS: ManaVerse has no endorsment from the parent project, ManaPlus. * Change to "This file is part of the ManaVerse Client" poppet says 'the' instead of 'The' find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e 's/This file is part of The ManaPlus Client/This file is part of the ManaVerse Client/' {} \+ * Change 'The ManaPlus Client' to 'The ManaVerse Client' in headers find . \( -name "*.h" -o -name "*.cpp" -o -name "*.cc" -o -name "*.inc" \) -execdir sed -i -e '2s/ManaPlus/ManaVerse/' {} \+ * Switch to branch of mplint that checks for manaverse copyright headers .. instead of manaplus's **** mana/plus!179
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva1-1/+2
2020-02-23Fix some code style issuesAndrei Karas1-1/+1
2019-01-01Update copyright year.Andrei Karas1-1/+1
2018-11-27Remove extra ; from different code.Andrei Karas1-6/+6
2018-11-05Fix code style.Andrei Karas1-4/+8
2018-10-29Fix code style.s20181102Andrei Karas1-1/+1
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2018-01-01Replace some status methods usage from member pointers to static member calls.Andrei Karas1-1/+1
2017-12-30Show assert if any windows used without own skin file.Andrei Karas1-0/+4
2017-12-27Remove default parameters from theme.Andrei Karas1-1/+4
2017-12-27Remove default parameters from window.Andrei Karas1-12/+12
2017-12-24Remove default parameters from widget2.Andrei Karas1-2/+2
2017-08-30Move some variables to better scope.Andrei Karas1-2/+1
2017-08-14Replace static members usage from pointers to direct classes.Andrei Karas1-2/+2
clang-tidy warning: readability-static-accessed-through-instance
2017-06-13Fix virtual member call in Window constructor.Andrei Karas1-1/+12
2017-06-13Report error about windows without postinit call in debug chat tab.Andrei Karas1-2/+3
2017-06-07Fix clang-tidy check readability-implicit-bool-cast.Andrei Karas1-74/+78
2017-05-08Unshadow variable mParent between Window and Widget.Andrei Karas1-1/+1
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-09-23Add missing comments into defines.Andrei Karas1-6/+6
2016-09-17Use strong typed bool Move for move variable in window.Andrei Karas1-1/+1
2016-06-07Move image class into image directory.Andrei Karas1-1/+1
2016-04-26Split graphicsvetexes into multiply files.Andrei Karas1-1/+1
2016-04-26Move graphicsvertexes into render/vertexes.Andrei Karas1-1/+2
2016-04-07Fix confirm dialog width if caption too big.Andrei Karas1-2/+2
2016-02-20Add missing const in gui directory.Andrei Karas1-2/+2
2016-02-08Improve some empty string checks.Andrei Karas1-1/+1
2016-02-07Replace most static_cast<Type> to shorter versions from defines.Andrei Karas1-7/+7
2016-02-07Fix some casts between signed and unsigned in some files.Andrei Karas1-5/+9
2016-02-05Impliment packet SMSG_NPC_CUTIN. Add support for cutins.Andrei Karas1-1/+1
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-12-31Move ImagePosition enum into enums directory.Andrei Karas1-20/+20
2015-12-14Move soundconsts.h into const directory.Andrei Karas1-1/+2
2015-11-10Add close button to all shortcuts windows.Andrei Karas1-1/+4
2015-08-03Add gui mode for dyecmd. Now only basic code added.Andrei Karas1-0/+10
2015-07-11Add missing checks into gui.Andrei Karas1-5/+8
2015-05-30Move theme colors enum into separate file.Andrei Karas1-2/+2
2015-05-30Convert MouseButton enum into strong typed enum.Andrei Karas1-1/+1
2015-05-28Add strong typed bool type Visible.Andrei Karas1-9/+14
2015-05-27Clear draw vertexes if window going hidden.Andrei Karas1-1/+6
2015-05-26Use local TextChunk in windows for draw caption text.Andrei Karas1-11/+34
2015-05-25Add method safeDrawChildren for safe OpenGL renderer.Andrei Karas1-1/+1
2015-05-25Add safeDraw method into window.Andrei Karas1-63/+94
2015-05-25Dont set global color variables before drawing text.Andrei Karas1-2/+5
This allow not set actual OpenGL color on each call because it useless for drawing text.
2015-05-23Move window variable from widget class to widget2 class.Andrei Karas1-0/+2
2015-05-23Add check in windows for posInit() calls.Andrei Karas1-1/+7
If postInit() was not called show error in log.
2015-05-10Improve window resize speed.Andrei Karas1-5/+10
2015-05-05Add strong typed bool type for modal bool flag.Andrei Karas1-6/+8