mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-29 14:56:36 +00:00
Fix missing comma in FAQ.md (#3134)
This commit is contained in:
parent
9f9ff84ba1
commit
388bf66247
@ -168,7 +168,7 @@ Unique ID are implicitly built from the hash of multiple elements that identify
|
|||||||
- Unique ID are often derived from a string label and at minimum scoped within their host window:
|
- Unique ID are often derived from a string label and at minimum scoped within their host window:
|
||||||
```c
|
```c
|
||||||
Begin("MyWindow");
|
Begin("MyWindow");
|
||||||
Button("OK"); // Label = "OK", ID = hash of ("MyWindow" "OK")
|
Button("OK"); // Label = "OK", ID = hash of ("MyWindow", "OK")
|
||||||
Button("Cancel"); // Label = "Cancel", ID = hash of ("MyWindow", "Cancel")
|
Button("Cancel"); // Label = "Cancel", ID = hash of ("MyWindow", "Cancel")
|
||||||
End();
|
End();
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user