Slick Forums

Discuss the Slick 2D Library
It is currently Mon May 20, 2013 2:01 pm

All times are UTC




Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: Sun Jun 27, 2010 1:18 pm 
Offline
Regular
User avatar

Joined: Thu May 21, 2009 10:25 am
Posts: 161
Location: France
You should see the TWL site to see how the binding class/xml works. Everything is in guiTheme.xml. This is the only file that I changed.

For the button I only need a press method and addCallback method is enough to do that. Image are set because the Eforen theme is link to guiTheme.xml.

By default twl components have a theme set (a string, by example "button" for the buttons). So you can see the mapping with image and border in guiTheme.xml:

<theme name="button" ref="-defaults" allowWildcard="true">
<param name=""><image>eforen.button.*</image></param>
<param name="border"><border>background.border</border></param>
<param name="textAlignment"><enum type="alignment">center</enum></param>
</theme>

If you want to learn TWL, go the the TWL site. Mathias do a great work with this library :)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 11, 2010 10:18 pm 
Offline
Site Admin

Joined: Mon Dec 08, 2008 2:17 pm
Posts: 140
Moved further discussion about kryonet to the discussion forum


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 10, 2011 3:11 pm 
Offline

Joined: Thu Mar 10, 2011 3:09 pm
Posts: 2
You should really get a public repo for this project. Github, Google Code, Sourceforge, Bitbucket etc.

_________________
http://freegamer.blogspot.com/


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 17, 2011 8:15 am 
Offline
Regular
User avatar

Joined: Thu May 21, 2009 10:25 am
Posts: 161
Location: France
I'am not working on this anymore. But you can still download sources :)


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 24, 2011 11:58 pm 
Offline

Joined: Thu Mar 10, 2011 3:09 pm
Posts: 2
What license are the sources released under? BSD? Public domain?

_________________
http://freegamer.blogspot.com/


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 26, 2011 5:33 pm 
Offline
Regular
User avatar

Joined: Thu May 21, 2009 10:25 am
Posts: 161
Location: France
Do whatever you want with the sources but I warn you they need to be rewritten.


Top
 Profile  
 
 Post subject: Re: STK RTS Prototype
PostPosted: Sun Jul 15, 2012 9:55 pm 
Offline

Joined: Sat Jul 14, 2012 2:35 am
Posts: 7
Vince wrote:
Do whatever you want with the sources but I warn you they need to be rewritten.


merci too for the sources, its a good starting point and still good documentation! compared to other projects, i could manage to understand your concept. tell us if u have updates :)

greetz ben


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page Previous  1, 2, 3

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group