Dzmitry Neviadomski
|
b8c01a581e
|
[macos] Replace Deprecated constants. (#2038)
* Replace Deprecated constants pt.1
- `NSOnState` -> `NSControlStateValueOn`
- `NSOffState` -> `NSControlStateValueOff`
- `MSMixedState` -> `NSControlStateValueMixed`
* Replace Deprecated constants pt.2
- `NS(\w+)AlertStyle` -> `NSAlertStyle$1`
* Replace Deprecated constants pt.3
- `NSFileHandlingPanel(\w+)Button` -> `NSModalResponse$1`
* Replace Deprecated constants pt.4
- `NSMouse(Entered|Exited)Mask` -> `NSEventMaskMouse$1`
- `NS(Left|Right)Mouse(Down|Up|Dragged)Mask` -> `NSEventMask$1Mouse$2`
- `NSMouse(Entered|Exited)` -> `NSEventTypeMouse$1`
- `NS(Left|Right)Mouse(Up|Down)` -> `NSEventType$1Mouse$2`
* Replace Deprecated constants pt.5
- `NSComposite(\w+)` -> `NSCompositingOperation$1`
* Replace Deprecated constants pt.6
- `NSAlternateKeyMask` -> `NSEventModifierFlagOption`
- `NSCommandKeyMask` -> `NSEventModifierFlagCommand`
* Replace Deprecated constants pt.7
- `NS(\w+)TextAlignment` -> `NSTextAlignment$1`
- `NSBackgroundStyleDark` -> `NSBackgroundStyleEmphasized`
* Replace Deprecated constants pt.8
- `NSTexturedRoundedBezelStyle` -> `NSBezelStyleTexturedRounded`
- `NSBorderlessWindowMask` -> `NSWindowStyleMaskBorderless`
- `NS(OK|Cancel)Button` -> `NSModalResponse$1`
|
2021-10-31 10:18:27 -05:00 |
|
Charles Kerr
|
241dc34019
|
fixup! refactor: tr_variant*Str() functions now take a std::string_view (#1990) (#1999)
|
2021-10-20 17:43:31 -05:00 |
|
Charles Kerr
|
1fb5a79813
|
refactor: use maybe unused attribute (#1918)
* refactor: replace TR_UNUSED with [[maybe_unused]]
|
2021-10-10 11:52:26 -05:00 |
|
Mike Gelfand
|
b7ba261359
|
Port macOS client to C++ (#1830)
* Rename all .m (Obj-C) files to .mm (Obj-C++)
* Fix build in Obj-C++ mode
* Fix Xcode build
|
2021-09-24 07:56:57 -05:00 |
|