Difference between revisions of "Quickie"

(formattin)
Line 1: Line 1:
== DISCONTINUED - superceeded by [[SUIT]] ==
+
Quickie is a [http://www.mollyrocket.com/forums/viewforum.php?f=10 immediate mode GUI] implementation for LÖVE.
  
== Simple(r) GUI implementation ==
+
{{notice|In the recent versions, Quickie has been renamed to [[SUIT]]}}
 
 
Quickie is a [http://www.mollyrocket.com/forums/viewforum.php?f=10 immediate mode gui] implementation for LÖVE.
 
  
 +
== Immediate mode GUIs ==
 
In immediate mode GUIs you don't have button-*objects*, slider-*objects* and other-*objects* that are created in one place and used in another place. Rather, all widgets are just functions that put stuff where you want it. In addition, widgets don't keep track of their state (e.g. the slider value) - you have to do it. This approach makes a lot of things easier:
 
In immediate mode GUIs you don't have button-*objects*, slider-*objects* and other-*objects* that are created in one place and used in another place. Rather, all widgets are just functions that put stuff where you want it. In addition, widgets don't keep track of their state (e.g. the slider value) - you have to do it. This approach makes a lot of things easier:
  
Line 11: Line 10:
 
* Want to get the value out of a widget? You already have it!
 
* Want to get the value out of a widget? You already have it!
  
 +
== Widgets ==
 
Quickie defines several widgets often found in games:
 
Quickie defines several widgets often found in games:
  
Line 23: Line 23:
 
Quickie also includes flexible group layout tool.
 
Quickie also includes flexible group layout tool.
  
Code at github: https://github.com/vrld/Quickie
+
== Links ==
 
+
* [https://github.com/vrld/Quickie Repository]
Forum post: https://love2d.org/forums/viewtopic.php?f=5&t=7811
+
* [https://love2d.org/forums/viewtopic.php?f=5&t=7811 Forum thread]
  
 
{{#set:LOVE Version=0.8.x}}
 
{{#set:LOVE Version=0.8.x}}
 
{{#set:LOVE Min Version=0.7.x}}
 
{{#set:LOVE Min Version=0.7.x}}
{{#set:Description=Simple(r), but powerful GUI **DISCONTINUED**}}
+
{{#set:Description=Simple(r), but powerful GUI.}}
 
{{#set:Keyword=GUI}}
 
{{#set:Keyword=GUI}}
 
[[Category:Libraries]]
 
[[Category:Libraries]]

Revision as of 02:20, 27 March 2016

Quickie is a immediate mode GUI implementation for LÖVE.

O.png In the recent versions, Quickie has been renamed to SUIT  


Immediate mode GUIs

In immediate mode GUIs you don't have button-*objects*, slider-*objects* and other-*objects* that are created in one place and used in another place. Rather, all widgets are just functions that put stuff where you want it. In addition, widgets don't keep track of their state (e.g. the slider value) - you have to do it. This approach makes a lot of things easier:

  • Want to hide the widget? Simply don't call the function!
  • Want to place the widget at a different position, for example above the player's head? Just call the function with different arguments!
  • Want to get the value out of a widget? You already have it!

Widgets

Quickie defines several widgets often found in games:

  • Buttons,
  • Input boxes,
  • Sliders,
  • Checkbockes, and
  • Labels.

If you need more, you can always create new widgets. It's super easy.

Quickie also includes flexible group layout tool.

Links