struct ImGui::ImGuiListClipper
- ImGui::ImGuiListClipper
- Struct
- Value
- Object
Overview
Included Modules
- ImGui::StructType
Defined in:
obj.crtypes.cr
Constructors
- .new(display_start : Int32, display_end : Int32, items_count : Int32, step_no : Int32, items_frozen : Int32, items_height : Float32, start_pos_y : Float32)
- .new : ImGuiListClipper
Instance Method Summary
-
#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.
- #display_end : Int32
- #display_end=(display_end : Int32)
- #display_start : Int32
- #display_start=(display_start : Int32)
-
#end : Void
Automatically called on the last call of Step() that returns false.
- #items_count : Int32
- #items_count=(items_count : Int32)
- #items_frozen : Int32
- #items_frozen=(items_frozen : Int32)
- #items_height : Float32
- #items_height=(items_height : Float32)
- #start_pos_y : Float32
- #start_pos_y=(start_pos_y : Float32)
-
#step : Bool
Call until it returns false.
- #step_no : Int32
- #step_no=(step_no : Int32)
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)
#
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.
def step : Bool
#
Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items.