Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cocoa-cb: add support for custom colored title bar | der richter | 2019-04-02 | 1 | -0/+16 |
| | |||||
* | cocoa-cb: refactor title bar styling | der richter | 2019-04-02 | 1 | -47/+102 |
| | | | | | | | | | | | | | half of the materials we used were deprecated with macOS 10.14, broken and not supported by run time changes of the macOS theme. furthermore our styling names were completely inconsistent with the actually look since macOS 10.14, eg ultradark got a lot brighter and couldn't be considered ultradark anymore. i decided to drop the old option --macos-title-bar-style and rework the whole mechanism to allow more freedom. now materials and appearance can be set separately. even if apple changes the look or semantics in the future the new options can be easily adapted. | ||||
* | cocoa-cb: add support for mac 10.14 Dark mode and run time switching | Akemi | 2019-04-02 | 1 | -5/+10 |
| | | | | | | setting the appearance of the window to nil will always use the system setting and changes on run time switches too. this is only the case for macOS 10.14. | ||||
* | cocoa-cb: move all title bar related functionality in its own file | der richter | 2019-04-02 | 1 | -0/+165 |
quite a lot of the title bar functionality and logic was within our window. since we recently added a custom title bar class to our window i decided to move all that functionality into that class and in its own file. this is also a preparation for the next commits. |