module ImGui

Extended Modules

Defined in:

imgui-sfml.cr

Instance Method Summary

Instance Method Detail

def draw_line(a : SF::Vector2f, b : SF::Vector2f, col : SF::Color, thickness : Number = 1.0) #

[View source]
def draw_rect(rect : SF::FloatRect, color : SF::Color, rounding : Number = 0.0, rounding_corners : Int = 15, thickness : Number = 1.0) #

[View source]
def draw_rect_filled(rect : SF::FloatRect, color : SF::Color, rounding : Number = 0.0, rounding_corners : Int = 15) #

[View source]
def image(texture : SF::Texture, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent) #

[View source]
def image(texture : SF::Texture, size : SF::Vector2f, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent) #

[View source]
def image(texture : SF::RenderTexture, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent) #

[View source]
def image(texture : SF::RenderTexture, size : SF::Vector2f, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent) #

[View source]
def image(sprite : SF::Sprite, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent) #

[View source]
def image(sprite : SF::Sprite, size : SF::Vector2f, tint_color : SF::Color = SF::Color::White, border_color : SF::Color = SF::Color::Transparent) #

[View source]
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 #

[View source]
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 #

[View source]
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 #

[View source]
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 #

[View source]
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 #

[View source]
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 #

[View source]