theme

package module
v0.0.0-...-64e0e50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2021 License: MIT Imports: 2 Imported by: 4

README

theme

Self-use imgui theme for giu.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RGBAToVec4

func RGBAToVec4(rgba color.RGBA) imgui.Vec4

func SetThemeDark

func SetThemeDark(style *imgui.Style)

func SetThemeFluentDark

func SetThemeFluentDark(style *imgui.Style)

func SetThemeFluentLight

func SetThemeFluentLight(style *imgui.Style)

func SetThemeLight

func SetThemeLight(style *imgui.Style)

Types

type EffectMethod

type EffectMethod struct {
	Push func()
	Pop  func()
}

func UseFont

func UseFont(font imgui.Font) EffectMethod

func UseLayoutFlat

func UseLayoutFlat() EffectMethod

func UseLayoutFluent

func UseLayoutFluent() EffectMethod

func UseStyleButtonDark

func UseStyleButtonDark() EffectMethod

func UseStyleButtonGhost

func UseStyleButtonGhost() EffectMethod

func UseStyleButtonLight

func UseStyleButtonLight() EffectMethod

type Palette

type Palette struct {
	Tint   color.RGBA
	Hover  color.RGBA
	Active color.RGBA
	BG     color.RGBA
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL