Loading...
Searching...
No Matches
NCWidgetStyles.h File Reference
import <UIKit/UIKit.h>
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static NS_ASSUME_NONNULL_BEGIN UIColor * kNCBaseBlackColor (void)
 Base dark color (used for text and borders)
 
static UIColor * kNCBaseBlueColor (void)
 Base blue color (used for highlighted elements)
 
static UIColor * kNCButtonBackgroundColor (void)
 Button background color (semi-transparent light gray)
 
static UIColor * kNCButtonBackgroundColorOpaque (void)
 Button background color (more opaque variant)
 
static UIColor * kNCWhiteBackgroundColor (void)
 White background color (for active state)
 
static UIColor * kNCBorderColor (void)
 Border color (for active button state)
 
static UIColor * kNCShadowColor (void)
 Shadow color.
 

Variables

static const CGFloat kNCStandardButtonWidth = 48.0
 Standard button and widget width.
 
static const CGFloat kNCStandardButtonHeight = 48.0
 Standard button height.
 
static const CGFloat kNCZoomControlsHeight = 96.0
 Zoom controls height.
 
static const CGFloat kNCFloorRowHeight = 42.0
 Floor selector row height.
 
static const CGFloat kNCFloorSelectorMaxHeight = 250.0
 Maximum floor selector height.
 
static const NSInteger kNCMaxVisibleFloors = 6
 Maximum number of visible floors.
 
static const CGFloat kNCBorderRadius = 4.0
 Standard border radius.
 
static const CGFloat kNCStandardRightPadding = 4.0
 Standard right padding.
 
static const CGFloat kNCStandardLeftPadding = 16.0
 Standard left padding.
 
static const CGFloat kNCFloorSelectorTopPadding = 145.0
 Top padding for floor selector.
 
static const CGFloat kNCFollowMeBottomPadding = 48.0
 Bottom padding for Follow Me button.
 
static const CGFloat kNCButtonFontSize = 22.0
 Font size for zoom buttons and Follow Me button.
 
static const CGFloat kNCScrollButtonFontSize = 20.0
 Font size for scroll buttons.
 
static const CGFloat kNCFloorSelectorFontSize = 17.0
 Font size for floor selector.
 
static const CGFloat kNCShadowOpacity = 1.0
 Shadow opacity.
 
static const CGFloat kNCShadowRadius = 6.0
 Shadow radius.
 
static const CGSize kNCShadowOffset = {0, 4}
 Shadow offset.
 
static const NSTimeInterval kNCStandardAnimationDuration = 0.35
 Standard animation duration.
 
static const CGFloat kNCSpringAnimationDamping = 0.7
 Spring animation damping.
 
static const CGFloat kNCSpringAnimationInitialVelocity = 0.5
 Spring animation initial velocity.
 
static const CGFloat kNCActiveBorderWidth = 1.5
 Border width for active state.
 

Function Documentation

◆ kNCBaseBlackColor()

static NS_ASSUME_NONNULL_BEGIN UIColor * kNCBaseBlackColor ( void )
inlinestatic

Base dark color (used for text and borders)

Definition at line 15 of file NCWidgetStyles.h.

◆ kNCBaseBlueColor()

static UIColor * kNCBaseBlueColor ( void )
inlinestatic

Base blue color (used for highlighted elements)

Definition at line 20 of file NCWidgetStyles.h.

◆ kNCBorderColor()

static UIColor * kNCBorderColor ( void )
inlinestatic

Border color (for active button state)

Definition at line 40 of file NCWidgetStyles.h.

◆ kNCButtonBackgroundColor()

static UIColor * kNCButtonBackgroundColor ( void )
inlinestatic

Button background color (semi-transparent light gray)

Definition at line 25 of file NCWidgetStyles.h.

◆ kNCButtonBackgroundColorOpaque()

static UIColor * kNCButtonBackgroundColorOpaque ( void )
inlinestatic

Button background color (more opaque variant)

Definition at line 30 of file NCWidgetStyles.h.

◆ kNCShadowColor()

static UIColor * kNCShadowColor ( void )
inlinestatic

Shadow color.

Definition at line 45 of file NCWidgetStyles.h.

◆ kNCWhiteBackgroundColor()

