module ImGui::SFML
Extended Modules
Defined in:
imgui-sfml.crInstance Method Summary
- #get_font_texture : SF::Texture
- #init(window : SF::RenderWindow, load_default_font : Bool = true)
- #init(window : SF::Window, target : SF::RenderTarget, load_default_font : Bool = true)
- #init(window : SF::Window, display_size : SF::Vector2f, load_default_font : Bool = true)
- #process_event(window : SF::Window, event : SF::Event)
-
#process_event(event : SF::Event)
DEPRECATED Use
#process_event(Window, Event)
instead - #render(target : SF::RenderTarget)
- #render
- #set_active_joystick_id(joystick_id : Int)
- #set_current_window(window : SF::Window)
- #set_dpad_x_axis(dpad_x_axis : SF::Joystick::Axis, inverted : Bool = false)
- #set_dpad_y_axis(dpad_y_axis : SF::Joystick::Axis, inverted : Bool = false)
- #set_joystick_dpad_threshold(threshold : Number)
- #set_joystick_l_stick_threshold(threshold : Number)
- #set_joystick_l_trigger_threshold(threshold : Number)
- #set_joystick_mapping(key : Int | Enum, joystick_button : Int)
- #set_joystick_r_stick_threshold(threshold : Number)
- #set_joystick_r_trigger_threshold(threshold : Number)
- #set_l_stick_x_axis(l_stick_x_axis : SF::Joystick::Axis, inverted : Bool = false)
- #set_l_stick_y_axis(l_stick_y_axis : SF::Joystick::Axis, inverted : Bool = false)
- #set_l_trigger_axis(l_trigger_axis : SF::Joystick::Axis)
- #set_r_stick_x_axis(r_stick_x_axis : SF::Joystick::Axis, inverted : Bool = false)
- #set_r_stick_y_axis(r_stick_y_axis : SF::Joystick::Axis, inverted : Bool = false)
- #set_r_trigger_axis(r_trigger_axis : SF::Joystick::Axis)
- #shutdown(window : SF::Window)
- #shutdown
- #update(window : SF::Window, target : SF::RenderTarget, dt : SF::Time)
- #update(mouse_pos : SF::Vector2i, display_size : SF::Vector2f, dt : SF::Time)
- #update(window : SF::RenderWindow, dt : SF::Time)
- #update_font_texture
Instance Method Detail
def init(window : SF::Window, target : SF::RenderTarget, load_default_font : Bool = true)
#
def init(window : SF::Window, display_size : SF::Vector2f, load_default_font : Bool = true)
#
def set_l_stick_x_axis(l_stick_x_axis : SF::Joystick::Axis, inverted : Bool = false)
#
def set_l_stick_y_axis(l_stick_y_axis : SF::Joystick::Axis, inverted : Bool = false)
#
def set_r_stick_x_axis(r_stick_x_axis : SF::Joystick::Axis, inverted : Bool = false)
#
def set_r_stick_y_axis(r_stick_y_axis : SF::Joystick::Axis, inverted : Bool = false)
#