struct

GSDL::DialogStyle

Inherits Struct < Value < Object

Constructors

new(x : Float32 = 400_f32, y : Float32 = 400_f32, width : Int32 = 700, height : Int32 | Nil = nil, origin : Tuple(Float32, Float32) = {0.5_f32, 0.0_f32}, color : Color = ColorScheme.get(:ui_text), bg_color : Color = ColorScheme.get(:ui_bg), border_radius : Float32 = 8.0_f32, choices_x : Float32 = 400_f32, choices_y : Float32 = 510_f32, choices_origin : Tuple(Float32, Float32) = {0.5_f32, 0.0_f32}, choice_width : Int32 = 650, choice_height : Int32 | Nil = nil, choice_spacing : Float32 = 40.0_f32, choice_color : Color = ColorScheme.get(:ui_bg), choice_bg_color : Color = ColorScheme.get(:ui_text), choice_border_radius : Float32 = 4.0_f32, selected_prefix : String = "> ", unselected_prefix : String = " ")
Source

Class methods

classic_rpg
Source
side_panel
Source

Instance methods

bg_color
Source
border_radius
Source
choice_bg_color
Source
choice_border_radius
Source
choice_color
Source
choice_height
Source
choice_spacing
Source
choice_width
Source
choices_origin
Source
choices_x

Choices Configuration

Source
choices_y
Source
color
Source
height
Source
origin
Source
selected_prefix
Source
unselected_prefix
Source
width
Source
x

Main Box Configuration

Source