mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Renamed IM_ARRAYSIZE() -> IM_COUNTOF(). Kept legacy name for now.
This commit is contained in:
parent
99bca397d8
commit
4e7c05504a
19 changed files with 235 additions and 231 deletions
|
|
@ -52,7 +52,7 @@ After Dear ImGui is set up in your application, you can use it from \_anywhere\_
|
|||
ImGui::Text("Hello, world %d", 123);
|
||||
if (ImGui::Button("Save"))
|
||||
MySaveFunction();
|
||||
ImGui::InputText("string", buf, IM_ARRAYSIZE(buf));
|
||||
ImGui::InputText("string", buf, IM_COUNTOF(buf));
|
||||
ImGui::SliderFloat("float", &f, 0.0f, 1.0f);
|
||||
```
|
||||

|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue