diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-22 09:06:55 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-22 09:06:55 +0000 |
commit | 8d0da8de6bc877969f9705f89fa071ceccc984ef (patch) | |
tree | 8a1053046c5858181f7da49ec2043f312afbb265 /src/gui/newskill.cpp | |
parent | 0242bf104f9555fe56fda4320c318ee3362361b6 (diff) | |
download | mana-8d0da8de6bc877969f9705f89fa071ceccc984ef.tar.gz mana-8d0da8de6bc877969f9705f89fa071ceccc984ef.tar.bz2 mana-8d0da8de6bc877969f9705f89fa071ceccc984ef.tar.xz mana-8d0da8de6bc877969f9705f89fa071ceccc984ef.zip |
Don't add all labels twice in new skill dialog, remove conflict and set
skill list to non-opaque.
Diffstat (limited to 'src/gui/newskill.cpp')
-rw-r--r-- | src/gui/newskill.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/newskill.cpp b/src/gui/newskill.cpp index 5a2321b4..37568e23 100644 --- a/src/gui/newskill.cpp +++ b/src/gui/newskill.cpp @@ -18,11 +18,7 @@ * along with The Mana World; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * -<<<<<<< newskill.cpp * $Id$ -======= - * $Id$ ->>>>>>> 1.2 */ /* This file implements the new skill dialog for use under the latest @@ -76,10 +72,8 @@ NewSkillDialog::NewSkillDialog(): // setting up the container skillList = new gcn::Container(); - skillList->setDimension(gcn::Rectangle(0,0,230,600)); - for(int b=0;b<N_SKILL;b++) { - skillList->add(&skillLabel[b],20,6 + 12*b);} - + skillList->setOpaque(false); + skillList->setDimension(gcn::Rectangle(0, 0, 230, 600)); for (int b = 0; b < N_SKILL; b++) { skillList->add(&skillLabel[b], 20, 20 * b); |