~ubuntu-branches/ubuntu/utopic/blender/utopic-proposed

« back to all changes in this revision

Viewing changes to intern/ghost/intern/GHOST_Window.h

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-02-19 11:24:23 UTC
  • mfrom: (14.2.23 sid)
  • Revision ID: package-import@ubuntu.com-20140219112423-rkmaz2m7ha06d4tk
Tags: 2.69-3ubuntu1
* Merge with Debian; remaining changes:
  - Configure without OpenImageIO on armhf, as it is not available on
    Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
         * virtual GHOST_TWindowOrder getOrder(void) = 0;
68
68
         * virtual GHOST_TSuccess setOrder(GHOST_TWindowOrder order) = 0;
69
69
         * virtual GHOST_TSuccess swapBuffers() = 0;
 
70
         * virtual GHOST_TSuccess setSwapInterval() = 0;
 
71
         * virtual int getSwapInterval() = 0;
70
72
         * virtual GHOST_TSuccess activateDrawingContext() = 0;
71
73
         * virtual GHOST_TSuccess invalidate() = 0;
72
74
         */
110
112
         * virtual GHOST_TSuccess setState(GHOST_TWindowState state) = 0;
111
113
         * virtual GHOST_TSuccess setOrder(GHOST_TWindowOrder order) = 0;
112
114
         * virtual GHOST_TSuccess swapBuffers() = 0;
 
115
         * virtual GHOST_TSuccess setSwapInterval() = 0;
 
116
         * virtual int getSwapInterval() = 0;
113
117
         * virtual GHOST_TSuccess activateDrawingContext() = 0;
114
118
         * virtual GHOST_TSuccess invalidate() = 0;
115
119
         */
205
209
        }
206
210
        
207
211
        /**
 
212
         * Sets the swap interval for swapBuffers.
 
213
         * \param interval The swap interval to use.
 
214
         * \return A boolean success indicator.
 
215
         */
 
216
        virtual GHOST_TSuccess setSwapInterval(int interval) {
 
217
                return GHOST_kFailure;
 
218
        }
 
219
        
 
220
        /**
 
221
         * Gets the current swap interval for swapBuffers.
 
222
         * \return An integer.
 
223
         */
 
224
        virtual int getSwapInterval() {
 
225
                return 0;
 
226
        }
 
227
        
 
228
        /**
208
229
         * Tells if the ongoing drag'n'drop object can be accepted upon mouse drop
209
230
         */
210
231
        virtual void setAcceptDragOperation(bool canAccept);