src/blitter/base.hpp
changeset 6951 b24e0f108ede
parent 6948 d7d326482813
child 6960 356d856462b6
equal deleted inserted replaced
6950:14ecb0acdfb4 6951:b24e0f108ede
   137 	 * @param height The height of the buffer to move.
   137 	 * @param height The height of the buffer to move.
   138 	 */
   138 	 */
   139 	virtual void MoveBuffer(void *video_dst, const void *video_src, int width, int height) = 0;
   139 	virtual void MoveBuffer(void *video_dst, const void *video_src, int width, int height) = 0;
   140 
   140 
   141 	/**
   141 	/**
       
   142 	 * Scroll the videobuffer some 'x' and 'y' value.
       
   143 	 * @param video The buffer to scroll into.
       
   144 	 * @param left The left value of the screen to scroll.
       
   145 	 * @param top The top value of the screen to scroll.
       
   146 	 * @param width The width of the screen to scroll.
       
   147 	 * @param height The height of the screen to scroll.
       
   148 	 * @param scroll_x How much to scroll in X.
       
   149 	 * @param scroll_y How much to scroll in Y.
       
   150 	 */
       
   151 	virtual void ScrollBuffer(void *video, int &left, int &top, int &width, int &height, int scroll_x, int scroll_y) = 0;
       
   152 
       
   153 	/**
   142 	 * Calculate how much memory there is needed for an image of this size in the video-buffer.
   154 	 * Calculate how much memory there is needed for an image of this size in the video-buffer.
   143 	 * @param width The width of the buffer-to-be.
   155 	 * @param width The width of the buffer-to-be.
   144 	 * @param height The height of the buffer-to-be.
   156 	 * @param height The height of the buffer-to-be.
   145 	 * @return The size needed for the buffer.
   157 	 * @return The size needed for the buffer.
   146 	 */
   158 	 */