Quantcast
Viewing all articles
Browse latest Browse all 40524

Global variables maybe?

I do a lot of scaling for positioning on different devices- retina, non retina , iPhone, iPad etc
At the moment I do something like: ofGetWidth/1024 (I'm landscape) and hen pass that down to my classes.
Is there a smarter way to access that value within my source code?
Thanks


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>