class checkbox

Declaration

class checkbox : public abstract, public value_t { /* full declaration omitted */ };

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:34

Inherits from: abstract, value_t

Member Variables

protected uint16_t dock_text = {}
protected uint16_t dock_box = {}
protected std::string text = {}
protected ekg::font font_size = {}
protected ekg::task* callback = {}

Inherited from abstract:

protected action_register = {}
protected layer_surfaces = {}
protected id = {}
protected parent_id = {}
protected owner_id = {}
protected child_id_list = {}
protected alive = {true}
protected visible = {true}
protected immutable = {}
protected dock_flags = {}
protected sync_flags = {}
protected tag = {}
protected state = {}
protected type = {ekg::type::abstract}
protected level = {}
protected rect_widget = {}
protected sync_ui = {}
protected scaled_height = {}

Method Overview

Inherited from abstract:

Methods

uint16_t get_box_align()

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:71

ekg::task* get_callback()

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:43

ekg::font get_font_size()

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:47

float get_height()

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:59

int32_t get_scaled_height()

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:57

std::string_view get_text()

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:63

uint16_t get_text_align()

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:67

float get_width()

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:53

ekg::ui::checkbox* set_box_align(uint16_t dock)

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:69

Parameters

uint16_t dock

ekg::ui::checkbox* set_callback(
    ekg::task* p_callback)

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:41

Parameters

ekg::task* p_callback

ekg::ui::checkbox* set_font_size(ekg::font font)

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:45

Parameters

ekg::font font

ekg::ui::checkbox* set_place(uint16_t dock)

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:49

Parameters

uint16_t dock

ekg::ui::checkbox* set_scaled_height(int32_t h)

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:55

Parameters

int32_t h

ekg::ui::checkbox* set_text(std::string_view text)

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:61

Parameters

std::string_view text

ekg::ui::checkbox* set_text_align(uint16_t dock)

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:65

Parameters

uint16_t dock

ekg::ui::checkbox* set_width(float w)

Declared at: include/ekg/ui/checkbox/ui_checkbox.hpp:51

Parameters

float w