Immediate Mode GUI from scratch based on .Net Standard 2.0
Currently only bindings WinForm
Plan more platforms in the future
- Text
- Button
- Frame
- Clipping
- Scrollbar
- Group
- InputText
- Input Filter
- Undo/Redo
- Selection
- Copy/Paste/Cut
- Single/Mulit
- History
- Slider
- Separator
- CheckBox
- Texture
- RadioButton
- ToolTips
- Menu
- DragInput
- Layout
- Vertical
- Horizontal
- Custom
- SameLine/NextLine
- ListBox
- Tree
- FreeType
- ColorPikcer
- Popup
- Selectable
- Combox
- Window
- Drag
- Title
- Sizable
- Collapse
- ProgressBar
Use LGui.XXX() between LGui.Begin() and LGui.End() The next examples to omit this part and variable define
Code
LGui.Text("Lite Gui {0}", Value);
if (LGui.Button("Click Me"))
{
}
LGui.Slider("SliderV", ref Value, 0, 10, 1);
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]);