summaryrefslogtreecommitdiff
path: root/src/gui/newskill.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-22 09:06:55 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-02-22 09:06:55 +0000
commit8d0da8de6bc877969f9705f89fa071ceccc984ef (patch)
tree8a1053046c5858181f7da49ec2043f312afbb265 /src/gui/newskill.cpp
parent0242bf104f9555fe56fda4320c318ee3362361b6 (diff)
downloadmana-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.cpp10
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);