#48: Add Lua Support to Betawidget
----------------------------+-----------------------------------------------
 Reporter:  EvilGuru        |              Owner:  EvilGuru
     Type:  task            |             Status:  new     
 Priority:  major           |          Milestone:          
Component:  Engine: Widget  |            Version:          
 Keywords:  betawidget lua  |   Operating_system:  None    
----------------------------+-----------------------------------------------
 One of the most crucial parts of betawidget is its scriptability. With the
 core now stabilised it important to begin looking into adding Lua support.

 Requirements:
  * All widgets must be accessible from Lua; with all methods/functions
 wrapped in a Lua-table.
  * Support for Lua functions as event handlers for '''all''' widgets;
  ** will require a wrapper function in C to act as glue code.
  * Must be able to subclass widgets in Lua — with these subclasses being
 callable from C code (so Lua virtual methods).
  ** will require each widget to have a director subclass (as SWIG does
 with Python).

 There a still a lot of things that need to be worked out — be good if all
 discussion could be attached to this ticket to make the details easier to
 find when it comes round to actually implementing it.

-- 
Ticket URL: <http://developer.wz2100.net/ticket/48>
Warzone 2100 Trac <http://wz2100.net/>
The Warzone 2100 Resurrection Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to