diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-10 13:42:43 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-10 13:42:43 -0700 |
commit | f634a2811c613d6ec43915841b37b66d54e2d4d4 (patch) | |
tree | 4195b9ef6baac725b8abacddd764f42dbf6492ba /src/gui/skill.cpp | |
parent | d80a7f02c4e1b9f9a728364b61118cc25d872a58 (diff) | |
download | mana-client-f634a2811c613d6ec43915841b37b66d54e2d4d4.tar.gz mana-client-f634a2811c613d6ec43915841b37b66d54e2d4d4.tar.bz2 mana-client-f634a2811c613d6ec43915841b37b66d54e2d4d4.tar.xz mana-client-f634a2811c613d6ec43915841b37b66d54e2d4d4.zip |
Made a few more window components use a transparency under OpenGL, as
well as some code style cleanups in the skill dialog.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/skill.cpp')
-rw-r--r-- | src/gui/skill.cpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp index 5e5782d9..2ff82030 100644 --- a/src/gui/skill.cpp +++ b/src/gui/skill.cpp @@ -58,11 +58,9 @@ public: update(); } - virtual int - getRows(void) { return mEntriesNr; } + virtual int getRows(void) { return mEntriesNr; } - virtual int - getColumnWidth(int index) + virtual int getColumnWidth(int index) { switch (index) { case 0: return 160; @@ -70,14 +68,12 @@ public: } } - virtual int - getRowHeight(void) + virtual int getRowHeight(void) { return 12; } - virtual void - update(void) + virtual void update(void) { static const SkillInfo fakeSkillInfo = { _("???"), false }; @@ -249,8 +245,7 @@ void SkillDialog::cleanList() mSkillList.clear(); } -static void -initSkillinfo(void) +static void initSkillinfo(void) { SkillInfo emptySkillInfo = { "", false }; |