Hans Goudey
4ecc7cf14a
Cleanup: Move interface_intern.hh
...
The entire interface directory is now compiled as C++ files.
2022-11-26 10:12:58 -06:00
Julian Eisel
78a7d5cfcc
UI: Support C defined menu types to listen to notifiers
...
Needed to dynamically load assets as menu items, see cf98518055 and
99e5024e97 . The next commit will add the listener for the node add menu.
2022-11-01 17:43:38 +01:00
Hans Goudey
97746129d5
Cleanup: replace UNUSED macro with commented args in C++ code
...
This is the conventional way of dealing with unused arguments in C++,
since it works on all compilers.
Regex find and replace: `UNUSED\((\w+)\)` -> `/*$1*/`
2022-10-03 17:38:16 -05:00
Campbell Barton
f68cfd6bb0
Cleanup: replace C-style casts with functional casts for numeric types
2022-09-25 20:17:08 +10:00
Campbell Barton
d6faee2824
Cleanup: format
2022-07-21 17:45:36 +10:00
Julian Eisel
c4d8e28aa7
UI: Remove redundant view reference in view items
...
The new view item base class already holds a reference to the view, no
need to have one in the derived class as well.
2022-07-20 17:16:15 +02:00
Julian Eisel
0c6ae51d9f
Fix missing registration of grid view items in the view
2022-07-20 17:16:15 +02:00
Julian Eisel
16b145bc62
Cleanup: Improve API and documentation of interface_view.cc
...
File documentation was outdated and could use general improvement.
Function names didn't really reflect the level they are operating on.
2022-07-19 18:04:03 +02:00
Julian Eisel
fb9dc810f1
UI Code Quality: Move view related files to own folder
...
Part of T98518.
2022-07-19 18:04:03 +02:00