• R/O
  • SSH
  • HTTPS

gdx64: Commit


Commit MetaInfo

Revisión280 (tree)
Tiempo2020-01-21 05:09:00
Autorhgtterry

Log Message

GD19 Ogre 1.9 File View Commands 200120

Cambiar Resumen

Diferencia

--- GD19_OSDN/GD19_FileView_V2.cpp (revision 279)
+++ GD19_OSDN/GD19_FileView_V2.cpp (revision 280)
@@ -144,6 +144,11 @@
144144
145145 if (ImGui::CollapsingHeader("Objects"))
146146 {
147+ if (ImGui::Button(" Action "))
148+ {
149+ ImGui::OpenPopup("my_select_popup");
150+ }
151+
147152 ImGui::Indent();
148153 int Count = 0;
149154 while (Count < Object_Names_Count)
@@ -178,6 +183,7 @@
178183 selected_Areas = -1;
179184 selected_Players = -1;
180185 Block = 1;
186+
181187 }
182188 Count++;
183189 }
@@ -187,6 +193,22 @@
187193 Update_Properties_Objects(Selected_Object_Name);
188194 }
189195
196+ // ------------------------------------------------- PoP Up
197+ if (ImGui::BeginPopup("my_select_popup"))
198+ {
199+ if (ImGui::Selectable("Add"))
200+ {
201+ App->Say("Add");
202+ }
203+
204+ if (ImGui::Selectable("Rename"))
205+ {
206+ App->Say("Rename");
207+ }
208+
209+ ImGui::EndPopup();
210+ }
211+
190212 SelectObject = 0;
191213 ImGui::Unindent();
192214 }
--- GD19_OSDN/GD19_OSDN.cpp (revision 279)
+++ GD19_OSDN/GD19_OSDN.cpp (revision 280)
@@ -800,6 +800,7 @@
800800 return 1;
801801 }
802802 }
803+ return 1;
803804 }
804805 case WM_RBUTTONUP:
805806 {
Show on old repository browser