1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-17 00:53:09 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
Maarten ter Huurne
cfd294b9ae IconButton: header cleanup. 2011-10-23 12:37:39 +02:00
Maarten ter Huurne
62facf4dc7 IconButton: removed unused functionality.
Labels were always right-aligned: this was the default and no other alignment
was ever selected.
Also removed unused getter and setter methods.
2011-10-23 12:30:20 +02:00
Maarten ter Huurne
abe9130de9 IconButton: fixed up-to-date check in setPosition().
Recalculate size if either x or y changed, not necessarily both of them.
2011-10-23 12:06:59 +02:00
Maarten ter Huurne
76613d1810 IconButton: removed unused local variable. 2011-10-23 12:05:27 +02:00
Maarten ter Huurne
7861e07eb0 Surface: Made "raw" field private.
I cheated a bit by declaring ASFont as friend, but all other outside
access now happens via methods.

I removed the "saveScreenshot" method since the code calling it is
commented out and I never heard anyone complain about missing this
feature.
2011-06-02 22:44:04 +02:00
Maarten ter Huurne
a35a7e2c35 Introduced enums for text alignment in the ASFont class. 2011-05-09 05:17:25 +02:00
Maarten ter Huurne
4468464505 Give Button a direct reference to the Touchscreen object instead of fetching it from the GMenu2X object. 2010-07-27 22:12:28 +02:00
Lars-Peter Clausen
d4490ba85c remove redundant assignments 2010-05-02 20:02:21 +02:00
Lars-Peter Clausen
28d3fc9ece iconbutton: Cache icon surface instead of doing serveral hashtable lookups per
frame
2010-05-02 14:52:46 +02:00
Lars-Peter Clausen
40a26e1a9c pass strings by reference where possible 2010-05-02 14:38:16 +02:00
Mirko Lindner
cddcd72e33 initial commit - needs clean-up
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
2010-02-04 12:33:47 +01:00