File diff r22010:e2c664f87e92 → r22011:0dc7eed331dd
src/gfx_type.h
Show inline comments
 
@@ -135,12 +135,18 @@ struct CursorVars {
 
	bool visible;    ///< cursor is visible
 
	bool dirty;      ///< the rect occupied by the mouse is dirty (redraw)
 
	bool fix_at;     ///< mouse is moving, but cursor is not (used for scrolling)
 
	bool in_window;  ///< mouse inside this window, determines drawing logic
 

	
 
	bool vehchain;   ///< vehicle chain is dragged
 

	
 
	bool UpdateCursorPosition(int x, int y, bool queued_warp);
 

	
 
private:
 
	bool queued_warp;
 
	Point last_position;
 
};
 

	
 
/** Data about how and where to blit pixels. */
 
struct DrawPixelInfo {
 
	void *dst_ptr;
 
	int left, top, width, height;