summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.cpp
AgeCommit message (Collapse)AuthorFilesLines
2015-06-06Fix code style.Andrei Karas1-2/+0
2015-06-04Fix removing listeners from window if used guitable as container.Andrei Karas1-0/+13
This fixing crash with settings window after reconnect to server.
2015-05-31Convert InputAction enum into strong typed enum.Andrei Karas1-2/+2
2015-05-30Move inputaction into enums directory.Andrei Karas1-1/+1
2015-05-30Move theme colors enum into separate file.Andrei Karas1-40/+40
2015-05-25Add safeDraw method into button.Andrei Karas1-31/+152
2015-05-25Remove color2 from graphics.Andrei Karas1-17/+19
2015-05-25Dont set global color variables before drawing text.Andrei Karas1-1/+0
This allow not set actual OpenGL color on each call because it useless for drawing text.
2015-05-23If window with button is hidden then release text image and vertexes.Andrei Karas1-0/+19
This will reduce memory usage and not affect performance.
2015-05-22Fix code style.Andrei Karas1-1/+1
2015-05-20Use fast draw way in drawing string in buttons.Andrei Karas1-6/+35
2015-05-10Improve performance in button drawing.Andrei Karas1-8/+15
2015-05-10Sort varibles in button and remove some unused functions.Andrei Karas1-25/+25
2015-03-17Remove useless includes from .h files.Andrei Karas1-0/+2
2015-03-16Remove useless includes from cpp filesAndrei Karas1-1/+0
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-10-10Fix code style.Andrei Karas1-2/+0
2014-06-13In modernopengl add support for buffered draw tile collection.Andrei Karas1-0/+1
This is first cached function implemented in modernopengl. Also add support for bind buffer attributes. Add finalize method to convert any cached data into data for GPU.
2014-05-31fix code style.Andrei Karas1-1/+0
2014-05-30Move main window related code into windowmanager.Andrei Karas1-1/+2
2014-05-19fix code style.Andrei Karas1-1/+1
2014-05-18Move inputaction into separate file.Andrei Karas1-2/+3
2014-05-18Move mousebutton into separate file.Andrei Karas1-2/+2
2014-05-17Move font.cpp/h into fonts directory.Andrei Karas1-1/+2
2014-05-14Move skin into separate file.Andrei Karas1-0/+1
2014-04-06Move redraw flag from widgets into base widget.Andrei Karas1-5/+0
2014-03-28simplify variables cleanup.Andrei Karas1-3/+3
2014-03-21Rename keyEvent variables into event.Andrei Karas1-6/+6
2014-03-21Rename mouseEvent variables into event.Andrei Karas1-11/+11
2014-03-17Exclude useless logic methods calls.Andrei Karas1-0/+1
2014-03-16Improve theme usage.Andrei Karas1-8/+4
Removed instance method.
2014-03-08fix code style.Andrei Karas1-1/+0
2014-03-02Merge button classes in one.Andrei Karas1-13/+138
2014-02-24Rename Rectangle into Rect.Andrei Karas1-2/+4
Rename ClipRectangle into ClipRect.
2014-02-23Rename drawImage2 methods into drawImage.Andrei Karas1-2/+2
2014-02-22Move Rectangle and ClipRectangle into gui directory.Andrei Karas1-2/+2
2014-02-20improve includes.Andrei Karas1-0/+2
2014-02-18derive Widget from Widget2.Andrei Karas1-10/+5
2014-02-16combine font classes in one.Andrei Karas1-3/+3
2014-02-16move mouseevent into events directory.Andrei Karas1-2/+2
2014-02-16Remove useless casts with KeyEvent.Andrei Karas1-2/+2
2014-02-16move keyevent into events directory.Andrei Karas1-3/+4
2014-02-16move event into events directory.Andrei Karas1-2/+2
2014-02-16move widgetlistener from base into listeners.Andrei Karas1-5/+5
2014-02-15move actionlistener from base into listeners.Andrei Karas1-4/+4
2014-02-15Remove useless graphics casts.Andrei Karas1-21/+19
2014-02-15move some methods from base/graphics into render/graphics.Andrei Karas1-4/+4
Remove base/graphcs.
2014-02-15move exguichan files into gui/base/Andrei Karas1-1/+1
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1
2013-12-29improve draw image calls.Andrei Karas1-2/+2