Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
ImGuiPayload Struct Reference

#include <src/imgui/imgui.h>

Public Member Functions

 ImGuiPayload ()
 
void Clear ()
 
bool IsDataType (const char *type) const
 
bool IsPreview () const
 
bool IsDelivery () const
 

Public Attributes

voidData
 
int DataSize
 
ImGuiID SourceId
 
ImGuiID SourceParentId
 
int DataFrameCount
 
char DataType [32+1]
 
bool Preview
 
bool Delivery
 

Detailed Description

Constructor & Destructor Documentation

◆ ImGuiPayload()

ImGuiPayload::ImGuiPayload ( )
inline
1970{ Clear(); }
void Clear()
Definition imgui.h:1971

Member Function Documentation

◆ Clear()

void ImGuiPayload::Clear ( )
inline
1971{ SourceId = SourceParentId = 0; Data = NULL; DataSize = 0; memset(DataType, 0, sizeof(DataType)); DataFrameCount = -1; Preview = Delivery = false; }
ImGuiID SourceParentId
Definition imgui.h:1964
bool Preview
Definition imgui.h:1967
bool Delivery
Definition imgui.h:1968
int DataSize
Definition imgui.h:1960
char DataType[32+1]
Definition imgui.h:1966
ImGuiID SourceId
Definition imgui.h:1963
int DataFrameCount
Definition imgui.h:1965
void * Data
Definition imgui.h:1959

Referenced by ImGui::ClearDragDrop().

+ Here is the caller graph for this function:

◆ IsDataType()

bool ImGuiPayload::IsDataType ( const char *  type) const
inline
1972{ return DataFrameCount != -1 && strcmp(type, DataType) == 0; }

Referenced by ImGui::AcceptDragDropPayload().

+ Here is the caller graph for this function:

◆ IsDelivery()

bool ImGuiPayload::IsDelivery ( ) const
inline
1974{ return Delivery; }

◆ IsPreview()

bool ImGuiPayload::IsPreview ( ) const
inline
1973{ return Preview; }

Member Data Documentation

◆ Data

void* ImGuiPayload::Data

◆ DataFrameCount

◆ DataSize

int ImGuiPayload::DataSize

◆ DataType

char ImGuiPayload::DataType[32+1]

◆ Delivery

bool ImGuiPayload::Delivery

◆ Preview

bool ImGuiPayload::Preview

◆ SourceId

◆ SourceParentId

ImGuiID ImGuiPayload::SourceParentId

The documentation for this struct was generated from the following file: