Commit graph

6157 commits

Author SHA1 Message Date
Gregory John Casamento
456fe72ab9 Fix formatting issues. 2020-04-26 10:53:48 -04:00
Gregory John Casamento
760b14a2cc Update pixel offset 2020-04-26 10:30:36 -04:00
Gregory John Casamento
54983cef50 Add NSEnabled decoding. it is encoded in NSControl, but is NOT used when it is decoded, so we have to retrieve the value here in NSSwitch. 2020-04-26 04:47:25 -04:00
Gregory John Casamento
0c1ab6c756 Remove pragmas to remove warnings. It was causing EXTRA warnings when building with gcc. 2020-04-24 07:05:06 -04:00
Gregory John Casamento
b0ead22814 revert GSThemeTools.m 2020-04-24 06:57:22 -04:00
Gregory John Casamento
d16e9769b0 Update display when setEnabled is called 2020-04-24 06:52:12 -04:00
Gregory John Casamento
6c690312e9 Correct formatting of code. 2020-04-24 06:36:14 -04:00
Gregory John Casamento
627a4894cc Use fred's calculation for moving the knob 2020-04-24 06:34:43 -04:00
Gregory John Casamento
be756441aa Use fred's approach for the colors 2020-04-24 06:25:06 -04:00
Gregory John Casamento
39601c0960 initialize colors as Fred suggested 2020-04-24 06:20:19 -04:00
Gregory John Casamento
d1beeaa0b7 remove uneeded function 2020-04-24 05:43:39 -04:00
Gregory John Casamento
2fb06e0e7b remove uneeded comment 2020-04-24 05:43:12 -04:00
Gregory John Casamento
6c8691a082 Remove some warnings and unused functions, finish implementation of encoding. 2020-04-24 04:29:15 -04:00
Gregory John Casamento
bd2372230f Undo removal of space. 2020-04-24 03:39:28 -04:00
Gregory John Casamento
33e2bbd1f0 Add setObject: 2020-04-24 03:32:57 -04:00
Gregory John Casamento
6e3d3a87d8 The warning generated by the code in this method -establishConnection is unavoidable. Disable the warning. 2020-04-24 03:27:34 -04:00
Gregory John Casamento
1a2ff4a40c Add code to decode enabled state for switch 2020-04-24 02:47:17 -04:00
Gregory John Casamento
fdd51ae2df Add color for disabled state 2020-04-24 02:34:59 -04:00
Gregory John Casamento
ab83e1ef81 Fix issue with calling setState: on classes which aren't NSSwitch when it's not needed 2020-04-22 17:50:46 -04:00
Gregory John Casamento
5d1ec31ef2 Move color selection into the theme 2020-04-22 17:44:04 -04:00
Gregory John Casamento
57a8720cd8 Reduce repetition of code 2020-04-22 17:39:10 -04:00
Gregory John Casamento
f57e5184c3 Resolve theme issues, change size of knob 2020-04-22 17:34:14 -04:00
Gregory John Casamento
d4b7a0c76d Attempt to fix issue with setState: on NSSwitch. 2020-04-22 17:02:53 -04:00
Gregory John Casamento
23ad6ba6c8 Add initWithCoder: / encodeWithCoder: 2020-04-22 05:20:04 -04:00
Gregory John Casamento
b3ac2b292b Fix issue with mouseDown: 2020-04-21 23:41:13 -04:00
Gregory John Casamento
ec3227d132 Implement setXXXValue methods and getters 2020-04-21 23:36:11 -04:00
Gregory John Casamento
0df7e5f7d7 Improve colors 2020-04-20 15:13:28 -04:00
Gregory John Casamento
8fd9db5130 Improve position of knob 2020-04-18 16:31:05 -04:00
Gregory John Casamento
6bf8d790ef Improve position of knob 2020-04-18 14:36:26 -04:00
Gregory John Casamento
d083bc061d Improve calculation for knob position when in On state 2020-04-18 11:46:34 -04:00
Gregory John Casamento
da0f7ded36 Better colors 2020-04-17 18:03:26 -04:00
Gregory John Casamento
dae6b91c99 Add target/action 2020-04-17 07:40:40 -04:00
Gregory John Casamento
bfa9f0c1c2 Add mouseDown: implementation call to super 2020-04-17 07:24:34 -04:00
Gregory John Casamento
4d7bc4435b Add mouseDown: implementation 2020-04-17 07:22:24 -04:00
Gregory John Casamento
aa9344c78b Draw elements. 2020-04-17 06:32:05 -04:00
Gregory John Casamento
ecc9791ecf Draw elements. 2020-04-17 06:10:04 -04:00
Gregory John Casamento
a1672a4605 Add skeleton drawing method for switch to GSThemeDrawing. 2020-04-16 12:16:30 -04:00
Gregory John Casamento
8785a1307b More initial work. 2020-04-16 11:42:21 -04:00
Gregory John Casamento
ea5dbc2236 Merge branch 'master' into NSSwitch_branch 2020-04-16 06:33:36 -04:00
Gregory John Casamento
789e89f0a2 Fix all of the issues mentioned by Fred. 2020-04-15 18:34:04 -04:00
Gregory John Casamento
f1ab633b2f Merge branch 'master' into NSSwitch_branch 2020-04-15 17:21:46 -04:00
Gregory John Casamento
64a33a3f45 Fix issue with NSSet and NSString. 2020-04-14 14:07:23 -04:00
Gregory John Casamento
8bdb4ffe16 Add methods for NSFontAssetRequest. 2020-04-14 13:41:27 -04:00
Gregory John Casamento
a761a01eb5 Add NSUserInterfaceItemSearching code. 2020-04-14 13:23:25 -04:00
Gregory John Casamento
e4fb12cae5 Add user interface compression 2020-04-14 11:54:02 -04:00
Gregory John Casamento
3d1da7a0b3 Skeleton for NSMediaLibraryBrowserController 2020-04-14 09:58:45 -04:00
Gregory John Casamento
63baff0b6a Skeleton out scrubber layout 2020-04-14 09:38:09 -04:00
Gregory John Casamento
1479a4fa88 Fix issues with license and import statements 2020-04-13 15:04:12 -04:00
Gregory John Casamento
f989474735 Add NSwitch initial changes 2020-04-13 14:15:07 -04:00
Gregory John Casamento
66ea79f256 Fix issues pointed out by Fred. More fixes to come. 2020-04-13 14:14:14 -04:00