struct ImGui::ImGuiPayload

Overview

struct ImGuiPayload

Included Modules

Defined in:

obj.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new : ImGuiPayload #

[View source]

Instance Method Detail

def clear : Void #

[View source]
def data : Pointer(Void) #

Data (copied and owned by dear imgui)


[View source]
def data=(data : Pointer(Void)) #

[View source]
def data_frame_count : Int32 #

Data timestamp


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

[View source]
def data_size : Int32 #

Data size


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

[View source]
def data_type : Slice(LibC::Char) #

Data type tag (short user-supplied string, 32 characters max)


[View source]
def data_type=(data_type : Slice(LibC::Char)) #

[View source]
def delivery : Bool #

Set when AcceptDragDropPayload() was called and mouse button is released over the target item.


[View source]
def delivery=(delivery : Bool) #

[View source]
def is_data_type(type : String) : Bool #

[View source]
def is_delivery : Bool #

[View source]
def is_preview : Bool #

[View source]
def preview : Bool #

Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets)


[View source]
def preview=(preview : Bool) #

[View source]
def source_id : ImGuiID #

Source item id


[View source]
def source_id=(source_id : ImGuiID) #

[View source]
def source_parent_id : ImGuiID #

Source parent id (if available)


[View source]
def source_parent_id=(source_parent_id : ImGuiID) #

[View source]
def to_unsafe : Pointer(T) #

[View source]