Commit 35045d6
committed
Add 'Always on Top' and 'Reset Windows' features
'Always on Top' window flag and a 'Reset Windows' action. Persisted window_always_on_top is applied to the main GLFW window and any detached GLFW-backed ImGui viewports via apply_glfw_topmost_state_to_platform_windows. Native file dialogs temporarily suspend the topmost hint using a FileDialog native-dialog-scope hook and RAII guard to avoid dialogs being obscured. Add Window menu entries for Always on Top and Reset Windows, and wire reset to clear ImGui .ini settings and rebuild the dockspace (reset_window_layouts). Overhaul Preferences UI (sectioned form layout, helpers, OCIO browse integration, segmented backend selector), convert About modal to a centered window, improve focus/request handling for auxiliary windows, and various UI/layout tweaks and plumbing to set/clear the native dialog hook in the app run loop.
Some UI refactoring
Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>1 parent db4060f commit 35045d6
16 files changed
Lines changed: 780 additions & 397 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
| 464 | + | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
506 | 516 | | |
507 | 517 | | |
508 | 518 | | |
| |||
527 | 537 | | |
528 | 538 | | |
529 | 539 | | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
530 | 561 | | |
531 | 562 | | |
532 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
314 | 330 | | |
315 | 331 | | |
316 | 332 | | |
| |||
354 | 370 | | |
355 | 371 | | |
356 | 372 | | |
| 373 | + | |
357 | 374 | | |
358 | 375 | | |
359 | 376 | | |
| |||
362 | 379 | | |
363 | 380 | | |
364 | 381 | | |
| 382 | + | |
365 | 383 | | |
366 | 384 | | |
367 | 385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
61 | 68 | | |
62 | 69 | | |
63 | 70 | | |
| |||
254 | 261 | | |
255 | 262 | | |
256 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
257 | 317 | | |
258 | 318 | | |
259 | 319 | | |
| |||
670 | 730 | | |
671 | 731 | | |
672 | 732 | | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
673 | 739 | | |
674 | 740 | | |
675 | 741 | | |
| |||
725 | 791 | | |
726 | 792 | | |
727 | 793 | | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
728 | 798 | | |
729 | 799 | | |
730 | 800 | | |
| |||
772 | 842 | | |
773 | 843 | | |
774 | 844 | | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
775 | 849 | | |
776 | 850 | | |
777 | 851 | | |
| |||
825 | 899 | | |
826 | 900 | | |
827 | 901 | | |
| 902 | + | |
828 | 903 | | |
829 | 904 | | |
830 | 905 | | |
| |||
0 commit comments