ImWindow icon indicating copy to clipboard operation
ImWindow copied to clipboard

Dialog box system

Open thennequin opened this issue 8 years ago • 0 comments

Simple way to create custom dialog box with ImGui and ImWindow.

Example of use:


bool MyDialogBoxCallback(void* pUserData)
{
    ImGui::Text((const char*)pUserData);
    if (ImGui::Button("Close"))
        return true;
    return false;
}

ImwWindowManager::GetInstance()->ShowDialogBox( MyDialogBoxCallback, ImVec2( 200.f, 150.f ), "I'm UserData");

thennequin avatar Sep 03 '17 14:09 thennequin