static UIColor * kNCWhiteBackgroundColor ( void )
inlinestatic

White background color (for active state)

Definition at line 35 of file NCWidgetStyles.h.

Variable Documentation

◆ kNCActiveBorderWidth

const CGFloat kNCActiveBorderWidth = 1.5
static

Border width for active state.

Definition at line 138 of file NCWidgetStyles.h.

◆ kNCBorderRadius

const CGFloat kNCBorderRadius = 4.0
static

Standard border radius.

Definition at line 76 of file NCWidgetStyles.h.

◆ kNCButtonFontSize

const CGFloat kNCButtonFontSize = 22.0
static

Font size for zoom buttons and Follow Me button.

Definition at line 99 of file NCWidgetStyles.h.

◆ kNCFloorRowHeight

const CGFloat kNCFloorRowHeight = 42.0
static

Floor selector row height.

Definition at line 63 of file NCWidgetStyles.h.

◆ kNCFloorSelectorFontSize

const CGFloat kNCFloorSelectorFontSize = 17.0
static

Font size for floor selector.

Definition at line 105 of file NCWidgetStyles.h.

◆ kNCFloorSelectorMaxHeight

const CGFloat kNCFloorSelectorMaxHeight = 250.0
static

Maximum floor selector height.

Definition at line 66 of file NCWidgetStyles.h.

◆ kNCFloorSelectorTopPadding

const CGFloat kNCFloorSelectorTopPadding = 145.0
static

Top padding for floor selector.

Definition at line 89 of file NCWidgetStyles.h.

◆ kNCFollowMeBottomPadding

const CGFloat kNCFollowMeBottomPadding = 48.0
static

Bottom padding for Follow Me button.

Definition at line 92 of file NCWidgetStyles.h.

◆ kNCMaxVisibleFloors

const NSInteger kNCMaxVisibleFloors = 6
static

Maximum number of visible floors.

Definition at line 69 of file NCWidgetStyles.h.

◆ kNCScrollButtonFontSize

const CGFloat kNCScrollButtonFontSize = 20.0
static

Font size for scroll buttons.

Definition at line 102 of file NCWidgetStyles.h.

◆ kNCShadowOffset

const CGSize kNCShadowOffset = {0, 4}
static

Shadow offset.

Definition at line 118 of file NCWidgetStyles.h.

◆ kNCShadowOpacity

const CGFloat kNCShadowOpacity = 1.0
static

Shadow opacity.

Definition at line 112 of file NCWidgetStyles.h.

◆ kNCShadowRadius

const CGFloat kNCShadowRadius = 6.0
static

Shadow radius.

Definition at line 115 of file NCWidgetStyles.h.

◆ kNCSpringAnimationDamping

const CGFloat kNCSpringAnimationDamping = 0.7
static

Spring animation damping.

Definition at line 128 of file NCWidgetStyles.h.

◆ kNCSpringAnimationInitialVelocity

const CGFloat kNCSpringAnimationInitialVelocity = 0.5
static

Spring animation initial velocity.

Definition at line 131 of file NCWidgetStyles.h.

◆ kNCStandardAnimationDuration

const NSTimeInterval kNCStandardAnimationDuration = 0.35
static

Standard animation duration.

Definition at line 125 of file NCWidgetStyles.h.

◆ kNCStandardButtonHeight

const CGFloat kNCStandardButtonHeight = 48.0
static

Standard button height.

Definition at line 57 of file NCWidgetStyles.h.

◆ kNCStandardButtonWidth

const CGFloat kNCStandardButtonWidth = 48.0
static

Standard button and widget width.

Definition at line 54 of file NCWidgetStyles.h.

◆ kNCStandardLeftPadding

const CGFloat kNCStandardLeftPadding = 16.0
static

Standard left padding.

Definition at line 86 of file NCWidgetStyles.h.

◆ kNCStandardRightPadding

const CGFloat kNCStandardRightPadding = 4.0
static

Standard right padding.

Definition at line 83 of file NCWidgetStyles.h.

◆ kNCZoomControlsHeight

const CGFloat kNCZoomControlsHeight = 96.0
static

Zoom controls height.

Definition at line 60 of file NCWidgetStyles.h.