| * Copyright 2006 The Android Open Source Project |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| #ifndef SkOSWindow_SDL_DEFINED |
| #define SkOSWindow_SDL_DEFINED |
| class SkOSWindow : public SkWindow { |
| SkOSWindow(void* screen); |
| static bool PostEvent(SkEvent* evt, SkEventSinkID, SkMSec delay); |
| void handleSDLEvent(const SDL_Event& event); |
| // overrides from SkWindow |
| virtual void onHandleInval(const SkIRect&); |
| virtual void onAddMenu(const SkOSMenu*); |
| virtual void onSetTitle(const char[]); |
| typedef SkWindow INHERITED; |