|
@@ -5,25 +5,25 @@
|
|
|
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
|
|
|
*/
|
|
|
|
|
|
/** @file cocoa_v.h The Cocoa video driver. */
|
|
|
|
|
|
#ifndef VIDEO_COCOA_H
|
|
|
#define VIDEO_COCOA_H
|
|
|
|
|
|
#include "../video_driver.hpp"
|
|
|
|
|
|
class VideoDriver_Cocoa : public VideoDriver {
|
|
|
public:
|
|
|
const char *Start(const char * const *param) override;
|
|
|
const char *Start(const StringList ¶m) override;
|
|
|
|
|
|
/** Stop the video driver */
|
|
|
void Stop() override;
|
|
|
|
|
|
/** Mark dirty a screen region
|
|
|
* @param left x-coordinate of left border
|
|
|
* @param top y-coordinate of top border
|
|
|
* @param width width or dirty rectangle
|
|
|
* @param height height of dirty rectangle
|
|
|
*/
|
|
|
void MakeDirty(int left, int top, int width, int height) override;
|
|
|
|