• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2006 The Android Open Source Project
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #ifndef SkOSWindow_wxwidgets_DEFINED
9 #define SkOSWindow_wxwidgets_DEFINED
10 
11 #include "SkWindow.h"
12 #include "wx/frame.h"
13 
14 class SkOSWindow: public SkWindow
15 {
16 public:
17     SkOSWindow();
18     SkOSWindow(const wxString& title, int x, int y, int width, int height);
19     ~SkOSWindow();
20 
getWXFrame()21     wxFrame* getWXFrame() const { return fFrame; }
22 
23     void updateSize();
24 
25 protected:
26     virtual void onHandleInval(const SkIRect&);
27     virtual void onAddMenu(const SkOSMenu*);
28 
29 private:
30     wxFrame* fFrame;
31     typedef SkWindow INHERITED;
32 
33 };
34 
35 #endifpedef SkWindow INHERITED;
36