mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 05:36:57 +02:00
d22417ee94
Rageshake doesn't work on the image upload screen #80 - Define the navigation bar tint color. - Disable navigation bar tint color change according to HS status. - Set RageShake manager.
51 lines
1.6 KiB
Objective-C
51 lines
1.6 KiB
Objective-C
/*
|
|
Copyright 2015 OpenMarket Ltd
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
#import <MatrixKit/MatrixKit.h>
|
|
|
|
/**
|
|
Convert a RGB hexadecimal value into a UIColor.
|
|
*/
|
|
#define UIColorFromRGB(rgbValue) \
|
|
[UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
|
|
green:((float)((rgbValue & 0x00FF00) >> 8))/255.0 \
|
|
blue:((float)((rgbValue & 0x0000FF) >> 0))/255.0 \
|
|
alpha:1.0]
|
|
|
|
#pragma mark - Vector Colors
|
|
extern UIColor *kVectorColorGreen;
|
|
extern UIColor *kVectorColorLightGreen;
|
|
extern UIColor *kVectorColorLightGrey;
|
|
extern UIColor *kVectorColorSiver;
|
|
extern UIColor *kVectorColorOrange;
|
|
|
|
#pragma mark - Vector Text Colors
|
|
extern UIColor *kVectorTextColorBlack;
|
|
extern UIColor *kVectorTextColorGray;
|
|
|
|
#pragma mark - Vector Navigation Bar Tint Color
|
|
extern UIColor *kVectorNavBarTintColor;
|
|
|
|
/**
|
|
`VectorDesignValues` class manages the Vector design parameters
|
|
*/
|
|
@interface VectorDesignValues : NSObject
|
|
|
|
// to update the navigation bar buttons color
|
|
// [[AppDelegate theDelegate] recentsNavigationController].navigationBar.tintColor = [UIColor greenColor];
|
|
|
|
@end
|