Skip to content

Commit

Permalink
patch (Later re-investigation)
Browse files Browse the repository at this point in the history
  • Loading branch information
ongaeshi committed Jun 7, 2015
1 parent c2797eb commit 2387821
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions apps/myApps/ofruby/src/EditViewController.mm
Expand Up @@ -40,11 +40,11 @@ - (void)viewDidLoad

// NavButton
UIBarButtonItem* runButton = [[UIBarButtonItem alloc] initWithTitle:@"Run"
style: UIBarButtonSystemItemDone
style: UIBarButtonItemStyleBordered //DIFF UIBarButtonSystemItemDone
target:self
action:@selector(tapRunButton)];
UIBarButtonItem* helpButton = [[UIBarButtonItem alloc] initWithTitle:@"[?]"
style: UIBarButtonSystemItemDone
style: UIBarButtonItemStyleBordered //DIFF UIBarButtonSystemItemDone
target:self
action:@selector(tapHelpButton)];
self.navigationItem.rightBarButtonItems = [NSArray arrayWithObjects:runButton, helpButton, nil];
Expand Down Expand Up @@ -73,7 +73,7 @@ - (void)viewDidLoad
// TextView (Common)
mTextView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
mTextView.editable = mEditable;
mTextView.textAlignment = UITextAlignmentLeft;
//DIFF mTextView.textAlignment = UITextAlignmentLeft;
//textView.font = [UIFont fontWithName:@"Helvetica" size:14];
//mTextView.backgroundColor = [UIColor whiteColor];
mTextView.autocapitalizationType = UITextAutocapitalizationTypeNone;
Expand Down
2 changes: 1 addition & 1 deletion apps/myApps/ofruby/src/HelpViewController.mm
Expand Up @@ -14,7 +14,7 @@ - (void)viewDidLoad
CGRect rect = self.view.bounds;
UITextView* textView = [[UITextView alloc]initWithFrame:rect];
textView.editable = NO;
textView.textAlignment = UITextAlignmentLeft;
//DIFF textView.textAlignment = UITextAlignmentLeft;
//textView.font = [UIFont fontWithName:@"Helvetica" size:14];
//textView.backgroundColor = [UIColor whiteColor];
textView.autocapitalizationType = UITextAutocapitalizationTypeNone;
Expand Down
2 changes: 1 addition & 1 deletion libs/openFrameworks/graphics/ofGraphics.h
Expand Up @@ -1111,5 +1111,5 @@ void ofDrawBitmapString(const T & textString, float x, float y){
//--------------------------------------------------
template<typename T>
void ofDrawBitmapString(const T & textString, float x, float y, float z){
ofDrawBitmapString(ofToString(textString),x,y,z);
//DIFF ofDrawBitmapString(ofToString(textString),x,y,z);
}

0 comments on commit 2387821

Please sign in to comment.