Difference between revisions of "Quickie"

(Created page with "== Simple(r) GUI implementation == Quickie is a [http://www.mollyrocket.com/forums/viewforum.php?f=10 immediate mode gui] implementation for LÖVE. In immediate mode GUIs you do...")
 
m (i18n)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Simple(r) GUI implementation ==
+
Quickie is a [http://www.mollyrocket.com/forums/viewforum.php?f=10 immediate mode GUI] implementation for LÖVE.
Quickie is a [http://www.mollyrocket.com/forums/viewforum.php?f=10 immediate mode gui] implementation for LÖVE.
 
  
In immediate mode GUIs you don't have button-objects, slider-objects and other-objects that you create and attach callbacks to in one place and query/modify in another place. Rather, all widgets are simply functions that place it 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:
+
{{notice|In the recent versions, Quickie has been renamed to [[SUIT]]}}
  
* Want to hide the widget? Simply don't call it!
+
== Immediate mode GUIs ==
* Want to place the widget at a changing position, for example above the player's head? Simply call it with appropriate arguments!
+
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 get a slider/inputbox/checkbox/whatevercoolwidget-value? It's already there!
 
  
Code at github: https://github.com/vrld/Quickie
+
* 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!
  
Forum post: https://love2d.org/forums/viewtopic.php?f=5&t=7811
+
== Widgets ==
 +
Quickie defines several widgets often found in games:
  
{{#set:LOVE Version=Any}}
+
* Buttons,
{{#set:Description=Simple(r) GUI}}
+
* 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 ==
 +
* [https://github.com/vrld/Quickie Repository]
 +
* [https://love2d.org/forums/viewtopic.php?f=5&t=7811 Forum thread]
 +
 
 +
{{#set:LOVE Version=0.8.x}}
 +
{{#set:LOVE Min Version=0.7.x}}
 +
{{#set:Description=Simple(r), but powerful GUI. '''(renamed to SUIT)'''}}
 +
{{#set:Keyword=GUI}}
 
[[Category:Libraries]]
 
[[Category:Libraries]]
 +
== Other Languages ==
 +
{{i18n|Quickie}}

Latest revision as of 01:10, 16 December 2019

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

Other Languages