summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-04-20fix style in gui directory.Andrei Karas1-4/+16
2013-04-12first part of style fixed after cpplint checks.Andrei Karas1-5/+5
2013-04-12fix random rare crashes in npc and possible other windows.Andrei Karas1-0/+3
2013-04-07fix more style, add consts.Andrei Karas1-1/+1
2013-01-16update copyrights year.Andrei Karas1-1/+1
2012-12-28Fix different warnings from previous commits.Andrei Karas1-2/+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-14/+24
2012-12-11Remove useless brackets.Andrei Karas1-4/+4
2012-12-01Add batch drawing for any images.Andrei Karas1-24/+41
Add this drawing to Button.
2012-11-07Add own profiler and profiler info to some code.Andrei Karas1-0/+5
2012-10-20Fix code style and some minor issues.Andrei Karas1-5/+0
2012-10-20Add palette inheritance to button class.Andrei Karas1-8/+10
2012-10-20In all controls, call Widget2 methods to get colors.Andrei Karas1-4/+7
2012-10-20Derive all widgets from Widget2 class.Andrei Karas1-0/+1
2012-10-19Fix namespace conflicts.Andrei Karas1-4/+4
2012-10-14Add new parameters to buttons theming.Andrei Karas1-27/+47
New parameters: padding - padding over button text. spacing - space between text and image.
2012-09-14Improve a bit some gui controls speed.Andrei Karas1-4/+5
2012-09-11Add new colors for button theming.Andrei Karas1-4/+17
New colors: BUTTON_PRESSED and BUTTON_HIGHLIGHTED.
2012-09-09fix code style.Andrei Karas1-0/+1
2012-09-07Improve constructors in some classes.Andrei Karas1-0/+6
2012-09-02Add const to more classes.Andrei Karas1-1/+1
2012-08-30Add const to more classes.Andrei Karas1-14/+16
2012-08-24fix includes.Andrei Karas1-1/+0
2012-08-04Add support for default theme file names.Andrei Karas1-1/+4
2012-07-13Fix leaks after last commit.Andrei Karas1-0/+6
2012-07-13Change scrollarea theming.Andrei Karas1-21/+1
2012-07-13Improve theming.Andrei Karas1-40/+22
Add support for theming button.
2012-04-19Dehardcode keys in gui widgets.Andrei Karas1-4/+6
Add new tab with keys settings in input settings tab.
2012-04-14Rename class InventoryFilter to RadioGroup.Andrei Karas1-17/+36
Add WidgetGroup and TabStrip classes for grouping controls.
2012-04-14Block enter key from pressing active button.Andrei Karas1-0/+23
2012-02-28Fix code style.Andrei Karas1-2/+1
2012-02-28Add some missing debug includes.Andrei Karas1-1/+1
2012-02-28Add image support for buttons.Andrei Karas1-20/+171
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-11-07Fix some warnings under gcc 4.7.Andrei Karas1-1/+1
2011-08-22Improve draw perfomance.Andrei Karas1-2/+5
Add new theme color DROPDOWN_SHADOW.
2011-08-22Replace typo dont to don't.Andrei Karas1-1/+1
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-2/+2
2011-06-02Fix some memory leaks and missing initialisations.Andrei Karas1-1/+6
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-0/+4
2011-04-16Fix some possible memory leaks.Andrei Karas1-0/+2
2011-03-26Precalculation vertexes for improving draw speed.Andrei Karas1-4/+60
Implemented in Software and fast OpenGL backends. Not all controls using this mode because some limitations. Known issue: impossible compile without opengl. Will be fixed in next commits.
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-02Initial commit.Andrei Karas1-0/+227
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.