diff options
author | Scroggo <Scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-06-17 13:53:05 +0000 |
---|---|---|
committer | Scroggo <Scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-06-17 13:53:05 +0000 |
commit | b4490c7435df46261c00dbfdcdd9d2e9d56d1f52 (patch) | |
tree | b7f1a0b32f453e3cf9b1e6d12f3ca8f3e9d5d32b /src/utils/unix | |
parent | cae6b3f1e85239f95fcdad2b341ccbe83a8a2a40 (diff) |
Minor fixes for SampleApp.
- Add a comment for invalidating in onSizeChange.
- Call base constructor for SkOSWindow_Unix.
- Call onSizeChange in SampleWindow constructor so fZoomCenter gets set.
git-svn-id: http://skia.googlecode.com/svn/trunk@1627 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/utils/unix')
-rw-r--r-- | src/utils/unix/SkOSWindow_Unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/unix/SkOSWindow_Unix.cpp b/src/utils/unix/SkOSWindow_Unix.cpp index 2e4ae88212..a75216676d 100644 --- a/src/utils/unix/SkOSWindow_Unix.cpp +++ b/src/utils/unix/SkOSWindow_Unix.cpp @@ -25,7 +25,7 @@ const int HEIGHT = 500; const long EVENT_MASK = StructureNotifyMask|ButtonPressMask|ButtonReleaseMask |ExposureMask|PointerMotionMask|KeyPressMask|KeyReleaseMask; -SkOSWindow::SkOSWindow(void* unused) : fGLAttached(false), fVi(0) +SkOSWindow::SkOSWindow(void* unused) : INHERITED(), fGLAttached(false), fVi(0) { fUnixWindow.fDisplay = XOpenDisplay(NULL); Display* dsp = fUnixWindow.fDisplay; |