module ImGui
Extended Modules
Defined in:
imgui-sfml.crInstance Method Summary
- #draw_line(a : SF::Vector2f, b : SF::Vector2f, col : SF::Color, thickness : Number = 1.0)
- #draw_rect(rect : SF::FloatRect, color : SF::Color, rounding : Number = 0.0, rounding_corners : Int = 15, thickness : Number = 1.0)
- #draw_rect_filled(rect : SF::FloatRect, color : SF::Color, rounding : Number = 0.0, rounding_corners : Int = 15)
- #image(texture : SF::Texture, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
- #image(texture : SF::Texture, size : SF::Vector2f, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
- #image(texture : SF::RenderTexture, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
- #image(texture : SF::RenderTexture, size : SF::Vector2f, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
- #image(sprite : SF::Sprite, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
- #image(sprite : SF::Sprite, size : SF::Vector2f, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
- #image_button(texture : SF::Texture, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
- #image_button(texture : SF::Texture, size : SF::Vector2f, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
- #image_button(texture : SF::RenderTexture, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
- #image_button(texture : SF::RenderTexture, size : SF::Vector2f, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
- #image_button(sprite : SF::Sprite, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
- #image_button(sprite : SF::Sprite, size : SF::Vector2f, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
Instance Method Detail
def draw_line(a : SF::Vector2f, b : SF::Vector2f, col : SF::Color, thickness : Number = 1.0)
#
def draw_rect(rect : SF::FloatRect, color : SF::Color, rounding : Number = 0.0, rounding_corners : Int = 15, thickness : Number = 1.0)
#
def draw_rect_filled(rect : SF::FloatRect, color : SF::Color, rounding : Number = 0.0, rounding_corners : Int = 15)
#
def image(texture : SF::Texture, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
#
def image(texture : SF::Texture, size : SF::Vector2f, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
#
def image(texture : SF::RenderTexture, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
#
def image(texture : SF::RenderTexture, size : SF::Vector2f, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
#
def image(sprite : SF::Sprite, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
#
def image(sprite : SF::Sprite, size : SF::Vector2f, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent)
#
def image_button(texture : SF::Texture, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
#
def image_button(texture : SF::Texture, size : SF::Vector2f, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
#
def image_button(texture : SF::RenderTexture, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
#
def image_button(texture : SF::RenderTexture, size : SF::Vector2f, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
#
def image_button(sprite : SF::Sprite, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
#
def image_button(sprite : SF::Sprite, size : SF::Vector2f, frame_padding : Int = -1, bg_color : SF::Color = SF::Color::Transparent, tint_color : SF::Color = SF::Color::White) : Bool
#