Skip to content

UnSkyToo/LiteGui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiteGui

Introduction

Immediate Mode GUI from scratch based on .Net Standard 2.0.

Currently only bindings WinForms

Planning support for more platforms


Plan

  1. Text
  2. Button
  3. Frame
    1. Clipping
    2. Scrollbar
  4. Group
  5. InputText
    1. Input Filter
    2. Undo/Redo
    3. Selection
    4. Copy/Paste/Cut
    5. Single/Multi
    6. History
  6. Slider
  7. Separator
  8. CheckBox
  9. Texture
  10. RadioButton
  11. ToolTips
  12. Menu
  13. DragInput
  14. Layout
    1. Vertical
    2. Horizontal
    3. Custom
  15. SameLine/NextLine
  16. ListBox
  17. Tree
  18. FreeType
  19. ColorPicker
  20. Popup
  21. Selectable
  22. ComboBox
  23. Window
    1. Drag
    2. Title
    3. Sizable
    4. Collapse
  24. ProgressBar

Usage

Use LGui.XXX() between LGui.Begin() and LGui.End(). The following examples omit this part and variable definitions.

Code:

LGui.Text("Lite Gui {0}", Value);
if (LGui.Button("Click Me"))
{

}
LGui.Slider("SliderV", ref Value, 0, 10, 1);

Result: Usage1

Code:

if (LGui.ColorButton("ColorButton1", Color, new LGuiVec2(30, 30)))
{
    LGui.OpenPopup("Popup 1");
}

if (LGui.BeginPopup("Popup 1", new LGuiVec2(260, 310)))
{
    LGui.ColorPicker("Color Picker 1", ref Color);
    LGui.EndPopup();
}

LGui.ListBox("ListBox", ref ItemIndex, Items, new LGuiVec2(100, 150));
LGui.Text("Current Item : {0}", Items[ItemIndex]);

Result: Usage2

MemoryEditor & Window Usage3

Demo: UsageWhole

About

Immediate Mode GUI From Scratch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages