mirror of
https://github.com/ocornut/imgui.git
synced 2026-11-06 06:25:54 +01:00
Demo: correct demo markers wordings (#9586)
This commit is contained in:
parent
6d32174508
commit
f996126249
@ -1651,10 +1651,10 @@ static void DemoWindowWidgetsDragAndDrop()
|
|||||||
{
|
{
|
||||||
if (ImGui::TreeNode("Drag and Drop"))
|
if (ImGui::TreeNode("Drag and Drop"))
|
||||||
{
|
{
|
||||||
IMGUI_DEMO_MARKER("Widgets/Drag and drop");
|
IMGUI_DEMO_MARKER("Widgets/Drag and Drop");
|
||||||
if (ImGui::TreeNode("Drag and drop in standard widgets"))
|
if (ImGui::TreeNode("Drag and drop in standard widgets"))
|
||||||
{
|
{
|
||||||
IMGUI_DEMO_MARKER("Widgets/Drag and drop/Standard widgets");
|
IMGUI_DEMO_MARKER("Widgets/Drag and Drop/Standard widgets");
|
||||||
// ColorEdit widgets automatically act as drag source and drag target.
|
// ColorEdit widgets automatically act as drag source and drag target.
|
||||||
// They are using standardized payload strings IMGUI_PAYLOAD_TYPE_COLOR_3F and IMGUI_PAYLOAD_TYPE_COLOR_4F
|
// They are using standardized payload strings IMGUI_PAYLOAD_TYPE_COLOR_3F and IMGUI_PAYLOAD_TYPE_COLOR_4F
|
||||||
// to allow your own widgets to use colors in their drag and drop interaction.
|
// to allow your own widgets to use colors in their drag and drop interaction.
|
||||||
@ -1669,7 +1669,7 @@ static void DemoWindowWidgetsDragAndDrop()
|
|||||||
|
|
||||||
if (ImGui::TreeNode("Drag and drop to copy/swap items"))
|
if (ImGui::TreeNode("Drag and drop to copy/swap items"))
|
||||||
{
|
{
|
||||||
IMGUI_DEMO_MARKER("Widgets/Drag and drop/Copy-swap items");
|
IMGUI_DEMO_MARKER("Widgets/Drag and Drop/Copy-swap items");
|
||||||
enum Mode
|
enum Mode
|
||||||
{
|
{
|
||||||
Mode_Copy,
|
Mode_Copy,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user