Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
out.
|
|
|
|
so it works on earlier MacOS versions.
|
|
|
|
This all needs to move to the EditorContainer left view
|
|
DefaultControlHeight had ended up everywhere with no real meaning attached to it,
used in some places with manual offsets. It was never clear whether it was the row
size or a control size. Given the design doesn't always have matching heights for
controls, we should just do away with this illusion.
Additionally each editor had a manual offset trying to account for the property
button and associated spacing on the right and wasn't consistent between 32 or 33.
We do away with all that by moving the property button into the EditorContainer
with a new flag on IEditorView denoting whether we should have a property button
or not. Now all editors should not concern themselves with right inset and match
width fully.
Unfortunately the design sometimes has inconsistent top/bottom insets that vary
from 3/3 to 3.5/3.5. I'd like to make them consistent, so we can set them at
the EditorContainer level but for now the best thing that can be done is inset
on a per editor basis.
This also attempts to address labels and sometimes the property button not being
vertically centered on the first editors. Now, the label is CenterY on the
FirstKeyView which should center it vertically against the topmost input. The
property button is now also CenterYd to the label, so it similarlly should auto
center against the first row of input. If this proves to be not flexible enough
we can revisit.
This also makes more controls consistent with a control size of Small and uses
the system provided mechanism for making sure the font matches so it fits
correctly.
These new guidelines should be used:
- Rows have a height of 24
- Editors should match width
- Single-row editors should CenterY on the parent, match width -6
- Multi-row editors should inset appropriately at -3/-3
- We should avoid so many manually calculated offsets going forward
|
|
|
|
|
|
|
|
This fixes an issue where a transparent background would bleed a popup's background through
rather than the view or layers below it.
Also tweak sizes to fit everything.
|
|
This commit:
- Drops outdated CG* editors
- Drops ThemeManager
- Introduces IHostResourceProvider
- Moves all images to new API
- Starts implementing colors
|
|
|
|
navigation inside the popup.
|
|
calls directly. Should be slightly faster on startup.
|
|
|
|
|
|
|
|
Separates out the Brush Resource classes into separate files, for consistency.
Uses Localised strings instead of hard-coded ones.
NSOutlineView now reuses Views instead of creating totally new ones each time.
Grouped Brush files together under it's own subfolder.
Now draws the ColourNoBrush Colours
|
|
|
|
|
|
|
|
|
|
|
|
This fixes some missing initialization logic that was causing a crash in the
PropertyButton popup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Make ComponentEditor a simple class with more information about the
channel the rework all the gradient selection to use more robust logic
to convert back and forth between position and value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|