Difference between revisions of "GUIToolkit"

From The Battle for Wesnoth Wiki
(Add link to new page.)
(Added some more information about the status)
Line 1: Line 1:
UNDER CONSTRUCTION DO NOT MODIFY -- SkeletonCrew
 
 
 
= Introduction =
 
= Introduction =
  
 
This is a new toolkit aiming to make it possible to make the look of Wesnoth fully skinable.
 
This is a new toolkit aiming to make it possible to make the look of Wesnoth fully skinable.
 
This will be used in Wesnoth the make it easier to optimize for different screen resolutions.
 
This will be used in Wesnoth the make it easier to optimize for different screen resolutions.
 +
The initial work in progress version has been released with Wesnoth 1.6. Since the development
 +
isn't done yet, these pages reflect the state of the trunl.
  
 
The engine has two parts:
 
The engine has two parts:
Line 10: Line 10:
 
* Window defintion, which defines how a certain window looks and it uses the widget definitions.
 
* Window defintion, which defines how a certain window looks and it uses the widget definitions.
  
 +
= Todo list =
 +
Here's a(n incomplete) list of items which still need to be done.
 +
* The layout engine can still have problems with not finding a solution and stop.
 +
** Make sure labels buttons etc can shrink and show ellipses to shrink small enough
 +
** Optimize the shrink algorithm
 +
* The code for the events is not entirely to my liking and I want to look at using signals instead.
 +
* [[EasyCoding#GUI2_related_features]]
 +
* Improve the markup for the text
 +
* Convert more dialogs
  
 
= Links =
 
= Links =

Revision as of 11:23, 21 March 2009

Introduction

This is a new toolkit aiming to make it possible to make the look of Wesnoth fully skinable. This will be used in Wesnoth the make it easier to optimize for different screen resolutions. The initial work in progress version has been released with Wesnoth 1.6. Since the development isn't done yet, these pages reflect the state of the trunl.

The engine has two parts:

  • Widget definition, which defines how a widget looks.
  • Window defintion, which defines how a certain window looks and it uses the widget definitions.

Todo list

Here's a(n incomplete) list of items which still need to be done.

  • The layout engine can still have problems with not finding a solution and stop.
    • Make sure labels buttons etc can shrink and show ellipses to shrink small enough
    • Optimize the shrink algorithm
  • The code for the events is not entirely to my liking and I want to look at using signals instead.
  • EasyCoding#GUI2_related_features
  • Improve the markup for the text
  • Convert more dialogs

Links

See also