modules.gui.helper#
- class modules.gui.helper.Helper(*args: Any, **kwargs: Any)#
Bases:
ContextLogic related to rendering the Hierarchy window
- __init__(context: EmberEngine)#
- draw_button(uid: str, region: float = -1.0, colors: list[imgui_bundle.imgui.ImVec4] = None) bool#
- draw_close_button(uid: str, region: float = -1.0) bool#
- draw_color_legend_item(text: str, color, size: float = 14.0, rounding: float = 5.0)#
- draw_edit_button(uid: str, region: float = -1.0) bool#
- draw_framed_text(fmt: str) None#
- draw_popup_gameObject(uid: str, filter=None)#
- draw_thumb(image_index: int, size: imgui_bundle.imgui.ImVec2, mouse_over_tooltip: bool = False)#
- draw_thumb_tooltip(image_index)#
- draw_trash_button(uid: str, region: float = -1.0) bool#
- draw_vec3_control(label, vector, resetValue=0.0, onChange=None, step: float = 0.01, is_enabled: bool = True) bool#
- radio_group(label: str, items: list[RadioStruct], current_index: int, start_pos: imgui_bundle.imgui.ImVec2 = None)#
- toggle_group(label: str, items: list[ToggleStruct], current_states: list[bool], start_pos: imgui_bundle.imgui.ImVec2 = None)#