File diff r18159:2c94e9268b2c → r18160:133e96e28508
src/video/cocoa/cocoa_v.h
Show inline comments
 
@@ -44,12 +44,17 @@ public:
 
	/** Set a new window mode
 
	 * @param fullscreen Whether to set fullscreen mode or not
 
	 * @return Whether changing the screen mode was successful
 
	 */
 
	/* virtual */ bool ToggleFullscreen(bool fullscreen);
 

	
 
	/** Callback invoked after the blitter was changed.
 
	 * @return True if no error.
 
	 */
 
	/* virtual */ bool AfterBlitterChange();
 

	
 
	/** Return driver name
 
	 * @return driver name
 
	 */
 
	/* virtual */ const char *GetName() const { return "cocoa"; }
 
};
 

	
 
@@ -120,13 +125,13 @@ public:
 

	
 
	/** Change window resolution
 
	 * @param w New window width
 
	 * @param h New window height
 
	 * @return Whether change was successful
 
	 */
 
	virtual bool ChangeResolution(int w, int h) = 0;
 
	virtual bool ChangeResolution(int w, int h, int bpp) = 0;
 

	
 
	/** Are we in fullscreen mode
 
	 * @return whether fullscreen mode is currently used
 
	 */
 
	virtual bool IsFullscreen() = 0;