0.1.1 • Published 4 months ago

tiny-gui v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

TinyGui

Tiny Gui for PixiJs inspired by DearImGui and CSS

Small gui library i use for my own project.
Heavy work in progress, not recommended for production yet.

Install

npm install tiny-gui

Example

    TinyGui.Begin(this) // main
    TinyGui.Display(TinyGui.DisplayFlag.FlexRow)

    TinyGui.Begin() // main -> left-area
    TinyGui.Display(TinyGui.DisplayFlag.FlexFixed)
    TinyGui.Rect(25, '100%')
    TinyGui.Fill('#ddd')
    TinyGui.End()

    TinyGui.Begin() // main -> fill center content
    TinyGui.Display(TinyGui.DisplayFlag.FlexDynamic)
    TinyGui.Rect('100%', '100%')
    TinyGui.Fill('#fff000')
    TinyGui.End()

    TinyGui.Begin() // main -> right-area
    TinyGui.Display(TinyGui.DisplayFlag.FlexFixed)
    TinyGui.Rect(25, '100%')
    TinyGui.Fill('#ddd')
    TinyGui.End()

    TinyGui.End()

Soon i will add more example into the /example folder.

0.1.1

4 months ago

0.1.0

4 months ago