struct ImGui::ImGuiListClipper

Overview

struct ImGuiListClipper

Included Modules

Defined in:

obj.cr
types.cr

Constructors

Instance Method Summary

Instance methods inherited from module ImGui::StructType

to_unsafe to_unsafe

Constructor Detail

def self.new(display_start : Int32, display_end : Int32, items_count : Int32, step_no : Int32, items_frozen : Int32, items_height : Float32, start_pos_y : Float32) #

[View source]
def self.new : ImGuiListClipper #

[View source]

Instance Method Detail

def begin(items_count : Int32, items_height : Float32 = -1.0) : Void #

Automatically called by constructor if you passed 'items_count' or by Step() in Step 1.

ImGuiListClipper::Begin()


[View source]
def display_end : Int32 #

[View source]
def display_end=(display_end : Int32) #

[View source]
def display_start : Int32 #

[View source]
def display_start=(display_start : Int32) #

[View source]
def end : Void #

Automatically called on the last call of Step() that returns false.

ImGuiListClipper::End()


[View source]
def items_count : Int32 #

[View source]
def items_count=(items_count : Int32) #

[View source]
def items_frozen : Int32 #

[View source]
def items_frozen=(items_frozen : Int32) #

[View source]
def items_height : Float32 #

[View source]
def items_height=(items_height : Float32) #

[View source]
def start_pos_y : Float32 #

[View source]
def start_pos_y=(start_pos_y : Float32) #

[View source]
def step : Bool #

Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items.

ImGuiListClipper::Step()


[View source]
def step_no : Int32 #

[View source]
def step_no=(step_no : Int32) #

[View source]