~vcs-imports/ember/master

« back to all changes in this revision

Viewing changes to src/services/input/Input.h

  • Committer: Erik Ogenvik
  • Date: 2019-11-10 13:55:41 UTC
  • Revision ID: git-v1:88b8cd7f93863a4db3fc477a818550cd71df6950
Make int to float conversion more explicit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
         * @param height The height of the window, in pixels.
214
214
         * @param fullscreen Whether the window should be full screen.
215
215
         * @param resizable Whether the window should be resizable (only applicable if it's not full screen).
216
 
         * @param centered Whether the window should be centered  (only applicable if it's not full screen).
217
216
         * @param handleOpenGL Whether SDL should handle the OpenGL context. This should be true for OSX, and true for Windows if the OpenGL render plugin is used.
218
217
         * @return The platform specific id of the window.
219
218
         */
221
220
                                                         unsigned int height,
222
221
                                                         bool fullscreen,
223
222
                                                         bool resizable = true,
224
 
                                                         bool centered = true,
225
223
                                                         bool handleOpenGL = false);
226
224
 
227
225
        /**
623
621
        /**
624
622
         * @brief Whether to invert relative movement.
625
623
         * 
626
 
         * It can be 1(normal) or -1(inverted).
627
624
         */
628
 
        int mInvertMouse;
 
625
        bool mInvertMouse;
629
626
 
630
627
        /**
631
628
         * @brief If true, SDL will handle the OpenGL context.