Skip to content

Commit

Permalink
Make green color available from every Quickdialog element.
Browse files Browse the repository at this point in the history
  • Loading branch information
francisvm committed Aug 27, 2014
1 parent 6d397de commit abcec99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 0 additions & 2 deletions quickdialog/QBindingEvaluator.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#import "QBindingEvaluator.h"
#import "QuickDialog.h"

#define green_color [UIColor colorWithRed:0.373 green:0.878 blue:0.471 alpha:1]

@interface QBindingEvaluator ()
+ (BOOL)stringIsEmpty:(NSString *)aString;

Expand Down
4 changes: 0 additions & 4 deletions quickdialog/QSelectSection.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
#import "QSelectSection.h"
#import "QuickDialog.h"

//to discuss : define vs. const UIColor
#define green_color [UIColor colorWithRed:0.373 green:0.878 blue:0.471 alpha:1]
#define blue_color [UIColor colorWithRed:0.932 green:0.976 blue:1.000 alpha:1.000]

@implementation QSelectSection {
}

Expand Down
5 changes: 5 additions & 0 deletions quickdialog/QuickDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,8 @@
#import "QRootBuilder.h"

#import "QTextField.h"

//to discuss : define vs. const UIColor
#define green_color [UIColor colorWithRed:0.373 green:0.878 blue:0.471 alpha:1]
#define blue_color [UIColor colorWithRed:0.932 green:0.976 blue:1.000 alpha:1.000]

0 comments on commit abcec99

Please sign in to comment.