Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small updates: guiExample code consistency & OF_TTF string as static const #3781

Merged
merged 6 commits into from Apr 27, 2015
Merged

Conversation

danomatika
Copy link
Contributor

guiExample code consistency: some small updates to resolve multiple coding styles and the use of multiple ifs instead of if else statements.

OF_TTF string as static const: this fixes a SWIG error when generating OF bindings (aka for ofxLua). Simply swapping "const static" with "static const" solves it. C++ doesn't care either way, so this change shouldn't effect anything. Besides, "static const" is the recommended order in C anyway.

@admsyn
Copy link
Member

admsyn commented Apr 25, 2015

👍 might as well convert the deprecated loadSound to load as well.

arturoc added a commit that referenced this pull request Apr 27, 2015
small updates: guiExample code consistency & OF_TTF string as static const
@arturoc arturoc merged commit 600c108 into openframeworks:master Apr 27, 2015
@arturoc
Copy link
Member

arturoc commented Apr 27, 2015

thanks!

@kylemcdonald kylemcdonald mentioned this pull request Nov 1, 2015
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants