MOBILE LIFECYCLE REWORK: ANDROID: ACCELEROMETER: POLLING EVENTS AT THE RIGHT MOMENT (I.E. AFTER THE FRAME HAS “OFFICIALLY STARTED” + CLEANUP + REFACTORING — TESTED AT THE 4 DIFFERENT DISPLAY ORIENTATIONS
MOBILE LIFECYCLE REWORK: iOS: SOME REFACTORING/COSMETICS: HIDING STUFF WHENEVER POSSIBLE
MOBILE LIFECYCLE REWORK: iOS: STARTING WITH ENHANCEMENTS:
1) “RESIZE” CALLED UPON ORIENTATION-CHANGES: NECESSARY WHEN ROTATING FROM PORTRAIT TO LANDSCAPE. TODO: TRY TO AVOID “STRETCHING ARTEFACTS” DURING ROTATION
2) NOT CALLING CinderDelegate’S UPDATE & DRAW AFTER A “STOP” (E.G. PAUSED / HIDDEN). TODO: TEST FURTHER...
MOBILE LIFECYCLE REWORK: iOS: ADAPTING ACCELEROMETER INPUT ACCORDING TO DEVICE ORIENTATION
MOBILE LIFECYCLE REWORK: iOS: CALLING CinderSketch::resize ONLY WHEN NECESSARY
MOBILE LIFECYCLE REWORK: ANDROID: SCREEN-RESIZING FINALLY SEEMS TO BE HANDLED PROPERLY. INCLUDING:
1) WHEN SENSOR-ROTATING BETWEEN PORTRAIT / LANDSCAPE, ETC.
2) EVEN THE ODD BUG ON XOOM 1: WHEN EXITING VIA “BACK” BUTTON (I.E. THE ACTIVITY IS DEAD, BUT STILL “IN MEMORY): SCREEN WAS DEFORMED THE NEXT TIME ITHE ACTIVITY WAS OPENED
MOBILE LIFECYCLE REWORK: iOS: COMMENTS AND TWEAKS (MOSTLY FOR CONSISTENCY WITH ANDROID VERSION)
MOBILE LIFECYCLE REWORK: iOS: COMMENTS AND TODOS
HIDING GL FROM HEADERS AS MUCH AS POSSIBLE (IMPLICATION: USING uint32_t INSTEAD OF GLuint, ETC.)
COSMETICS + REMOVING FEATURE INCOMPATIBLE (NAMESPACE RELATED) WITH VISUAL STUDIO
MOBILE LIFECYCLE REWORK: 1) NOT USING void Sketch::setup(bool renewContext) ANYMORE. INSTEAD: WE’RE SENDING A “CONTEXT_RENEWED” EVENT. 2) NOT ALLOWING A CinderSketch TO RUN INSIDE A CinderApp ON iOS NOR ANDROID
MOBILE LIFECYCLE REWORK: REFACTORING: FLAG_FOCUS_GAINED -> FLAG_APP_SHOWN; FLAG_FOCUS_LOST -> FLAG_APP_HIDDEN
MOBILE LIFECYCLE REWORK: ADAPTING SAMPLES
MOBILE LIFECYCLE REWORK: OSX: DisplayInfo IN PLACE. REWORKED: WindowInfo, SystemInfo, EmulatedDevice. ADAPTED: samples/MobileTest. TODO: iOS / ANDROID
MOBILE LIFECYCLE REWORK: iOS: DisplayInfo ETC. IN PLACE. TODO: CHECK WHY SystemInfo IS NOT ACTING AS INTENDED…
MOBILE LIFECYCLE REWORK: FIXING INHERITANCE ISSUES WITH SystemManager*
MOBILE LIFECYCLE REWORK: PROGRESS WITH SystemManager*
MOBILE LIFECYCLE REWORK: PROGRESS WITH SystemManager*
MOBILE LIFECYCLE REWORK: PROGRESS WITH SystemManager*
MOBILE LIFECYCLE REWORK: SystemManager AND SystemInfo WITH “PLATFORM IMPLEMENTATION” PATTERN: IN PLACE FOR DESKTOP (OSX, ETC.) AND iOS