File diff r24764:1ef60c5f1172 → r24765:2c3933a09d54
src/video/cocoa/cocoa_v.h
Show inline comments
 
@@ -23,27 +23,28 @@ private:
 
	int device_width;     ///< Width of device in pixel
 
	int device_height;    ///< Height of device in pixel
 
	int device_depth;     ///< Colour depth of device in bit
 

	
 
	int window_width;     ///< Current window width in pixel
 
	int window_height;    ///< Current window height in pixel
 
	int window_pitch;
 

	
 
	int buffer_depth;     ///< Colour depth of used frame buffer
 
	void *pixel_buffer;   ///< used for direct pixel access
 
	void *window_buffer;  ///< Colour translation from palette to screen
 

	
 
#	define MAX_DIRTY_RECTS 100
 
	static const int MAX_DIRTY_RECTS = 100;
 

	
 
	Rect dirty_rects[MAX_DIRTY_RECTS]; ///< dirty rectangles
 
	int num_dirty_rects = MAX_DIRTY_RECTS;  ///< Number of dirty rectangles
 
	uint num_dirty_rects;  ///< Number of dirty rectangles
 
	uint32 palette[256];  ///< Colour Palette
 

	
 
public:
 
	bool active;          ///< Whether the window is visible
 
	bool setup;
 

	
 
	id window;            ///< Pointer to window object
 
	id cocoaview;         ///< Pointer to view object
 
	CGColorSpaceRef color_space; ///< Window color space
 
	CGContextRef cgcontext;      ///< Context reference for Quartz subdriver
 

	
 
public: