mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-13 18:50:58 +01:00
Examples: OCD tweaks, a sign that we are near the release!
This commit is contained in:
parent
448b262b37
commit
73d1126bf4
@ -11525,7 +11525,7 @@ static void ShowExampleMenuFile()
|
|||||||
|
|
||||||
static void ShowExampleAppAutoResize(bool* opened)
|
static void ShowExampleAppAutoResize(bool* opened)
|
||||||
{
|
{
|
||||||
if (!ImGui::Begin("Example: Auto-Resizing Window", opened, ImGuiWindowFlags_AlwaysAutoResize))
|
if (!ImGui::Begin("Example: Auto-resizing window", opened, ImGuiWindowFlags_AlwaysAutoResize))
|
||||||
{
|
{
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
return;
|
return;
|
||||||
@ -11583,7 +11583,7 @@ static void ShowExampleAppManipulatingWindowTitle(bool* opened)
|
|||||||
static void ShowExampleAppCustomRendering(bool* opened)
|
static void ShowExampleAppCustomRendering(bool* opened)
|
||||||
{
|
{
|
||||||
ImGui::SetNextWindowSize(ImVec2(300,350), ImGuiSetCond_FirstUseEver);
|
ImGui::SetNextWindowSize(ImVec2(300,350), ImGuiSetCond_FirstUseEver);
|
||||||
if (!ImGui::Begin("Example: Custom Rendering", opened))
|
if (!ImGui::Begin("Example: Custom rendering", opened))
|
||||||
{
|
{
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user