class BiosSelection

Defined in:

crab/common/frontend/widgets/bios_selection.cr

Constant Summary

RED_TEXT_COL = ImGui::ImVec4.new(1, 0.5, 0.5, 1)

Constructors

Instance Method Summary

Instance methods inherited from class Resolvable

apply : Nil apply, render : Nil render, reset : Nil reset, visible : Bool visible, visible=(visible : Bool) visible=

Constructor Detail

def self.new(config : Config, file_explorer : ImGui::FileExplorer) #

[View source]

Instance Method Detail

def apply : Nil #
Description copied from class Resolvable

Called to indicate the selection should be written back to the config.


[View source]
def render : Nil #
Description copied from class Resolvable

Called once per frame for rendering the widget.


[View source]
def reset : Nil #
Description copied from class Resolvable

Called to indicate the widget should be reset.


[View source]