Revision: 14094
          http://sourceforge.net/p/skim-app/code/14094
Author:   hofman
Date:     2024-03-07 15:09:34 +0000 (Thu, 07 Mar 2024)
Log Message:
-----------
rename enum value

Modified Paths:
--------------
    trunk/SKMainWindowController_FullScreen.m
    trunk/SKTopBarView.h
    trunk/SKTopBarView.m

Modified: trunk/SKMainWindowController_FullScreen.m
===================================================================
--- trunk/SKMainWindowController_FullScreen.m   2024-03-07 14:59:12 UTC (rev 
14093)
+++ trunk/SKMainWindowController_FullScreen.m   2024-03-07 15:09:34 UTC (rev 
14094)
@@ -138,7 +138,7 @@
         if ([[sideWindow firstResponder] 
isDescendantOf:leftSideController.view])
             [sideWindow makeFirstResponder:nil];
         if (mwcFlags.fullSizeContent) {
-            [leftSideController.topBar setStyle:SKTopBarStyleDefault];
+            [leftSideController.topBar setStyle:SKTopBarStyleSearchBar];
             [leftSideController setTopInset:titleBarHeight];
         } else {
             [leftSideController.topBar setDrawsBackground:YES];

Modified: trunk/SKTopBarView.h
===================================================================
--- trunk/SKTopBarView.h        2024-03-07 14:59:12 UTC (rev 14093)
+++ trunk/SKTopBarView.h        2024-03-07 15:09:34 UTC (rev 14094)
@@ -42,7 +42,7 @@
 NS_ASSUME_NONNULL_BEGIN
 
 typedef NS_ENUM(NSInteger, SKTopBarStyle) {
-    SKTopBarStyleDefault,
+    SKTopBarStyleSearchBar,
     SKTopBarStylePDFControlBackground,
     SKTopBarStylePresentation
 };

Modified: trunk/SKTopBarView.m
===================================================================
--- trunk/SKTopBarView.m        2024-03-07 14:59:12 UTC (rev 14093)
+++ trunk/SKTopBarView.m        2024-03-07 15:09:34 UTC (rev 14094)
@@ -69,7 +69,7 @@
         contentView = [[NSView alloc] initWithFrame:[self bounds]];
         [super addSubview:contentView];
         wantsSubviews = NO;
-        [self setStyle:SKTopBarStyleDefault];
+        [self setStyle:SKTopBarStyleSearchBar];
     }
     return self;
 }
@@ -116,7 +116,7 @@
     style = newStyle;
     NSColor *sepColor = nil;
     switch (style) {
-        case SKTopBarStyleDefault:
+        case SKTopBarStyleSearchBar:
             if (@available(macOS 11.0, *))
                 [blurView setMaterial:NSVisualEffectMaterialTitlebar];
             else if (@available(macOS 10.14, *))

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to