diff options
author | Brian Osman <brianosman@google.com> | 2017-11-21 13:18:02 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-21 18:37:19 +0000 |
commit | eff04b5ec287e0fee0d44207c10d2d11f7eade8a (patch) | |
tree | ea2cf00ea329c81611536aaa9a9f1eca47c67e9a | |
parent | 2aa09dbe8aced37aa6bb285e62df45deb0e81650 (diff) |
Remove SampleApp and convert HelloWorld to sk_app
There is still a large amount of views code that could be trimmed down,
but which is used to implement samples (in viewer). Seemed simpler to
remove some of this code in pieces.
Bug: skia:
Change-Id: Ia3415060d03c8de604a154e3dc38379b754daab6
Reviewed-on: https://skia-review.googlesource.com/72801
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
-rw-r--r-- | BUILD.gn | 169 | ||||
-rw-r--r-- | example/HelloWorld.cpp | 155 | ||||
-rw-r--r-- | example/HelloWorld.h | 74 | ||||
-rw-r--r-- | example/mac/HelloWorld-Info.plist | 32 | ||||
-rw-r--r-- | example/mac/HelloWorld.xib | 3661 | ||||
-rw-r--r-- | example/mac/HelloWorldDelegate.h | 27 | ||||
-rw-r--r-- | example/mac/HelloWorldDelegate.mm | 27 | ||||
-rw-r--r-- | example/mac/HelloWorldNSView.h | 13 | ||||
-rw-r--r-- | example/mac/HelloWorldNSView.mm | 27 | ||||
-rw-r--r-- | experimental/FileReaderApp/English.lproj/InfoPlist.strings | 2 | ||||
-rw-r--r-- | experimental/FileReaderApp/English.lproj/MainMenu.xib | 4272 | ||||
-rw-r--r-- | experimental/FileReaderApp/FileReaderApp-Info.plist | 32 | ||||
-rw-r--r-- | experimental/FileReaderApp/FileReaderAppDelegate.h | 15 | ||||
-rw-r--r-- | experimental/FileReaderApp/FileReaderAppDelegate.mm | 10 | ||||
-rw-r--r-- | experimental/FileReaderApp/FileReaderApp_Prefix.pch | 7 | ||||
-rw-r--r-- | experimental/FileReaderApp/FileReaderWindow.h | 14 | ||||
-rw-r--r-- | experimental/FileReaderApp/FileReaderWindow.mm | 43 | ||||
-rw-r--r-- | experimental/FileReaderApp/ReaderView.cpp | 75 | ||||
-rw-r--r-- | experimental/FileReaderApp/ReaderView.h | 29 | ||||
-rw-r--r-- | experimental/FileReaderApp/main.m | 16 | ||||
-rw-r--r-- | samplecode/SampleApp.cpp | 2559 | ||||
-rw-r--r-- | samplecode/SampleApp.h | 282 | ||||
-rw-r--r-- | samplecode/SamplePictFile.cpp | 217 | ||||
-rw-r--r-- | src/views/mac/SkSampleNSView.h | 11 | ||||
-rw-r--r-- | src/views/mac/SkSampleNSView.mm | 31 | ||||
-rw-r--r-- | tools/sk_app/Application.h (renamed from tools/viewer/sk_app/Application.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/CommandSet.cpp (renamed from tools/viewer/sk_app/CommandSet.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/CommandSet.h (renamed from tools/viewer/sk_app/CommandSet.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/DisplayParams.h (renamed from tools/viewer/sk_app/DisplayParams.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/GLWindowContext.cpp (renamed from tools/viewer/sk_app/GLWindowContext.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/GLWindowContext.h (renamed from tools/viewer/sk_app/GLWindowContext.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/RasterWindowContext.h (renamed from tools/viewer/sk_app/RasterWindowContext.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/VulkanWindowContext.cpp (renamed from tools/viewer/sk_app/VulkanWindowContext.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/VulkanWindowContext.h (renamed from tools/viewer/sk_app/VulkanWindowContext.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/Window.cpp (renamed from tools/viewer/sk_app/Window.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/Window.h (renamed from tools/viewer/sk_app/Window.h) | 5 | ||||
-rw-r--r-- | tools/sk_app/WindowContext.h (renamed from tools/viewer/sk_app/WindowContext.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/android/GLWindowContext_android.cpp (renamed from tools/viewer/sk_app/android/GLWindowContext_android.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/android/RasterWindowContext_android.cpp (renamed from tools/viewer/sk_app/android/RasterWindowContext_android.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/android/VulkanWindowContext_android.cpp (renamed from tools/viewer/sk_app/android/VulkanWindowContext_android.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/android/WindowContextFactory_android.h (renamed from tools/viewer/sk_app/android/WindowContextFactory_android.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/android/Window_android.cpp (renamed from tools/viewer/sk_app/android/Window_android.cpp) | 2 | ||||
-rw-r--r-- | tools/sk_app/android/Window_android.h (renamed from tools/viewer/sk_app/android/Window_android.h) | 2 | ||||
-rw-r--r-- | tools/sk_app/android/main_android.cpp (renamed from tools/viewer/sk_app/android/main_android.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/android/surface_glue_android.cpp (renamed from tools/viewer/sk_app/android/surface_glue_android.cpp) | 4 | ||||
-rw-r--r-- | tools/sk_app/android/surface_glue_android.h (renamed from tools/viewer/sk_app/android/surface_glue_android.h) | 2 | ||||
-rw-r--r-- | tools/sk_app/ios/GLWindowContext_ios.cpp (renamed from tools/viewer/sk_app/ios/GLWindowContext_ios.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/ios/RasterWindowContext_ios.cpp (renamed from tools/viewer/sk_app/ios/RasterWindowContext_ios.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/ios/WindowContextFactory_ios.h (renamed from tools/viewer/sk_app/ios/WindowContextFactory_ios.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/ios/Window_ios.cpp (renamed from tools/viewer/sk_app/ios/Window_ios.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/ios/Window_ios.h (renamed from tools/viewer/sk_app/ios/Window_ios.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/ios/main_ios.cpp (renamed from tools/viewer/sk_app/ios/main_ios.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/mac/GLWindowContext_mac.cpp (renamed from tools/viewer/sk_app/mac/GLWindowContext_mac.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/mac/RasterWindowContext_mac.cpp (renamed from tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/mac/WindowContextFactory_mac.h (renamed from tools/viewer/sk_app/mac/WindowContextFactory_mac.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/mac/Window_mac.cpp (renamed from tools/viewer/sk_app/mac/Window_mac.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/mac/Window_mac.h (renamed from tools/viewer/sk_app/mac/Window_mac.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/mac/main_mac.cpp (renamed from tools/viewer/sk_app/mac/main_mac.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/unix/GLWindowContext_unix.cpp (renamed from tools/viewer/sk_app/unix/GLWindowContext_unix.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/unix/RasterWindowContext_unix.cpp (renamed from tools/viewer/sk_app/unix/RasterWindowContext_unix.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/unix/VulkanWindowContext_unix.cpp (renamed from tools/viewer/sk_app/unix/VulkanWindowContext_unix.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/unix/WindowContextFactory_unix.h (renamed from tools/viewer/sk_app/unix/WindowContextFactory_unix.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/unix/Window_unix.cpp (renamed from tools/viewer/sk_app/unix/Window_unix.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/unix/Window_unix.h (renamed from tools/viewer/sk_app/unix/Window_unix.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/unix/main_unix.cpp (renamed from tools/viewer/sk_app/unix/main_unix.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/win/ANGLEWindowContext_win.cpp (renamed from tools/viewer/sk_app/win/ANGLEWindowContext_win.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/win/GLWindowContext_win.cpp (renamed from tools/viewer/sk_app/win/GLWindowContext_win.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/win/RasterWindowContext_win.cpp (renamed from tools/viewer/sk_app/win/RasterWindowContext_win.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/win/VulkanWindowContext_win.cpp (renamed from tools/viewer/sk_app/win/VulkanWindowContext_win.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/win/WindowContextFactory_win.h (renamed from tools/viewer/sk_app/win/WindowContextFactory_win.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/win/Window_win.cpp (renamed from tools/viewer/sk_app/win/Window_win.cpp) | 0 | ||||
-rw-r--r-- | tools/sk_app/win/Window_win.h (renamed from tools/viewer/sk_app/win/Window_win.h) | 0 | ||||
-rw-r--r-- | tools/sk_app/win/main_win.cpp (renamed from tools/viewer/sk_app/win/main_win.cpp) | 0 | ||||
-rw-r--r-- | tools/viewer/Viewer.cpp | 2 | ||||
-rw-r--r-- | tools/viewer/Viewer.h | 1 |
75 files changed, 170 insertions, 11648 deletions
@@ -1399,54 +1399,6 @@ if (skia_enable_tools) { ] } - if (is_linux || is_win || is_mac) { - test_app("SampleApp") { - sources = [ - "samplecode/SampleApp.cpp", - "samplecode/SamplePictFile.cpp", - ] - if (is_mac) { - sources += [ "src/views/mac/skia_mac.mm" ] - } else if (is_win) { - sources += [ "src/views/win/skia_win.cpp" ] - } else if (is_linux) { - sources += [ "src/views/unix/skia_unix.cpp" ] - } - deps = [ - ":flags", - ":gm", - ":gpu_tool_utils", - ":samples", - ":skia", - ":tool_utils", - ":views", - ] - if (skia_use_angle) { - deps += [ "//third_party/angle2" ] - } - } - } - - if (skia_enable_gpu && !skia_use_angle && (is_linux || is_win || is_mac)) { - test_app("HelloWorld") { - sources = [ - "example/HelloWorld.cpp", - ] - if (is_mac) { - sources += [ "src/views/mac/skia_mac.mm" ] - } else if (is_win) { - sources += [ "src/views/win/skia_win.cpp" ] - } else if (is_linux) { - sources += [ "src/views/unix/skia_unix.cpp" ] - } - deps = [ - ":gpu_tool_utils", - ":skia", - ":views", - ] - } - } - if (skia_enable_gpu) { test_app("skpbench") { sources = [ @@ -1650,86 +1602,74 @@ if (skia_enable_tools) { } if (skia_enable_gpu) { - test_app("viewer") { - is_shared_library = is_android + test_lib("sk_app") { + public_include_dirs = [ "tools/sk_app" ] sources = [ - "tools/viewer/GMSlide.cpp", - "tools/viewer/ImageSlide.cpp", - "tools/viewer/SKPSlide.cpp", - "tools/viewer/SampleSlide.cpp", - "tools/viewer/Viewer.cpp", - "tools/viewer/sk_app/CommandSet.cpp", - "tools/viewer/sk_app/GLWindowContext.cpp", - "tools/viewer/sk_app/Window.cpp", + "tools/sk_app/CommandSet.cpp", + "tools/sk_app/GLWindowContext.cpp", + "tools/sk_app/Window.cpp", ] libs = [] if (is_android) { sources += [ - "tools/viewer/sk_app/android/GLWindowContext_android.cpp", - "tools/viewer/sk_app/android/RasterWindowContext_android.cpp", - "tools/viewer/sk_app/android/Window_android.cpp", - "tools/viewer/sk_app/android/main_android.cpp", - "tools/viewer/sk_app/android/surface_glue_android.cpp", + "tools/sk_app/android/GLWindowContext_android.cpp", + "tools/sk_app/android/RasterWindowContext_android.cpp", + "tools/sk_app/android/Window_android.cpp", + "tools/sk_app/android/main_android.cpp", + "tools/sk_app/android/surface_glue_android.cpp", ] libs += [ "android" ] } else if (is_linux) { sources += [ - "tools/viewer/sk_app/unix/GLWindowContext_unix.cpp", - "tools/viewer/sk_app/unix/RasterWindowContext_unix.cpp", - "tools/viewer/sk_app/unix/Window_unix.cpp", - "tools/viewer/sk_app/unix/main_unix.cpp", + "tools/sk_app/unix/GLWindowContext_unix.cpp", + "tools/sk_app/unix/RasterWindowContext_unix.cpp", + "tools/sk_app/unix/Window_unix.cpp", + "tools/sk_app/unix/main_unix.cpp", ] } else if (is_win) { sources += [ - "tools/viewer/sk_app/win/GLWindowContext_win.cpp", - "tools/viewer/sk_app/win/RasterWindowContext_win.cpp", - "tools/viewer/sk_app/win/Window_win.cpp", - "tools/viewer/sk_app/win/main_win.cpp", + "tools/sk_app/win/GLWindowContext_win.cpp", + "tools/sk_app/win/RasterWindowContext_win.cpp", + "tools/sk_app/win/Window_win.cpp", + "tools/sk_app/win/main_win.cpp", ] if (skia_use_angle) { - sources += [ "tools/viewer/sk_app/win/ANGLEWindowContext_win.cpp" ] + sources += [ "tools/sk_app/win/ANGLEWindowContext_win.cpp" ] } } else if (is_mac) { sources += [ - "tools/viewer/sk_app/mac/GLWindowContext_mac.cpp", - "tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp", - "tools/viewer/sk_app/mac/Window_mac.cpp", - "tools/viewer/sk_app/mac/main_mac.cpp", + "tools/sk_app/mac/GLWindowContext_mac.cpp", + "tools/sk_app/mac/RasterWindowContext_mac.cpp", + "tools/sk_app/mac/Window_mac.cpp", + "tools/sk_app/mac/main_mac.cpp", ] } else if (is_ios) { sources += [ - "tools/viewer/sk_app/ios/GLWindowContext_ios.cpp", - "tools/viewer/sk_app/ios/RasterWindowContext_ios.cpp", - "tools/viewer/sk_app/ios/Window_ios.cpp", - "tools/viewer/sk_app/ios/main_ios.cpp", + "tools/sk_app/ios/GLWindowContext_ios.cpp", + "tools/sk_app/ios/RasterWindowContext_ios.cpp", + "tools/sk_app/ios/Window_ios.cpp", + "tools/sk_app/ios/main_ios.cpp", ] } if (skia_use_vulkan) { - sources += [ "tools/viewer/sk_app/VulkanWindowContext.cpp" ] + sources += [ "tools/sk_app/VulkanWindowContext.cpp" ] if (is_android) { - sources += - [ "tools/viewer/sk_app/android/VulkanWindowContext_android.cpp" ] + sources += [ "tools/sk_app/android/VulkanWindowContext_android.cpp" ] } else if (is_linux) { - sources += [ "tools/viewer/sk_app/unix/VulkanWindowContext_unix.cpp" ] + sources += [ "tools/sk_app/unix/VulkanWindowContext_unix.cpp" ] libs += [ "X11-xcb" ] } else if (is_win) { - sources += [ "tools/viewer/sk_app/win/VulkanWindowContext_win.cpp" ] + sources += [ "tools/sk_app/win/VulkanWindowContext_win.cpp" ] } } - include_dirs = [] deps = [ - ":flags", - ":gm", ":gpu_tool_utils", - ":samples", ":skia", ":tool_utils", ":views", - "//third_party/imgui", - "//third_party/jsoncpp", ] if (is_android) { deps += [ "//third_party/native_app_glue" ] @@ -1742,6 +1682,53 @@ if (skia_enable_tools) { } } + if (skia_enable_gpu) { + test_app("viewer") { + is_shared_library = is_android + sources = [ + "tools/viewer/GMSlide.cpp", + "tools/viewer/ImageSlide.cpp", + "tools/viewer/SKPSlide.cpp", + "tools/viewer/SampleSlide.cpp", + "tools/viewer/Viewer.cpp", + ] + libs = [] + + include_dirs = [] + deps = [ + ":flags", + ":gm", + ":gpu_tool_utils", + ":samples", + ":sk_app", + ":skia", + ":tool_utils", + ":views", + "//third_party/imgui", + "//third_party/jsoncpp", + ] + } + } + + if (skia_enable_gpu && !skia_use_angle && (is_linux || is_win || is_mac)) { + test_app("HelloWorld") { + sources = [ + "example/HelloWorld.cpp", + ] + libs = [] + + include_dirs = [] + deps = [ + ":flags", + ":gpu_tool_utils", + ":sk_app", + ":skia", + ":tool_utils", + ":views", + ] + } + } + if (skia_enable_gpu && (is_linux || is_mac || is_ios)) { test_app("SkiaSDLExample") { sources = [ diff --git a/example/HelloWorld.cpp b/example/HelloWorld.cpp index 83bc4ecf44..fba7f7e5a0 100644 --- a/example/HelloWorld.cpp +++ b/example/HelloWorld.cpp @@ -1,81 +1,78 @@ /* - * Copyright 2015 Google Inc. - * - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - * - */ +* Copyright 2017 Google Inc. +* +* Use of this source code is governed by a BSD-style license that can be +* found in the LICENSE file. +*/ #include "HelloWorld.h" -#include "gl/GrGLInterface.h" #include "GrContext.h" -#include "SkApplication.h" #include "SkCanvas.h" #include "SkGradientShader.h" #include "SkGraphics.h" -#include "SkGr.h" -void application_init() { - SkGraphics::Init(); - SkEvent::Init(); -} +using namespace sk_app; -void application_term() { - SkEvent::Term(); +Application* Application::Create(int argc, char** argv, void* platformData) { + return new HelloWorld(argc, argv, platformData); } -HelloWorldWindow::HelloWorldWindow(void* hwnd) - : INHERITED(hwnd) { - fType = kGPU_DeviceType; - fRotationAngle = 0; - this->setTitle(); - this->setUpBackend(); +static void on_backend_created_func(void* userData) { + HelloWorld* hw = reinterpret_cast<HelloWorld*>(userData); + return hw->onBackendCreated(); } -HelloWorldWindow::~HelloWorldWindow() { - tearDownBackend(); +static void on_paint_handler(SkCanvas* canvas, void* userData) { + HelloWorld* hw = reinterpret_cast<HelloWorld*>(userData); + return hw->onPaint(canvas); } -void HelloWorldWindow::tearDownBackend() { - INHERITED::release(); +static bool on_char_handler(SkUnichar c, uint32_t modifiers, void* userData) { + HelloWorld* hw = reinterpret_cast<HelloWorld*>(userData); + return hw->onChar(c, modifiers); } -void HelloWorldWindow::setTitle() { - SkString title("Hello World "); - title.appendf(fType == kRaster_DeviceType ? "raster" : "opengl"); - INHERITED::setTitle(title.c_str()); -} +HelloWorld::HelloWorld(int argc, char** argv, void* platformData) + : fBackendType(Window::kNativeGL_BackendType) + , fRotationAngle(0) { + SkGraphics::Init(); -bool HelloWorldWindow::setUpBackend() { - this->setVisibleP(true); - this->setClipToBounds(false); + fWindow = Window::CreateNativeWindow(platformData); + fWindow->setRequestedDisplayParams(DisplayParams()); - bool result = attach(kNativeGL_BackEndType, 0 /*msaa*/, false, &fAttachmentInfo); - if (false == result) { - SkDebugf("Not possible to create backend.\n"); - release(); - return false; - } + // register callbacks + fWindow->registerBackendCreatedFunc(on_backend_created_func, this); + fWindow->registerPaintFunc(on_paint_handler, this); + fWindow->registerCharFunc(on_char_handler, this); - fInterface.reset(GrGLCreateNativeInterface()); - SkASSERT(NULL != fInterface); + fWindow->attach(fBackendType); +} - fContext = GrContext::MakeGL(fInterface.get()); - SkASSERT(NULL != fContext); +HelloWorld::~HelloWorld() { + fWindow->detach(); + delete fWindow; +} - this->setUpGpuBackedSurface(); - return true; +void HelloWorld::updateTitle() { + if (!fWindow || fWindow->sampleCount() < 0) { + return; + } + + SkString title("Hello World "); + title.append(Window::kRaster_BackendType == fBackendType ? "Raster" : "OpenGL"); + fWindow->setTitle(title.c_str()); } -void HelloWorldWindow::setUpGpuBackedSurface() { - fGpuSurface = this->makeGpuBackedSurface(fAttachmentInfo, fInterface.get(), fContext.get()); +void HelloWorld::onBackendCreated() { + this->updateTitle(); + fWindow->show(); + fWindow->inval(); } -void HelloWorldWindow::drawContents(SkCanvas* canvas) { +void HelloWorld::onPaint(SkCanvas* canvas) { // Clear background - canvas->drawColor(SK_ColorWHITE); + canvas->clear(SK_ColorWHITE); SkPaint paint; paint.setColor(SK_ColorRED); @@ -86,16 +83,11 @@ void HelloWorldWindow::drawContents(SkCanvas* canvas) { // Set up a linear gradient and draw a circle { - SkPoint linearPoints[] = { - {0, 0}, - {300, 300} - }; - SkColor linearColors[] = {SK_ColorGREEN, SK_ColorBLACK}; - - paint.setShader(SkGradientShader::MakeLinear( - linearPoints, linearColors, nullptr, 2, - SkShader::kMirror_TileMode)); - paint.setFlags(SkPaint::kAntiAlias_Flag); + SkPoint linearPoints[] = { { 0, 0 }, { 300, 300 } }; + SkColor linearColors[] = { SK_ColorGREEN, SK_ColorBLACK }; + paint.setShader(SkGradientShader::MakeLinear(linearPoints, linearColors, nullptr, 2, + SkShader::kMirror_TileMode)); + paint.setAntiAlias(true); canvas->drawCircle(200, 200, 64, paint); @@ -103,15 +95,12 @@ void HelloWorldWindow::drawContents(SkCanvas* canvas) { paint.setShader(nullptr); } - // Draw a message with a nice black paint. - paint.setFlags( - SkPaint::kAntiAlias_Flag | - SkPaint::kSubpixelText_Flag); // ... avoid waggly text when rotating. + // Draw a message with a nice black paint + paint.setSubpixelText(true); paint.setColor(SK_ColorBLACK); paint.setTextSize(20); canvas->save(); - static const char message[] = "Hello World"; // Translate and rotate @@ -122,39 +111,23 @@ void HelloWorldWindow::drawContents(SkCanvas* canvas) { } canvas->rotate(fRotationAngle); - // Draw the text: + // Draw the text canvas->drawText(message, strlen(message), 0, 0, paint); canvas->restore(); } -void HelloWorldWindow::draw(SkCanvas* canvas) { - this->drawContents(canvas); - // Invalidate the window to force a redraw. Poor man's animation mechanism. - this->inval(NULL); - - if (kRaster_DeviceType == fType) { - fRasterSurface->draw(fGpuSurface->getCanvas(), 0, 0, nullptr); - } - fGpuSurface->getCanvas()->flush(); - INHERITED::present(); -} - -void HelloWorldWindow::onSizeChange() { - this->setUpGpuBackedSurface(); +void HelloWorld::onIdle() { + // Just re-paint continously + fWindow->inval(); } -bool HelloWorldWindow::onHandleChar(SkUnichar unichar) { - if (' ' == unichar) { - fType = fType == kRaster_DeviceType ? kGPU_DeviceType: kRaster_DeviceType; - tearDownBackend(); - setUpBackend(); - this->setTitle(); - this->inval(NULL); +bool HelloWorld::onChar(SkUnichar c, uint32_t modifiers) { + if (' ' == c) { + fBackendType = Window::kRaster_BackendType == fBackendType ? Window::kNativeGL_BackendType + : Window::kRaster_BackendType; + fWindow->detach(); + fWindow->attach(fBackendType); } return true; } - -SkOSWindow* create_sk_window(void* hwnd, int , char** ) { - return new HelloWorldWindow(hwnd); -} diff --git a/example/HelloWorld.h b/example/HelloWorld.h index 05d9b81e82..44f1321d6b 100644 --- a/example/HelloWorld.h +++ b/example/HelloWorld.h @@ -1,73 +1,35 @@ /* - * Copyright 2015 Google Inc. - * - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - * - */ +* Copyright 2017 Google Inc. +* +* Use of this source code is governed by a BSD-style license that can be +* found in the LICENSE file. +*/ #ifndef HelloWorld_DEFINED #define HelloWorld_DEFINED -#include "SkSurface.h" -#include "SkWindow.h" +#include "sk_app/Application.h" +#include "sk_app/Window.h" -class GrContext; -struct GrGLInterface; -class GrRenderTarget; class SkCanvas; -class HelloWorldWindow : public SkOSWindow { +class HelloWorld : public sk_app::Application { public: - enum DeviceType { - kRaster_DeviceType, - kGPU_DeviceType, - }; - HelloWorldWindow(void* hwnd); - virtual ~HelloWorldWindow() override; + HelloWorld(int argc, char** argv, void* platformData); + ~HelloWorld() override; - // Changes the device type of the object. - bool setUpBackend(); - - DeviceType getDeviceType() const { return fType; } - -protected: - sk_sp<SkSurface> makeSurface() override { - SkSurfaceProps props(INHERITED::getSurfaceProps()); - if (kGPU_DeviceType == fType) { - return fGpuSurface; - } - const SkImageInfo info = SkImageInfo::MakeN32Premul(SkScalarRoundToInt(this->width()), - SkScalarRoundToInt(this->height())); - fRasterSurface = SkSurface::MakeRaster(info, &props); - return fRasterSurface; - } - - void draw(SkCanvas* canvas) override; - void drawContents(SkCanvas* canvas); - - void onSizeChange() override; + void onBackendCreated(); + void onPaint(SkCanvas* canvas); + void onIdle() override; + bool onChar(SkUnichar c, uint32_t modifiers); private: - bool findNextMatch(); // Set example to the first one that matches FLAGS_match. - void setTitle(); - void setUpGpuBackedSurface(); - bool onHandleChar(SkUnichar unichar) override; - void tearDownBackend(); + void updateTitle(); - // draw contents - SkScalar fRotationAngle; - - // support framework - DeviceType fType; - sk_sp<SkSurface> fRasterSurface; - sk_sp<GrContext> fContext; - sk_sp<SkSurface> fGpuSurface; - AttachmentInfo fAttachmentInfo; - sk_sp<const GrGLInterface> fInterface; + sk_app::Window* fWindow; + sk_app::Window::BackendType fBackendType; - typedef SkOSWindow INHERITED; + SkScalar fRotationAngle; }; #endif diff --git a/example/mac/HelloWorld-Info.plist b/example/mac/HelloWorld-Info.plist deleted file mode 100644 index e9a9aa4979..0000000000 --- a/example/mac/HelloWorld-Info.plist +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>CFBundleDevelopmentRegion</key> - <string>English</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIconFile</key> - <string></string> - <key>CFBundleIdentifier</key> - <string>com.googlecode.skia.${PRODUCT_NAME:rfc1034identifier}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleShortVersionString</key> - <string>1.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1</string> - <key>LSMinimumSystemVersion</key> - <string>${MACOSX_DEPLOYMENT_TARGET}</string> - <key>NSMainNibFile</key> - <string>HelloWorld</string> - <key>NSPrincipalClass</key> - <string>NSApplication</string> -</dict> -</plist> diff --git a/example/mac/HelloWorld.xib b/example/mac/HelloWorld.xib deleted file mode 100644 index 8ff60a244b..0000000000 --- a/example/mac/HelloWorld.xib +++ /dev/null @@ -1,3661 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00"> - <data> - <int key="IBDocument.SystemTarget">1070</int> - <string key="IBDocument.SystemVersion">12D78</string> - <string key="IBDocument.InterfaceBuilderVersion">3084</string> - <string key="IBDocument.AppKitVersion">1187.37</string> - <string key="IBDocument.HIToolboxVersion">626.00</string> - <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> - <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="NS.object.0">3084</string> - </object> - <array key="IBDocument.IntegratedClassDependencies"> - <string>NSCustomObject</string> - <string>NSCustomView</string> - <string>NSDrawer</string> - <string>NSMenu</string> - <string>NSMenuItem</string> - <string>NSScrollView</string> - <string>NSScroller</string> - <string>NSTableColumn</string> - <string>NSTableView</string> - <string>NSTextFieldCell</string> - <string>NSView</string> - <string>NSWindowTemplate</string> - </array> - <array key="IBDocument.PluginDependencies"> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - </array> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <string key="NS.key.0">PluginDependencyRecalculationVersion</string> - <integer value="1" key="NS.object.0"/> - </object> - <array class="NSMutableArray" key="IBDocument.RootObjects" id="1048"> - <object class="NSCustomObject" id="1021"> - <string key="NSClassName">NSApplication</string> - </object> - <object class="NSCustomObject" id="1014"> - <string key="NSClassName">FirstResponder</string> - </object> - <object class="NSCustomObject" id="1050"> - <string key="NSClassName">NSApplication</string> - </object> - <object class="NSCustomObject" id="976324537"> - <string key="NSClassName">HelloWorldDelegate</string> - </object> - <object class="NSCustomObject" id="76290771"> - <string key="NSClassName">NSWindowController</string> - </object> - <object class="NSWindowTemplate" id="972006081"> - <int key="NSWindowStyleMask">15</int> - <int key="NSWindowBacking">2</int> - <string key="NSWindowRect">{{335, 288}, {640, 480}}</string> - <int key="NSWTFlags">1417150464</int> - <string key="NSWindowTitle">Hello World</string> - <string key="NSWindowClass">NSWindow</string> - <nil key="NSViewClass"/> - <nil key="NSUserInterfaceItemIdentifier"/> - <object class="NSView" key="NSWindowView" id="439893737"> - <reference key="NSNextResponder"/> - <int key="NSvFlags">256</int> - <string key="NSFrameSize">{640, 480}</string> - <reference key="NSSuperview"/> - <reference key="NSWindow"/> - </object> - <string key="NSScreenRect">{{0, 0}, {1280, 778}}</string> - <string key="NSMaxSize">{10000000000000, 10000000000000}</string> - <bool key="NSWindowIsRestorable">YES</bool> - </object> - <object class="NSCustomView" id="758604943"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">4352</int> - <array class="NSMutableArray" key="NSSubviews"> - <object class="NSScrollView" id="1038370525"> - <reference key="NSNextResponder" ref="758604943"/> - <int key="NSvFlags">274</int> - <array class="NSMutableArray" key="NSSubviews"> - <object class="NSClipView" id="250930136"> - <reference key="NSNextResponder" ref="1038370525"/> - <int key="NSvFlags">2304</int> - <array class="NSMutableArray" key="NSSubviews"> - <object class="NSTableView" id="429436769"> - <reference key="NSNextResponder" ref="250930136"/> - <int key="NSvFlags">256</int> - <string key="NSFrameSize">{339, 319}</string> - <reference key="NSSuperview" ref="250930136"/> - <bool key="NSEnabled">YES</bool> - <bool key="NSAllowsLogicalLayoutDirection">NO</bool> - <bool key="NSControlAllowsExpansionToolTips">YES</bool> - <object class="_NSCornerView" key="NSCornerView"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">-2147483392</int> - <string key="NSFrame">{{224, 0}, {16, 17}}</string> - </object> - <array class="NSMutableArray" key="NSTableColumns"> - <object class="NSTableColumn" id="691918008"> - <string key="NSIdentifier">Labels</string> - <double key="NSWidth">100</double> - <double key="NSMinWidth">40</double> - <double key="NSMaxWidth">1000</double> - <object class="NSTableHeaderCell" key="NSHeaderCell"> - <int key="NSCellFlags">75497536</int> - <int key="NSCellFlags2">2048</int> - <string key="NSContents"/> - <object class="NSFont" key="NSSupport" id="26"> - <string key="NSName">LucidaGrande</string> - <double key="NSSize">11</double> - <int key="NSfFlags">3100</int> - </object> - <object class="NSColor" key="NSBackgroundColor" id="805714581"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MC4zMzMzMzI5ODU2AA</bytes> - </object> - <object class="NSColor" key="NSTextColor" id="372600372"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">headerTextColor</string> - <object class="NSColor" key="NSColor" id="1032326875"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MAA</bytes> - </object> - </object> - </object> - <object class="NSTextFieldCell" key="NSDataCell" id="241301801"> - <int key="NSCellFlags">68157504</int> - <int key="NSCellFlags2">67241216</int> - <string key="NSContents">Text Cell</string> - <reference key="NSSupport" ref="26"/> - <reference key="NSControlView" ref="429436769"/> - <object class="NSColor" key="NSBackgroundColor" id="598476436"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">controlBackgroundColor</string> - <object class="NSColor" key="NSColor" id="319525538"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MC42NjY2NjY2NjY3AA</bytes> - </object> - </object> - <object class="NSColor" key="NSTextColor" id="1055469070"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">controlTextColor</string> - <reference key="NSColor" ref="1032326875"/> - </object> - </object> - <int key="NSResizingMask">3</int> - <bool key="NSIsResizeable">YES</bool> - <bool key="NSIsEditable">YES</bool> - <reference key="NSTableView" ref="429436769"/> - </object> - <object class="NSTableColumn" id="394988372"> - <string key="NSIdentifier">Controls</string> - <double key="NSWidth">233</double> - <double key="NSMinWidth">40</double> - <double key="NSMaxWidth">1000</double> - <object class="NSTableHeaderCell" key="NSHeaderCell"> - <int key="NSCellFlags">75497536</int> - <int key="NSCellFlags2">2048</int> - <string key="NSContents"/> - <reference key="NSSupport" ref="26"/> - <reference key="NSBackgroundColor" ref="805714581"/> - <reference key="NSTextColor" ref="372600372"/> - </object> - <object class="NSTextFieldCell" key="NSDataCell" id="88358594"> - <int key="NSCellFlags">67108928</int> - <int key="NSCellFlags2">272630784</int> - <string key="NSContents">Text</string> - <object class="NSFont" key="NSSupport"> - <string key="NSName">LucidaGrande</string> - <double key="NSSize">13</double> - <int key="NSfFlags">1044</int> - </object> - <reference key="NSControlView" ref="429436769"/> - <object class="NSColor" key="NSBackgroundColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">controlColor</string> - <reference key="NSColor" ref="319525538"/> - </object> - <reference key="NSTextColor" ref="1055469070"/> - </object> - <int key="NSResizingMask">3</int> - <bool key="NSIsResizeable">YES</bool> - <bool key="NSIsEditable">YES</bool> - <reference key="NSTableView" ref="429436769"/> - </object> - </array> - <double key="NSIntercellSpacingWidth">3</double> - <double key="NSIntercellSpacingHeight">2</double> - <object class="NSColor" key="NSBackgroundColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">_sourceListBackgroundColor</string> - <object class="NSColor" key="NSColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">alternateSelectedControlColor</string> - <object class="NSColor" key="NSColor"> - <int key="NSColorSpace">1</int> - <bytes key="NSRGB">MCAwIDEAA</bytes> - </object> - </object> - </object> - <object class="NSColor" key="NSGridColor"> - <int key="NSColorSpace">6</int> - <string key="NSCatalogName">System</string> - <string key="NSColorName">gridColor</string> - <object class="NSColor" key="NSColor"> - <int key="NSColorSpace">3</int> - <bytes key="NSWhite">MC41AA</bytes> - </object> - </object> - <double key="NSRowHeight">35</double> - <int key="NSTvFlags">1665138688</int> - <reference key="NSDelegate"/> - <reference key="NSDataSource"/> - <int key="NSGridStyleMask">2</int> - <int key="NSColumnAutoresizingStyle">4</int> - <int key="NSDraggingSourceMaskForLocal">15</int> - <int key="NSDraggingSourceMaskForNonLocal">0</int> - <bool key="NSAllowsTypeSelect">NO</bool> - <int key="NSTableViewSelectionHighlightStyle">1</int> - <int key="NSTableViewDraggingDestinationStyle">1</int> - <int key="NSTableViewGroupRowStyle">1</int> - </object> - </array> - <string key="NSFrame">{{1, 1}, {339, 319}}</string> - <reference key="NSSuperview" ref="1038370525"/> - <reference key="NSNextKeyView" ref="429436769"/> - <reference key="NSDocView" ref="429436769"/> - <reference key="NSBGColor" ref="598476436"/> - <int key="NScvFlags">4</int> - </object> - <object class="NSScroller" id="617550661"> - <reference key="NSNextResponder" ref="1038370525"/> - <int key="NSvFlags">-2147483392</int> - <string key="NSFrame">{{317, 1}, {15, 574}}</string> - <reference key="NSSuperview" ref="1038370525"/> - <bool key="NSAllowsLogicalLayoutDirection">NO</bool> - <reference key="NSTarget" ref="1038370525"/> - <string key="NSAction">_doScroller:</string> - <double key="NSPercent">0.99687498807907104</double> - </object> - <object class="NSScroller" id="977018641"> - <reference key="NSNextResponder" ref="1038370525"/> - <int key="NSvFlags">-2147483392</int> - <string key="NSFrame">{{1, 263}, {157, 15}}</string> - <reference key="NSSuperview" ref="1038370525"/> - <bool key="NSAllowsLogicalLayoutDirection">NO</bool> - <int key="NSsFlags">1</int> - <reference key="NSTarget" ref="1038370525"/> - <string key="NSAction">_doScroller:</string> - <double key="NSPercent">0.99705880880355835</double> - </object> - </array> - <string key="NSFrameSize">{341, 321}</string> - <reference key="NSSuperview" ref="758604943"/> - <reference key="NSNextKeyView" ref="250930136"/> - <int key="NSsFlags">133682</int> - <reference key="NSVScroller" ref="617550661"/> - <reference key="NSHScroller" ref="977018641"/> - <reference key="NSContentView" ref="250930136"/> - <bytes key="NSScrollAmts">QSAAAEEgAABCFAAAQhQAAA</bytes> - <double key="NSMinMagnification">0.25</double> - <double key="NSMaxMagnification">4</double> - <double key="NSMagnification">1</double> - </object> - </array> - <string key="NSFrameSize">{341, 321}</string> - <bool key="NSViewCanDrawConcurrently">YES</bool> - <string key="NSClassName">NSView</string> - </object> - <object class="NSDrawer" id="764451088"> - <nil key="NSNextResponder"/> - <string key="NSContentSize">{300, 100}</string> - <string key="NSMinContentSize">{0, 0}</string> - <string key="NSMaxContentSize">{10000, 10000}</string> - <int key="NSPreferredEdge">2</int> - <double key="NSLeadingOffset">0.0</double> - <double key="NSTrailingOffset">15</double> - <nil key="NSParentWindow"/> - <nil key="NSDelegate"/> - </object> - <object class="NSMenu" id="649796088"> - <string key="NSTitle">AMainMenu</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="694149608"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">SimpleCocoaApp</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <object class="NSCustomResource" key="NSOnImage" id="35465992"> - <string key="NSClassName">NSImage</string> - <string key="NSResourceName">NSMenuCheckmark</string> - </object> - <object class="NSCustomResource" key="NSMixedImage" id="502551668"> - <string key="NSClassName">NSImage</string> - <string key="NSResourceName">NSMenuMixedState</string> - </object> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="110575045"> - <string key="NSTitle">SimpleCocoaApp</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="238522557"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">About SimpleCocoaApp</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="24092627"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="622903446"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Show Options</string> - <string key="NSKeyEquiv"></string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="304266470"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="609285721"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Preferences…</string> - <string key="NSKeyEquiv">,</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="481834944"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1046388886"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Services</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="752062318"> - <string key="NSTitle">Services</string> - <array class="NSMutableArray" key="NSMenuItems"/> - <string key="NSName">_NSServicesMenu</string> - </object> - </object> - <object class="NSMenuItem" id="646227648"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="755159360"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Hide SimpleCocoaApp</string> - <string key="NSKeyEquiv">h</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="342932134"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Hide Others</string> - <string key="NSKeyEquiv">h</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="908899353"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Show All</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1056857174"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="632727374"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Quit SimpleCocoaApp</string> - <string key="NSKeyEquiv">q</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - <string key="NSName">_NSAppleMenu</string> - </object> - </object> - <object class="NSMenuItem" id="379814623"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">File</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="720053764"> - <string key="NSTitle">File</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="705341025"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">New</string> - <string key="NSKeyEquiv">n</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="722745758"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Open…</string> - <string key="NSKeyEquiv">o</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1025936716"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Open Recent</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="1065607017"> - <string key="NSTitle">Open Recent</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="759406840"> - <reference key="NSMenu" ref="1065607017"/> - <string key="NSTitle">Clear Menu</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - <string key="NSName">_NSRecentDocumentsMenu</string> - </object> - </object> - <object class="NSMenuItem" id="425164168"> - <reference key="NSMenu" ref="720053764"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="776162233"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Close</string> - <string key="NSKeyEquiv">w</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1023925487"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Save</string> - <string key="NSKeyEquiv">s</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="117038363"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Save As…</string> - <string key="NSKeyEquiv">S</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="579971712"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Revert to Saved</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1010469920"> - <reference key="NSMenu" ref="720053764"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="294629803"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Page Setup...</string> - <string key="NSKeyEquiv">P</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSToolTip"/> - </object> - <object class="NSMenuItem" id="49223823"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Print…</string> - <string key="NSKeyEquiv">p</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="952259628"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Edit</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="789758025"> - <string key="NSTitle">Edit</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="1058277027"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Undo</string> - <string key="NSKeyEquiv">z</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="790794224"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Redo</string> - <string key="NSKeyEquiv">Z</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1040322652"> - <reference key="NSMenu" ref="789758025"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="296257095"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Cut</string> - <string key="NSKeyEquiv">x</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="860595796"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Copy</string> - <string key="NSKeyEquiv">c</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="29853731"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Paste</string> - <string key="NSKeyEquiv">v</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="82994268"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Paste and Match Style</string> - <string key="NSKeyEquiv">V</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="437104165"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Delete</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="583158037"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Select All</string> - <string key="NSKeyEquiv">a</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="212016141"> - <reference key="NSMenu" ref="789758025"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="892235320"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Find</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="963351320"> - <string key="NSTitle">Find</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="447796847"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Find…</string> - <string key="NSKeyEquiv">f</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">1</int> - </object> - <object class="NSMenuItem" id="326711663"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Find Next</string> - <string key="NSKeyEquiv">g</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">2</int> - </object> - <object class="NSMenuItem" id="270902937"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Find Previous</string> - <string key="NSKeyEquiv">G</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">3</int> - </object> - <object class="NSMenuItem" id="159080638"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Use Selection for Find</string> - <string key="NSKeyEquiv">e</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">7</int> - </object> - <object class="NSMenuItem" id="88285865"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Jump to Selection</string> - <string key="NSKeyEquiv">j</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="972420730"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Spelling and Grammar</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="769623530"> - <string key="NSTitle">Spelling and Grammar</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="679648819"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Show Spelling and Grammar</string> - <string key="NSKeyEquiv">:</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="96193923"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Check Document Now</string> - <string key="NSKeyEquiv">;</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="859480356"> - <reference key="NSMenu" ref="769623530"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="948374510"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Check Spelling While Typing</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="967646866"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Check Grammar With Spelling</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="795346622"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Correct Spelling Automatically</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="507821607"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Substitutions</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="698887838"> - <string key="NSTitle">Substitutions</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="65139061"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Show Substitutions</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="19036812"> - <reference key="NSMenu" ref="698887838"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="605118523"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Copy/Paste</string> - <string key="NSKeyEquiv">f</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">1</int> - </object> - <object class="NSMenuItem" id="197661976"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Quotes</string> - <string key="NSKeyEquiv">g</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">2</int> - </object> - <object class="NSMenuItem" id="672708820"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Dashes</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="708854459"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Links</string> - <string key="NSKeyEquiv">G</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">3</int> - </object> - <object class="NSMenuItem" id="537092702"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Text Replacement</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="288088188"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Transformations</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="579392910"> - <string key="NSTitle">Transformations</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="1060694897"> - <reference key="NSMenu" ref="579392910"/> - <string key="NSTitle">Make Upper Case</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="879586729"> - <reference key="NSMenu" ref="579392910"/> - <string key="NSTitle">Make Lower Case</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="56570060"> - <reference key="NSMenu" ref="579392910"/> - <string key="NSTitle">Capitalize</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="676164635"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Speech</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="785027613"> - <string key="NSTitle">Speech</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="731782645"> - <reference key="NSMenu" ref="785027613"/> - <string key="NSTitle">Start Speaking</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="680220178"> - <reference key="NSMenu" ref="785027613"/> - <string key="NSTitle">Stop Speaking</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="586577488"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">View</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="466310130"> - <string key="NSTitle">View</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="87708234"> - <reference key="NSMenu" ref="466310130"/> - <string key="NSTitle">Show Menu Key Equivalents</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <int key="NSState">1</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="102151532"> - <reference key="NSMenu" ref="466310130"/> - <string key="NSTitle">Show Toolbar</string> - <string key="NSKeyEquiv">t</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="237841660"> - <reference key="NSMenu" ref="466310130"/> - <string key="NSTitle">Customize Toolbar…</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="302598603"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Format</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="941447902"> - <string key="NSTitle">Format</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="792887677"> - <reference key="NSMenu" ref="941447902"/> - <string key="NSTitle">Font</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="786677654"> - <string key="NSTitle">Font</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="159677712"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Show Fonts</string> - <string key="NSKeyEquiv">t</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="305399458"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Bold</string> - <string key="NSKeyEquiv">b</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">2</int> - </object> - <object class="NSMenuItem" id="814362025"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Italic</string> - <string key="NSKeyEquiv">i</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">1</int> - </object> - <object class="NSMenuItem" id="330926929"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Underline</string> - <string key="NSKeyEquiv">u</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="533507878"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="158063935"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Bigger</string> - <string key="NSKeyEquiv">+</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">3</int> - </object> - <object class="NSMenuItem" id="885547335"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Smaller</string> - <string key="NSKeyEquiv">-</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">4</int> - </object> - <object class="NSMenuItem" id="901062459"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="767671776"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Kern</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="175441468"> - <string key="NSTitle">Kern</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="252969304"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Use Default</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="766922938"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Use None</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="677519740"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Tighten</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="238351151"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Loosen</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="691570813"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Ligature</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="1058217995"> - <string key="NSTitle">Ligature</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="706297211"> - <reference key="NSMenu" ref="1058217995"/> - <string key="NSTitle">Use Default</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="568384683"> - <reference key="NSMenu" ref="1058217995"/> - <string key="NSTitle">Use None</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="663508465"> - <reference key="NSMenu" ref="1058217995"/> - <string key="NSTitle">Use All</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="769124883"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Baseline</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="18263474"> - <string key="NSTitle">Baseline</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="257962622"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Use Default</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="644725453"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Superscript</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1037576581"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Subscript</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="941806246"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Raise</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1045724900"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Lower</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="739652853"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1012600125"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Show Colors</string> - <string key="NSKeyEquiv">C</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="214559597"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="596732606"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Copy Style</string> - <string key="NSKeyEquiv">c</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="393423671"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Paste Style</string> - <string key="NSKeyEquiv">v</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - <string key="NSName">_NSFontMenu</string> - </object> - </object> - <object class="NSMenuItem" id="215659978"> - <reference key="NSMenu" ref="941447902"/> - <string key="NSTitle">Text</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="446991534"> - <string key="NSTitle">Text</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="875092757"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Align Left</string> - <string key="NSKeyEquiv">{</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="630155264"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Center</string> - <string key="NSKeyEquiv">|</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="945678886"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Justify</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="512868991"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Align Right</string> - <string key="NSKeyEquiv">}</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="163117631"> - <reference key="NSMenu" ref="446991534"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="31516759"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Writing Direction</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="956096989"> - <string key="NSTitle">Writing Direction</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="257099033"> - <reference key="NSMenu" ref="956096989"/> - <bool key="NSIsDisabled">YES</bool> - <string key="NSTitle">Paragraph</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="551969625"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CURlZmF1bHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="249532473"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CUxlZnQgdG8gUmlnaHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="607364498"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CVJpZ2h0IHRvIExlZnQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="508151438"> - <reference key="NSMenu" ref="956096989"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="981751889"> - <reference key="NSMenu" ref="956096989"/> - <bool key="NSIsDisabled">YES</bool> - <string key="NSTitle">Selection</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="380031999"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CURlZmF1bHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="825984362"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CUxlZnQgdG8gUmlnaHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="560145579"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CVJpZ2h0IHRvIExlZnQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="908105787"> - <reference key="NSMenu" ref="446991534"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="644046920"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Show Ruler</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="231811626"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Copy Ruler</string> - <string key="NSKeyEquiv">c</string> - <int key="NSKeyEquivModMask">1310720</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="883618387"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Paste Ruler</string> - <string key="NSKeyEquiv">v</string> - <int key="NSKeyEquivModMask">1310720</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - </object> - </object> - </array> - </object> - </object> - <object class="NSMenuItem" id="713487014"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Window</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="835318025"> - <string key="NSTitle">Window</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="1011231497"> - <reference key="NSMenu" ref="835318025"/> - <string key="NSTitle">Minimize</string> - <string key="NSKeyEquiv">m</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="575023229"> - <reference key="NSMenu" ref="835318025"/> - <string key="NSTitle">Zoom</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="92029792"> - <reference key="NSMenu" ref="835318025"/> - <string key="NSTitle">768 x 1024</string> - <string key="NSKeyEquiv">=</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="299356726"> - <reference key="NSMenu" ref="835318025"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="625202149"> - <reference key="NSMenu" ref="835318025"/> - <string key="NSTitle">Bring All to Front</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - <string key="NSName">_NSWindowsMenu</string> - </object> - </object> - <object class="NSMenuItem" id="448692316"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Help</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="992780483"> - <string key="NSTitle">Help</string> - <array class="NSMutableArray" key="NSMenuItems"> - <object class="NSMenuItem" id="105068016"> - <reference key="NSMenu" ref="992780483"/> - <string key="NSTitle">SimpleCocoaApp Help</string> - <string key="NSKeyEquiv">?</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </array> - <string key="NSName">_NSHelpMenu</string> - </object> - </object> - </array> - <string key="NSName">_NSMainMenu</string> - </object> - <object class="NSCustomObject" id="755631768"> - <string key="NSClassName">NSFontManager</string> - </object> - </array> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <array class="NSMutableArray" key="connectionRecords"> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">terminate:</string> - <reference key="source" ref="1050"/> - <reference key="destination" ref="632727374"/> - </object> - <int key="connectionID">449</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontStandardAboutPanel:</string> - <reference key="source" ref="1021"/> - <reference key="destination" ref="238522557"/> - </object> - <int key="connectionID">142</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">delegate</string> - <reference key="source" ref="1021"/> - <reference key="destination" ref="976324537"/> - </object> - <int key="connectionID">656</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performMiniaturize:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1011231497"/> - </object> - <int key="connectionID">37</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">arrangeInFront:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="625202149"/> - </object> - <int key="connectionID">39</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">print:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="49223823"/> - </object> - <int key="connectionID">86</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">runPageLayout:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="294629803"/> - </object> - <int key="connectionID">87</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">clearRecentDocuments:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="759406840"/> - </object> - <int key="connectionID">127</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performClose:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="776162233"/> - </object> - <int key="connectionID">193</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleContinuousSpellChecking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="948374510"/> - </object> - <int key="connectionID">222</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">undo:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1058277027"/> - </object> - <int key="connectionID">223</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">copy:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="860595796"/> - </object> - <int key="connectionID">224</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">checkSpelling:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="96193923"/> - </object> - <int key="connectionID">225</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">paste:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="29853731"/> - </object> - <int key="connectionID">226</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">stopSpeaking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="680220178"/> - </object> - <int key="connectionID">227</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">cut:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="296257095"/> - </object> - <int key="connectionID">228</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">showGuessPanel:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="679648819"/> - </object> - <int key="connectionID">230</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">redo:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="790794224"/> - </object> - <int key="connectionID">231</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">selectAll:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="583158037"/> - </object> - <int key="connectionID">232</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">startSpeaking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="731782645"/> - </object> - <int key="connectionID">233</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">delete:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="437104165"/> - </object> - <int key="connectionID">235</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performZoom:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="575023229"/> - </object> - <int key="connectionID">240</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="447796847"/> - </object> - <int key="connectionID">241</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">centerSelectionInVisibleArea:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="88285865"/> - </object> - <int key="connectionID">245</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleGrammarChecking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="967646866"/> - </object> - <int key="connectionID">347</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleSmartInsertDelete:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="605118523"/> - </object> - <int key="connectionID">355</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticQuoteSubstitution:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="197661976"/> - </object> - <int key="connectionID">356</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticLinkDetection:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="708854459"/> - </object> - <int key="connectionID">357</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">saveDocument:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1023925487"/> - </object> - <int key="connectionID">362</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">saveDocumentAs:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="117038363"/> - </object> - <int key="connectionID">363</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">revertDocumentToSaved:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="579971712"/> - </object> - <int key="connectionID">364</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">runToolbarCustomizationPalette:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="237841660"/> - </object> - <int key="connectionID">365</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleToolbarShown:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="102151532"/> - </object> - <int key="connectionID">366</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">hide:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="755159360"/> - </object> - <int key="connectionID">367</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">hideOtherApplications:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="342932134"/> - </object> - <int key="connectionID">368</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">unhideAllApplications:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="908899353"/> - </object> - <int key="connectionID">370</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">newDocument:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="705341025"/> - </object> - <int key="connectionID">373</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">openDocument:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="722745758"/> - </object> - <int key="connectionID">374</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">raiseBaseline:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="941806246"/> - </object> - <int key="connectionID">426</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">lowerBaseline:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1045724900"/> - </object> - <int key="connectionID">427</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">copyFont:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="596732606"/> - </object> - <int key="connectionID">428</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">subscript:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1037576581"/> - </object> - <int key="connectionID">429</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">superscript:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="644725453"/> - </object> - <int key="connectionID">430</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">tightenKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="677519740"/> - </object> - <int key="connectionID">431</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">underline:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="330926929"/> - </object> - <int key="connectionID">432</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontColorPanel:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1012600125"/> - </object> - <int key="connectionID">433</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">useAllLigatures:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="663508465"/> - </object> - <int key="connectionID">434</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">loosenKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="238351151"/> - </object> - <int key="connectionID">435</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">pasteFont:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="393423671"/> - </object> - <int key="connectionID">436</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">unscript:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="257962622"/> - </object> - <int key="connectionID">437</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">useStandardKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="252969304"/> - </object> - <int key="connectionID">438</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">useStandardLigatures:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="706297211"/> - </object> - <int key="connectionID">439</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">turnOffLigatures:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="568384683"/> - </object> - <int key="connectionID">440</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">turnOffKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="766922938"/> - </object> - <int key="connectionID">441</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticSpellingCorrection:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="795346622"/> - </object> - <int key="connectionID">456</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontSubstitutionsPanel:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="65139061"/> - </object> - <int key="connectionID">458</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticDashSubstitution:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="672708820"/> - </object> - <int key="connectionID">461</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticTextReplacement:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="537092702"/> - </object> - <int key="connectionID">463</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">uppercaseWord:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1060694897"/> - </object> - <int key="connectionID">464</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">capitalizeWord:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="56570060"/> - </object> - <int key="connectionID">467</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">lowercaseWord:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="879586729"/> - </object> - <int key="connectionID">468</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">pasteAsPlainText:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="82994268"/> - </object> - <int key="connectionID">486</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="326711663"/> - </object> - <int key="connectionID">487</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="270902937"/> - </object> - <int key="connectionID">488</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="159080638"/> - </object> - <int key="connectionID">489</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">showHelp:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="105068016"/> - </object> - <int key="connectionID">493</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignCenter:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="630155264"/> - </object> - <int key="connectionID">518</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">pasteRuler:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="883618387"/> - </object> - <int key="connectionID">519</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleRuler:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="644046920"/> - </object> - <int key="connectionID">520</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignRight:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="512868991"/> - </object> - <int key="connectionID">521</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">copyRuler:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="231811626"/> - </object> - <int key="connectionID">522</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignJustified:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="945678886"/> - </object> - <int key="connectionID">523</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignLeft:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="875092757"/> - </object> - <int key="connectionID">524</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeBaseWritingDirectionNatural:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="551969625"/> - </object> - <int key="connectionID">525</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeBaseWritingDirectionLeftToRight:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="249532473"/> - </object> - <int key="connectionID">526</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeBaseWritingDirectionRightToLeft:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="607364498"/> - </object> - <int key="connectionID">527</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeTextWritingDirectionNatural:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="380031999"/> - </object> - <int key="connectionID">528</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeTextWritingDirectionLeftToRight:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="825984362"/> - </object> - <int key="connectionID">529</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeTextWritingDirectionRightToLeft:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="560145579"/> - </object> - <int key="connectionID">530</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">fOptionsDelegate</string> - <reference key="source" ref="439893737"/> - <reference key="destination" ref="429436769"/> - </object> - <int key="connectionID">667</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">addFontTrait:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="305399458"/> - </object> - <int key="connectionID">421</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">addFontTrait:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="814362025"/> - </object> - <int key="connectionID">422</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">modifyFont:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="885547335"/> - </object> - <int key="connectionID">423</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontFontPanel:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="159677712"/> - </object> - <int key="connectionID">424</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">modifyFont:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="158063935"/> - </object> - <int key="connectionID">425</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">fWindow</string> - <reference key="source" ref="976324537"/> - <reference key="destination" ref="972006081"/> - </object> - <int key="connectionID">673</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">fOptions</string> - <reference key="source" ref="976324537"/> - <reference key="destination" ref="429436769"/> - </object> - <int key="connectionID">674</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">fView</string> - <reference key="source" ref="976324537"/> - <reference key="destination" ref="439893737"/> - </object> - <int key="connectionID">682</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toiPadSize:</string> - <reference key="source" ref="976324537"/> - <reference key="destination" ref="92029792"/> - </object> - <int key="connectionID">721</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">contentView</string> - <reference key="source" ref="764451088"/> - <reference key="destination" ref="758604943"/> - </object> - <int key="connectionID">542</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">parentWindow</string> - <reference key="source" ref="764451088"/> - <reference key="destination" ref="972006081"/> - </object> - <int key="connectionID">651</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggle:</string> - <reference key="source" ref="764451088"/> - <reference key="destination" ref="622903446"/> - </object> - <int key="connectionID">707</int> - </object> - </array> - <object class="IBMutableOrderedSet" key="objectRecords"> - <array key="orderedObjects"> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <array key="object" id="0"/> - <reference key="children" ref="1048"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="1021"/> - <reference key="parent" ref="0"/> - <string key="objectName">File's Owner</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="1014"/> - <reference key="parent" ref="0"/> - <string key="objectName">First Responder</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-3</int> - <reference key="object" ref="1050"/> - <reference key="parent" ref="0"/> - <string key="objectName">Application</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">29</int> - <reference key="object" ref="649796088"/> - <array class="NSMutableArray" key="children"> - <reference ref="713487014"/> - <reference ref="694149608"/> - <reference ref="952259628"/> - <reference ref="379814623"/> - <reference ref="586577488"/> - <reference ref="448692316"/> - <reference ref="302598603"/> - </array> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">19</int> - <reference key="object" ref="713487014"/> - <array class="NSMutableArray" key="children"> - <reference ref="835318025"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">56</int> - <reference key="object" ref="694149608"/> - <array class="NSMutableArray" key="children"> - <reference ref="110575045"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">217</int> - <reference key="object" ref="952259628"/> - <array class="NSMutableArray" key="children"> - <reference ref="789758025"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">83</int> - <reference key="object" ref="379814623"/> - <array class="NSMutableArray" key="children"> - <reference ref="720053764"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">81</int> - <reference key="object" ref="720053764"/> - <array class="NSMutableArray" key="children"> - <reference ref="1023925487"/> - <reference ref="117038363"/> - <reference ref="49223823"/> - <reference ref="722745758"/> - <reference ref="705341025"/> - <reference ref="1025936716"/> - <reference ref="294629803"/> - <reference ref="776162233"/> - <reference ref="425164168"/> - <reference ref="579971712"/> - <reference ref="1010469920"/> - </array> - <reference key="parent" ref="379814623"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">75</int> - <reference key="object" ref="1023925487"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">80</int> - <reference key="object" ref="117038363"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">78</int> - <reference key="object" ref="49223823"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">72</int> - <reference key="object" ref="722745758"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">82</int> - <reference key="object" ref="705341025"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">124</int> - <reference key="object" ref="1025936716"/> - <array class="NSMutableArray" key="children"> - <reference ref="1065607017"/> - </array> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">77</int> - <reference key="object" ref="294629803"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">73</int> - <reference key="object" ref="776162233"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">79</int> - <reference key="object" ref="425164168"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">112</int> - <reference key="object" ref="579971712"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">74</int> - <reference key="object" ref="1010469920"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">125</int> - <reference key="object" ref="1065607017"/> - <array class="NSMutableArray" key="children"> - <reference ref="759406840"/> - </array> - <reference key="parent" ref="1025936716"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">126</int> - <reference key="object" ref="759406840"/> - <reference key="parent" ref="1065607017"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">205</int> - <reference key="object" ref="789758025"/> - <array class="NSMutableArray" key="children"> - <reference ref="437104165"/> - <reference ref="583158037"/> - <reference ref="1058277027"/> - <reference ref="212016141"/> - <reference ref="296257095"/> - <reference ref="29853731"/> - <reference ref="860595796"/> - <reference ref="1040322652"/> - <reference ref="790794224"/> - <reference ref="892235320"/> - <reference ref="972420730"/> - <reference ref="676164635"/> - <reference ref="507821607"/> - <reference ref="288088188"/> - <reference ref="82994268"/> - </array> - <reference key="parent" ref="952259628"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">202</int> - <reference key="object" ref="437104165"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">198</int> - <reference key="object" ref="583158037"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">207</int> - <reference key="object" ref="1058277027"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">214</int> - <reference key="object" ref="212016141"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">199</int> - <reference key="object" ref="296257095"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">203</int> - <reference key="object" ref="29853731"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">197</int> - <reference key="object" ref="860595796"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">206</int> - <reference key="object" ref="1040322652"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">215</int> - <reference key="object" ref="790794224"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">218</int> - <reference key="object" ref="892235320"/> - <array class="NSMutableArray" key="children"> - <reference ref="963351320"/> - </array> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">216</int> - <reference key="object" ref="972420730"/> - <array class="NSMutableArray" key="children"> - <reference ref="769623530"/> - </array> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">200</int> - <reference key="object" ref="769623530"/> - <array class="NSMutableArray" key="children"> - <reference ref="948374510"/> - <reference ref="96193923"/> - <reference ref="679648819"/> - <reference ref="967646866"/> - <reference ref="859480356"/> - <reference ref="795346622"/> - </array> - <reference key="parent" ref="972420730"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">219</int> - <reference key="object" ref="948374510"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">201</int> - <reference key="object" ref="96193923"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">204</int> - <reference key="object" ref="679648819"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">220</int> - <reference key="object" ref="963351320"/> - <array class="NSMutableArray" key="children"> - <reference ref="270902937"/> - <reference ref="88285865"/> - <reference ref="159080638"/> - <reference ref="326711663"/> - <reference ref="447796847"/> - </array> - <reference key="parent" ref="892235320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">213</int> - <reference key="object" ref="270902937"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">210</int> - <reference key="object" ref="88285865"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">221</int> - <reference key="object" ref="159080638"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">208</int> - <reference key="object" ref="326711663"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">209</int> - <reference key="object" ref="447796847"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">57</int> - <reference key="object" ref="110575045"/> - <array class="NSMutableArray" key="children"> - <reference ref="238522557"/> - <reference ref="755159360"/> - <reference ref="908899353"/> - <reference ref="632727374"/> - <reference ref="646227648"/> - <reference ref="609285721"/> - <reference ref="481834944"/> - <reference ref="304266470"/> - <reference ref="1046388886"/> - <reference ref="1056857174"/> - <reference ref="342932134"/> - <reference ref="622903446"/> - <reference ref="24092627"/> - </array> - <reference key="parent" ref="694149608"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">58</int> - <reference key="object" ref="238522557"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">134</int> - <reference key="object" ref="755159360"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">150</int> - <reference key="object" ref="908899353"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">136</int> - <reference key="object" ref="632727374"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">144</int> - <reference key="object" ref="646227648"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">129</int> - <reference key="object" ref="609285721"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">143</int> - <reference key="object" ref="481834944"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">236</int> - <reference key="object" ref="304266470"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">131</int> - <reference key="object" ref="1046388886"/> - <array class="NSMutableArray" key="children"> - <reference ref="752062318"/> - </array> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">149</int> - <reference key="object" ref="1056857174"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">145</int> - <reference key="object" ref="342932134"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">130</int> - <reference key="object" ref="752062318"/> - <reference key="parent" ref="1046388886"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">24</int> - <reference key="object" ref="835318025"/> - <array class="NSMutableArray" key="children"> - <reference ref="299356726"/> - <reference ref="625202149"/> - <reference ref="575023229"/> - <reference ref="1011231497"/> - <reference ref="92029792"/> - </array> - <reference key="parent" ref="713487014"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">92</int> - <reference key="object" ref="299356726"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">5</int> - <reference key="object" ref="625202149"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">239</int> - <reference key="object" ref="575023229"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">23</int> - <reference key="object" ref="1011231497"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">295</int> - <reference key="object" ref="586577488"/> - <array class="NSMutableArray" key="children"> - <reference ref="466310130"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">296</int> - <reference key="object" ref="466310130"/> - <array class="NSMutableArray" key="children"> - <reference ref="102151532"/> - <reference ref="237841660"/> - <reference ref="87708234"/> - </array> - <reference key="parent" ref="586577488"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">297</int> - <reference key="object" ref="102151532"/> - <reference key="parent" ref="466310130"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">298</int> - <reference key="object" ref="237841660"/> - <reference key="parent" ref="466310130"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">211</int> - <reference key="object" ref="676164635"/> - <array class="NSMutableArray" key="children"> - <reference ref="785027613"/> - </array> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">212</int> - <reference key="object" ref="785027613"/> - <array class="NSMutableArray" key="children"> - <reference ref="680220178"/> - <reference ref="731782645"/> - </array> - <reference key="parent" ref="676164635"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">195</int> - <reference key="object" ref="680220178"/> - <reference key="parent" ref="785027613"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">196</int> - <reference key="object" ref="731782645"/> - <reference key="parent" ref="785027613"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">346</int> - <reference key="object" ref="967646866"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">348</int> - <reference key="object" ref="507821607"/> - <array class="NSMutableArray" key="children"> - <reference ref="698887838"/> - </array> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">349</int> - <reference key="object" ref="698887838"/> - <array class="NSMutableArray" key="children"> - <reference ref="605118523"/> - <reference ref="197661976"/> - <reference ref="708854459"/> - <reference ref="65139061"/> - <reference ref="19036812"/> - <reference ref="672708820"/> - <reference ref="537092702"/> - </array> - <reference key="parent" ref="507821607"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">350</int> - <reference key="object" ref="605118523"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">351</int> - <reference key="object" ref="197661976"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">354</int> - <reference key="object" ref="708854459"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">371</int> - <reference key="object" ref="972006081"/> - <array class="NSMutableArray" key="children"> - <reference ref="439893737"/> - </array> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">372</int> - <reference key="object" ref="439893737"/> - <array class="NSMutableArray" key="children"/> - <reference key="parent" ref="972006081"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">375</int> - <reference key="object" ref="302598603"/> - <array class="NSMutableArray" key="children"> - <reference ref="941447902"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">376</int> - <reference key="object" ref="941447902"/> - <array class="NSMutableArray" key="children"> - <reference ref="792887677"/> - <reference ref="215659978"/> - </array> - <reference key="parent" ref="302598603"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">377</int> - <reference key="object" ref="792887677"/> - <array class="NSMutableArray" key="children"> - <reference ref="786677654"/> - </array> - <reference key="parent" ref="941447902"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">388</int> - <reference key="object" ref="786677654"/> - <array class="NSMutableArray" key="children"> - <reference ref="159677712"/> - <reference ref="305399458"/> - <reference ref="814362025"/> - <reference ref="330926929"/> - <reference ref="533507878"/> - <reference ref="158063935"/> - <reference ref="885547335"/> - <reference ref="901062459"/> - <reference ref="767671776"/> - <reference ref="691570813"/> - <reference ref="769124883"/> - <reference ref="739652853"/> - <reference ref="1012600125"/> - <reference ref="214559597"/> - <reference ref="596732606"/> - <reference ref="393423671"/> - </array> - <reference key="parent" ref="792887677"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">389</int> - <reference key="object" ref="159677712"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">390</int> - <reference key="object" ref="305399458"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">391</int> - <reference key="object" ref="814362025"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">392</int> - <reference key="object" ref="330926929"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">393</int> - <reference key="object" ref="533507878"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">394</int> - <reference key="object" ref="158063935"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">395</int> - <reference key="object" ref="885547335"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">396</int> - <reference key="object" ref="901062459"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">397</int> - <reference key="object" ref="767671776"/> - <array class="NSMutableArray" key="children"> - <reference ref="175441468"/> - </array> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">398</int> - <reference key="object" ref="691570813"/> - <array class="NSMutableArray" key="children"> - <reference ref="1058217995"/> - </array> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">399</int> - <reference key="object" ref="769124883"/> - <array class="NSMutableArray" key="children"> - <reference ref="18263474"/> - </array> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">400</int> - <reference key="object" ref="739652853"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">401</int> - <reference key="object" ref="1012600125"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">402</int> - <reference key="object" ref="214559597"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">403</int> - <reference key="object" ref="596732606"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">404</int> - <reference key="object" ref="393423671"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">405</int> - <reference key="object" ref="18263474"/> - <array class="NSMutableArray" key="children"> - <reference ref="257962622"/> - <reference ref="644725453"/> - <reference ref="1037576581"/> - <reference ref="941806246"/> - <reference ref="1045724900"/> - </array> - <reference key="parent" ref="769124883"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">406</int> - <reference key="object" ref="257962622"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">407</int> - <reference key="object" ref="644725453"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">408</int> - <reference key="object" ref="1037576581"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">409</int> - <reference key="object" ref="941806246"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">410</int> - <reference key="object" ref="1045724900"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">411</int> - <reference key="object" ref="1058217995"/> - <array class="NSMutableArray" key="children"> - <reference ref="706297211"/> - <reference ref="568384683"/> - <reference ref="663508465"/> - </array> - <reference key="parent" ref="691570813"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">412</int> - <reference key="object" ref="706297211"/> - <reference key="parent" ref="1058217995"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">413</int> - <reference key="object" ref="568384683"/> - <reference key="parent" ref="1058217995"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">414</int> - <reference key="object" ref="663508465"/> - <reference key="parent" ref="1058217995"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">415</int> - <reference key="object" ref="175441468"/> - <array class="NSMutableArray" key="children"> - <reference ref="252969304"/> - <reference ref="766922938"/> - <reference ref="677519740"/> - <reference ref="238351151"/> - </array> - <reference key="parent" ref="767671776"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">416</int> - <reference key="object" ref="252969304"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">417</int> - <reference key="object" ref="766922938"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">418</int> - <reference key="object" ref="677519740"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">419</int> - <reference key="object" ref="238351151"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">420</int> - <reference key="object" ref="755631768"/> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">450</int> - <reference key="object" ref="288088188"/> - <array class="NSMutableArray" key="children"> - <reference ref="579392910"/> - </array> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">451</int> - <reference key="object" ref="579392910"/> - <array class="NSMutableArray" key="children"> - <reference ref="1060694897"/> - <reference ref="879586729"/> - <reference ref="56570060"/> - </array> - <reference key="parent" ref="288088188"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">452</int> - <reference key="object" ref="1060694897"/> - <reference key="parent" ref="579392910"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">453</int> - <reference key="object" ref="859480356"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">454</int> - <reference key="object" ref="795346622"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">457</int> - <reference key="object" ref="65139061"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">459</int> - <reference key="object" ref="19036812"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">460</int> - <reference key="object" ref="672708820"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">462</int> - <reference key="object" ref="537092702"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">465</int> - <reference key="object" ref="879586729"/> - <reference key="parent" ref="579392910"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">466</int> - <reference key="object" ref="56570060"/> - <reference key="parent" ref="579392910"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">485</int> - <reference key="object" ref="82994268"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">490</int> - <reference key="object" ref="448692316"/> - <array class="NSMutableArray" key="children"> - <reference ref="992780483"/> - </array> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">491</int> - <reference key="object" ref="992780483"/> - <array class="NSMutableArray" key="children"> - <reference ref="105068016"/> - </array> - <reference key="parent" ref="448692316"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">492</int> - <reference key="object" ref="105068016"/> - <reference key="parent" ref="992780483"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">496</int> - <reference key="object" ref="215659978"/> - <array class="NSMutableArray" key="children"> - <reference ref="446991534"/> - </array> - <reference key="parent" ref="941447902"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">497</int> - <reference key="object" ref="446991534"/> - <array class="NSMutableArray" key="children"> - <reference ref="875092757"/> - <reference ref="630155264"/> - <reference ref="945678886"/> - <reference ref="512868991"/> - <reference ref="163117631"/> - <reference ref="31516759"/> - <reference ref="908105787"/> - <reference ref="644046920"/> - <reference ref="231811626"/> - <reference ref="883618387"/> - </array> - <reference key="parent" ref="215659978"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">498</int> - <reference key="object" ref="875092757"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">499</int> - <reference key="object" ref="630155264"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">500</int> - <reference key="object" ref="945678886"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">501</int> - <reference key="object" ref="512868991"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">502</int> - <reference key="object" ref="163117631"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">503</int> - <reference key="object" ref="31516759"/> - <array class="NSMutableArray" key="children"> - <reference ref="956096989"/> - </array> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">504</int> - <reference key="object" ref="908105787"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">505</int> - <reference key="object" ref="644046920"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">506</int> - <reference key="object" ref="231811626"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">507</int> - <reference key="object" ref="883618387"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">508</int> - <reference key="object" ref="956096989"/> - <array class="NSMutableArray" key="children"> - <reference ref="257099033"/> - <reference ref="551969625"/> - <reference ref="249532473"/> - <reference ref="607364498"/> - <reference ref="508151438"/> - <reference ref="981751889"/> - <reference ref="380031999"/> - <reference ref="825984362"/> - <reference ref="560145579"/> - </array> - <reference key="parent" ref="31516759"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">509</int> - <reference key="object" ref="257099033"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">510</int> - <reference key="object" ref="551969625"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">511</int> - <reference key="object" ref="249532473"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">512</int> - <reference key="object" ref="607364498"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">513</int> - <reference key="object" ref="508151438"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">514</int> - <reference key="object" ref="981751889"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">515</int> - <reference key="object" ref="380031999"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">516</int> - <reference key="object" ref="825984362"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">517</int> - <reference key="object" ref="560145579"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">538</int> - <reference key="object" ref="758604943"/> - <array class="NSMutableArray" key="children"> - <reference ref="1038370525"/> - </array> - <reference key="parent" ref="0"/> - <string key="objectName">Drawer Content View</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">539</int> - <reference key="object" ref="764451088"/> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">629</int> - <reference key="object" ref="1038370525"/> - <array class="NSMutableArray" key="children"> - <reference ref="617550661"/> - <reference ref="977018641"/> - <reference ref="429436769"/> - </array> - <reference key="parent" ref="758604943"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">630</int> - <reference key="object" ref="617550661"/> - <reference key="parent" ref="1038370525"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">631</int> - <reference key="object" ref="977018641"/> - <reference key="parent" ref="1038370525"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">632</int> - <reference key="object" ref="429436769"/> - <array class="NSMutableArray" key="children"> - <reference ref="691918008"/> - <reference ref="394988372"/> - </array> - <reference key="parent" ref="1038370525"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">634</int> - <reference key="object" ref="691918008"/> - <array class="NSMutableArray" key="children"> - <reference ref="241301801"/> - </array> - <reference key="parent" ref="429436769"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">637</int> - <reference key="object" ref="241301801"/> - <reference key="parent" ref="691918008"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">494</int> - <reference key="object" ref="976324537"/> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">661</int> - <reference key="object" ref="76290771"/> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">635</int> - <reference key="object" ref="394988372"/> - <array class="NSMutableArray" key="children"> - <reference ref="88358594"/> - </array> - <reference key="parent" ref="429436769"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">698</int> - <reference key="object" ref="88358594"/> - <reference key="parent" ref="394988372"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">705</int> - <reference key="object" ref="622903446"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">706</int> - <reference key="object" ref="24092627"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">718</int> - <reference key="object" ref="87708234"/> - <reference key="parent" ref="466310130"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">720</int> - <reference key="object" ref="92029792"/> - <reference key="parent" ref="835318025"/> - </object> - </array> - </object> - <dictionary class="NSMutableDictionary" key="flattenedProperties"> - <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="-3.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="112.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="124.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="125.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="126.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="129.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="130.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="131.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="134.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="136.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="143.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="144.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="145.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="149.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="150.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="19.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="195.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="196.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="197.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="198.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="199.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="200.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="201.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="202.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="203.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="204.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="205.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="206.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="207.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="208.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="209.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="210.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="211.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="212.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="213.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="214.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="215.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="216.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="217.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="218.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="219.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="220.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="221.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="23.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="236.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="239.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="24.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="29.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="295.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="296.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="297.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="298.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="346.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="348.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="349.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="350.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="351.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="354.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="371.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="371.IBWindowTemplateEditedContentRect">{{254, 23}, {640, 480}}</string> - <integer value="1" key="371.NSWindowTemplate.visibleAtLaunch"/> - <string key="372.CustomClassName">HelloWorldNSView</string> - <string key="372.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="375.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="376.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="377.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="388.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="389.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="390.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="391.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="392.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="393.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="394.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="395.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="396.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="397.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="398.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="399.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="400.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="401.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="402.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="403.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="404.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="405.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="406.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="407.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="408.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="409.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="410.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="411.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="412.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="413.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="414.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="415.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="416.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="417.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="418.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="419.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="420.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="450.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="451.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="452.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="453.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="454.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="457.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="459.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="460.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="462.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="465.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="466.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="485.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="490.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="491.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="492.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="494.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="496.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="497.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="498.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="499.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="5.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="500.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="501.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="502.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="503.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="504.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="505.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="506.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="507.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="508.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="509.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="510.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="511.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="512.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="513.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="514.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="515.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="516.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="517.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="538.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="539.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="56.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="57.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="58.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="629.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="630.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="631.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="632.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="634.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="635.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="637.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="661.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="698.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="705.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="706.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="718.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="72.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="720.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="73.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="74.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="75.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="77.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="78.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="79.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="80.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="81.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="82.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="83.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="92.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string> - </dictionary> - <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/> - <nil key="activeLocalization"/> - <dictionary class="NSMutableDictionary" key="localizations"/> - <nil key="sourceID"/> - <int key="maxID">721</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <array class="NSMutableArray" key="referencedPartialClassDescriptions"> - <object class="IBPartialClassDescription"> - <string key="className">HelloWorldDelegate</string> - <string key="superclassName">NSObject</string> - <object class="NSMutableDictionary" key="actions"> - <string key="NS.key.0">toiPadSize:</string> - <string key="NS.object.0">id</string> - </object> - <object class="NSMutableDictionary" key="actionInfosByName"> - <string key="NS.key.0">toiPadSize:</string> - <object class="IBActionInfo" key="NS.object.0"> - <string key="name">toiPadSize:</string> - <string key="candidateClassName">id</string> - </object> - </object> - <dictionary class="NSMutableDictionary" key="outlets"> - <string key="fView">SkSampleNSView</string> - <string key="fWindow">NSWindow</string> - </dictionary> - <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName"> - <object class="IBToOneOutletInfo" key="fView"> - <string key="name">fView</string> - <string key="candidateClassName">SkSampleNSView</string> - </object> - <object class="IBToOneOutletInfo" key="fWindow"> - <string key="name">fWindow</string> - <string key="candidateClassName">NSWindow</string> - </object> - </dictionary> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">./Classes/HelloWorldDelegate.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">HelloWorldNSView</string> - <string key="superclassName">SkNSView</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">./Classes/HelloWorldNSView.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">SkNSView</string> - <string key="superclassName">NSView</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">./Classes/SkNSView.h</string> - </object> - </object> - </array> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string> - <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults"> - <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string> - <real value="1070" key="NS.object.0"/> - </object> - <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - <dictionary class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes"> - <string key="NSMenuCheckmark">{11, 11}</string> - <string key="NSMenuMixedState">{10, 3}</string> - </dictionary> - </data> -</archive> diff --git a/example/mac/HelloWorldDelegate.h b/example/mac/HelloWorldDelegate.h deleted file mode 100644 index 40e910b770..0000000000 --- a/example/mac/HelloWorldDelegate.h +++ /dev/null @@ -1,27 +0,0 @@ - -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - - -#import <Cocoa/Cocoa.h> -#import "SkSampleNSView.h" -#import "SkOptionsTableView.h" -@interface HelloWorldDelegate : NSObject <NSApplicationDelegate> { - NSWindow* fWindow; - SkSampleNSView* fView; - SkOptionsTableView* fOptions; -} - -@property (assign) IBOutlet NSWindow* fWindow; -@property (assign) IBOutlet SkSampleNSView* fView; -@property (assign) IBOutlet SkOptionsTableView* fOptions; - -- (IBAction)toiPadSize:(id)sender; - -- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender; - -@end diff --git a/example/mac/HelloWorldDelegate.mm b/example/mac/HelloWorldDelegate.mm deleted file mode 100644 index f3c08107a2..0000000000 --- a/example/mac/HelloWorldDelegate.mm +++ /dev/null @@ -1,27 +0,0 @@ -#import "HelloWorldDelegate.h" - -#include "SkApplication.h" - -@implementation HelloWorldDelegate -@synthesize fWindow, fView, fOptions; - -// for iOS --(void) applicationDidFinishLaunching:(NSNotification *)aNotification { - //Load specified skia views after launching - fView.fOptionsDelegate = fOptions; - [fWindow setAcceptsMouseMovedEvents:YES]; - // [fOptions registerMenus:fView.fWind->getMenus()]; -} - -- (IBAction)toiPadSize:(id)sender { - NSRect frame = NSMakeRect(fWindow.frame.origin.x, fWindow.frame.origin.y, 768, 1024); - [fWindow setFrame:frame display:YES animate:YES]; -} - -- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { - [fView freeNativeWind]; - application_term(); - return NSTerminateNow; -} - -@end diff --git a/example/mac/HelloWorldNSView.h b/example/mac/HelloWorldNSView.h deleted file mode 100644 index 3de780feee..0000000000 --- a/example/mac/HelloWorldNSView.h +++ /dev/null @@ -1,13 +0,0 @@ - -/* - * Copyright 2013 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#import "SkNSView.h" - -@interface HelloWorldNSView : SkNSView - -@end diff --git a/example/mac/HelloWorldNSView.mm b/example/mac/HelloWorldNSView.mm deleted file mode 100644 index 63852e5250..0000000000 --- a/example/mac/HelloWorldNSView.mm +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2015 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#import "HelloWorldNSView.h" - -#include "SkApplication.h" -#include <crt_externs.h> - -@implementation HelloWorldNSView - -- (id)initWithDefaults { - if ((self = [super initWithDefaults])) { - fWind = create_sk_window(self, *_NSGetArgc(), *_NSGetArgv()); - } - return self; -} - -- (void)dealloc { - delete fWind; - [super dealloc]; -} - -@end diff --git a/experimental/FileReaderApp/English.lproj/InfoPlist.strings b/experimental/FileReaderApp/English.lproj/InfoPlist.strings deleted file mode 100644 index 477b28ff8f..0000000000 --- a/experimental/FileReaderApp/English.lproj/InfoPlist.strings +++ /dev/null @@ -1,2 +0,0 @@ -/* Localized versions of Info.plist keys */ - diff --git a/experimental/FileReaderApp/English.lproj/MainMenu.xib b/experimental/FileReaderApp/English.lproj/MainMenu.xib deleted file mode 100644 index 53e910be41..0000000000 --- a/experimental/FileReaderApp/English.lproj/MainMenu.xib +++ /dev/null @@ -1,4272 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10"> - <data> - <int key="IBDocument.SystemTarget">1060</int> - <string key="IBDocument.SystemVersion">10J3250</string> - <string key="IBDocument.InterfaceBuilderVersion">851</string> - <string key="IBDocument.AppKitVersion">1038.35</string> - <string key="IBDocument.HIToolboxVersion">461.00</string> - <object class="NSMutableDictionary" key="IBDocument.PluginVersions"> - <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string> - <string key="NS.object.0">851</string> - </object> - <object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <object class="NSArray" key="IBDocument.PluginDependencies"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - </object> - <object class="NSMutableDictionary" key="IBDocument.Metadata"> - <string key="NS.key.0">PluginDependencyRecalculationVersion</string> - <integer value="1" key="NS.object.0"/> - </object> - <object class="NSMutableArray" key="IBDocument.RootObjects" id="1048"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSCustomObject" id="1021"> - <string key="NSClassName">NSApplication</string> - </object> - <object class="NSCustomObject" id="1014"> - <string key="NSClassName">FirstResponder</string> - </object> - <object class="NSCustomObject" id="1050"> - <string key="NSClassName">NSApplication</string> - </object> - <object class="NSMenu" id="649796088"> - <string key="NSTitle">AMainMenu</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="694149608"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">FileReaderApp</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <object class="NSCustomResource" key="NSOnImage" id="35465992"> - <string key="NSClassName">NSImage</string> - <string key="NSResourceName">NSMenuCheckmark</string> - </object> - <object class="NSCustomResource" key="NSMixedImage" id="502551668"> - <string key="NSClassName">NSImage</string> - <string key="NSResourceName">NSMenuMixedState</string> - </object> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="110575045"> - <string key="NSTitle">FileReaderApp</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="238522557"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">About FileReaderApp</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="304266470"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="609285721"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Preferences…</string> - <string key="NSKeyEquiv">,</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="481834944"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1046388886"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Services</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="752062318"> - <string key="NSTitle">Services</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <string key="NSName">_NSServicesMenu</string> - </object> - </object> - <object class="NSMenuItem" id="646227648"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="755159360"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Hide FileReaderApp</string> - <string key="NSKeyEquiv">h</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="342932134"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Hide Others</string> - <string key="NSKeyEquiv">h</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="908899353"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Show All</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1056857174"> - <reference key="NSMenu" ref="110575045"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="632727374"> - <reference key="NSMenu" ref="110575045"/> - <string key="NSTitle">Quit FileReaderApp</string> - <string key="NSKeyEquiv">q</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - <string key="NSName">_NSAppleMenu</string> - </object> - </object> - <object class="NSMenuItem" id="379814623"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">File</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="720053764"> - <string key="NSTitle">File</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="705341025"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">New</string> - <string key="NSKeyEquiv">n</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="722745758"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Open…</string> - <string key="NSKeyEquiv">o</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1025936716"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Open Recent</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="1065607017"> - <string key="NSTitle">Open Recent</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="759406840"> - <reference key="NSMenu" ref="1065607017"/> - <string key="NSTitle">Clear Menu</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - <string key="NSName">_NSRecentDocumentsMenu</string> - </object> - </object> - <object class="NSMenuItem" id="425164168"> - <reference key="NSMenu" ref="720053764"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="776162233"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Close</string> - <string key="NSKeyEquiv">w</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1023925487"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Save</string> - <string key="NSKeyEquiv">s</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="117038363"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Save As…</string> - <string key="NSKeyEquiv">S</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="579971712"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Revert to Saved</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1010469920"> - <reference key="NSMenu" ref="720053764"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="294629803"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Page Setup...</string> - <string key="NSKeyEquiv">P</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSToolTip"/> - </object> - <object class="NSMenuItem" id="49223823"> - <reference key="NSMenu" ref="720053764"/> - <string key="NSTitle">Print…</string> - <string key="NSKeyEquiv">p</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="952259628"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Edit</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="789758025"> - <string key="NSTitle">Edit</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="1058277027"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Undo</string> - <string key="NSKeyEquiv">z</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="790794224"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Redo</string> - <string key="NSKeyEquiv">Z</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1040322652"> - <reference key="NSMenu" ref="789758025"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="296257095"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Cut</string> - <string key="NSKeyEquiv">x</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="860595796"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Copy</string> - <string key="NSKeyEquiv">c</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="29853731"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Paste</string> - <string key="NSKeyEquiv">v</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="82994268"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Paste and Match Style</string> - <string key="NSKeyEquiv">V</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="437104165"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Delete</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="583158037"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Select All</string> - <string key="NSKeyEquiv">a</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="212016141"> - <reference key="NSMenu" ref="789758025"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="892235320"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Find</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="963351320"> - <string key="NSTitle">Find</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="447796847"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Find…</string> - <string key="NSKeyEquiv">f</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">1</int> - </object> - <object class="NSMenuItem" id="326711663"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Find Next</string> - <string key="NSKeyEquiv">g</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">2</int> - </object> - <object class="NSMenuItem" id="270902937"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Find Previous</string> - <string key="NSKeyEquiv">G</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">3</int> - </object> - <object class="NSMenuItem" id="159080638"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Use Selection for Find</string> - <string key="NSKeyEquiv">e</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">7</int> - </object> - <object class="NSMenuItem" id="88285865"> - <reference key="NSMenu" ref="963351320"/> - <string key="NSTitle">Jump to Selection</string> - <string key="NSKeyEquiv">j</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="972420730"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Spelling and Grammar</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="769623530"> - <string key="NSTitle">Spelling and Grammar</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="679648819"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Show Spelling and Grammar</string> - <string key="NSKeyEquiv">:</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="96193923"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Check Document Now</string> - <string key="NSKeyEquiv">;</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="859480356"> - <reference key="NSMenu" ref="769623530"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="948374510"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Check Spelling While Typing</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="967646866"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Check Grammar With Spelling</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="795346622"> - <reference key="NSMenu" ref="769623530"/> - <string key="NSTitle">Correct Spelling Automatically</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="507821607"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Substitutions</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="698887838"> - <string key="NSTitle">Substitutions</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="65139061"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Show Substitutions</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="19036812"> - <reference key="NSMenu" ref="698887838"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="605118523"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Copy/Paste</string> - <string key="NSKeyEquiv">f</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">1</int> - </object> - <object class="NSMenuItem" id="197661976"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Quotes</string> - <string key="NSKeyEquiv">g</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">2</int> - </object> - <object class="NSMenuItem" id="672708820"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Dashes</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="708854459"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Smart Links</string> - <string key="NSKeyEquiv">G</string> - <int key="NSKeyEquivModMask">1179648</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">3</int> - </object> - <object class="NSMenuItem" id="537092702"> - <reference key="NSMenu" ref="698887838"/> - <string key="NSTitle">Text Replacement</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="288088188"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Transformations</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="579392910"> - <string key="NSTitle">Transformations</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="1060694897"> - <reference key="NSMenu" ref="579392910"/> - <string key="NSTitle">Make Upper Case</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="879586729"> - <reference key="NSMenu" ref="579392910"/> - <string key="NSTitle">Make Lower Case</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="56570060"> - <reference key="NSMenu" ref="579392910"/> - <string key="NSTitle">Capitalize</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="676164635"> - <reference key="NSMenu" ref="789758025"/> - <string key="NSTitle">Speech</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="785027613"> - <string key="NSTitle">Speech</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="731782645"> - <reference key="NSMenu" ref="785027613"/> - <string key="NSTitle">Start Speaking</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="680220178"> - <reference key="NSMenu" ref="785027613"/> - <string key="NSTitle">Stop Speaking</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="302598603"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Format</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="941447902"> - <string key="NSTitle">Format</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="792887677"> - <reference key="NSMenu" ref="941447902"/> - <string key="NSTitle">Font</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="786677654"> - <string key="NSTitle">Font</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="159677712"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Show Fonts</string> - <string key="NSKeyEquiv">t</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="305399458"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Bold</string> - <string key="NSKeyEquiv">b</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">2</int> - </object> - <object class="NSMenuItem" id="814362025"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Italic</string> - <string key="NSKeyEquiv">i</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">1</int> - </object> - <object class="NSMenuItem" id="330926929"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Underline</string> - <string key="NSKeyEquiv">u</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="533507878"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="158063935"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Bigger</string> - <string key="NSKeyEquiv">+</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">3</int> - </object> - <object class="NSMenuItem" id="885547335"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Smaller</string> - <string key="NSKeyEquiv">-</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <int key="NSTag">4</int> - </object> - <object class="NSMenuItem" id="901062459"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="767671776"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Kern</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="175441468"> - <string key="NSTitle">Kern</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="252969304"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Use Default</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="766922938"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Use None</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="677519740"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Tighten</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="238351151"> - <reference key="NSMenu" ref="175441468"/> - <string key="NSTitle">Loosen</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="691570813"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Ligature</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="1058217995"> - <string key="NSTitle">Ligature</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="706297211"> - <reference key="NSMenu" ref="1058217995"/> - <string key="NSTitle">Use Default</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="568384683"> - <reference key="NSMenu" ref="1058217995"/> - <string key="NSTitle">Use None</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="663508465"> - <reference key="NSMenu" ref="1058217995"/> - <string key="NSTitle">Use All</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="769124883"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Baseline</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="18263474"> - <string key="NSTitle">Baseline</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="257962622"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Use Default</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="644725453"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Superscript</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1037576581"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Subscript</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="941806246"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Raise</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1045724900"> - <reference key="NSMenu" ref="18263474"/> - <string key="NSTitle">Lower</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="739652853"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="1012600125"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Show Colors</string> - <string key="NSKeyEquiv">C</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="214559597"> - <reference key="NSMenu" ref="786677654"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="596732606"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Copy Style</string> - <string key="NSKeyEquiv">c</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="393423671"> - <reference key="NSMenu" ref="786677654"/> - <string key="NSTitle">Paste Style</string> - <string key="NSKeyEquiv">v</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - <string key="NSName">_NSFontMenu</string> - </object> - </object> - <object class="NSMenuItem" id="215659978"> - <reference key="NSMenu" ref="941447902"/> - <string key="NSTitle">Text</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="446991534"> - <string key="NSTitle">Text</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="875092757"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Align Left</string> - <string key="NSKeyEquiv">{</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="630155264"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Center</string> - <string key="NSKeyEquiv">|</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="945678886"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Justify</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="512868991"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Align Right</string> - <string key="NSKeyEquiv">}</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="163117631"> - <reference key="NSMenu" ref="446991534"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="31516759"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Writing Direction</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="956096989"> - <string key="NSTitle">Writing Direction</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="257099033"> - <reference key="NSMenu" ref="956096989"/> - <bool key="NSIsDisabled">YES</bool> - <string key="NSTitle">Paragraph</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="551969625"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CURlZmF1bHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="249532473"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CUxlZnQgdG8gUmlnaHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="607364498"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CVJpZ2h0IHRvIExlZnQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="508151438"> - <reference key="NSMenu" ref="956096989"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="981751889"> - <reference key="NSMenu" ref="956096989"/> - <bool key="NSIsDisabled">YES</bool> - <string key="NSTitle">Selection</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="380031999"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CURlZmF1bHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="825984362"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CUxlZnQgdG8gUmlnaHQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="560145579"> - <reference key="NSMenu" ref="956096989"/> - <string type="base64-UTF8" key="NSTitle">CVJpZ2h0IHRvIExlZnQ</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="908105787"> - <reference key="NSMenu" ref="446991534"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="644046920"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Show Ruler</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="231811626"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Copy Ruler</string> - <string key="NSKeyEquiv">c</string> - <int key="NSKeyEquivModMask">1310720</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="883618387"> - <reference key="NSMenu" ref="446991534"/> - <string key="NSTitle">Paste Ruler</string> - <string key="NSKeyEquiv">v</string> - <int key="NSKeyEquivModMask">1310720</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="586577488"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">View</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="466310130"> - <string key="NSTitle">View</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="102151532"> - <reference key="NSMenu" ref="466310130"/> - <string key="NSTitle">Show Toolbar</string> - <string key="NSKeyEquiv">t</string> - <int key="NSKeyEquivModMask">1572864</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="237841660"> - <reference key="NSMenu" ref="466310130"/> - <string key="NSTitle">Customize Toolbar…</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - </object> - </object> - <object class="NSMenuItem" id="713487014"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Window</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="835318025"> - <string key="NSTitle">Window</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="1011231497"> - <reference key="NSMenu" ref="835318025"/> - <string key="NSTitle">Minimize</string> - <string key="NSKeyEquiv">m</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="575023229"> - <reference key="NSMenu" ref="835318025"/> - <string key="NSTitle">Zoom</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="299356726"> - <reference key="NSMenu" ref="835318025"/> - <bool key="NSIsDisabled">YES</bool> - <bool key="NSIsSeparator">YES</bool> - <string key="NSTitle"/> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - <object class="NSMenuItem" id="625202149"> - <reference key="NSMenu" ref="835318025"/> - <string key="NSTitle">Bring All to Front</string> - <string key="NSKeyEquiv"/> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - <string key="NSName">_NSWindowsMenu</string> - </object> - </object> - <object class="NSMenuItem" id="448692316"> - <reference key="NSMenu" ref="649796088"/> - <string key="NSTitle">Help</string> - <string key="NSKeyEquiv"/> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - <string key="NSAction">submenuAction:</string> - <object class="NSMenu" key="NSSubmenu" id="992780483"> - <string key="NSTitle">Help</string> - <object class="NSMutableArray" key="NSMenuItems"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSMenuItem" id="105068016"> - <reference key="NSMenu" ref="992780483"/> - <string key="NSTitle">FileReaderApp Help</string> - <string key="NSKeyEquiv">?</string> - <int key="NSKeyEquivModMask">1048576</int> - <int key="NSMnemonicLoc">2147483647</int> - <reference key="NSOnImage" ref="35465992"/> - <reference key="NSMixedImage" ref="502551668"/> - </object> - </object> - <string key="NSName">_NSHelpMenu</string> - </object> - </object> - </object> - <string key="NSName">_NSMainMenu</string> - </object> - <object class="NSWindowTemplate" id="972006081"> - <int key="NSWindowStyleMask">15</int> - <int key="NSWindowBacking">2</int> - <string key="NSWindowRect">{{335, 390}, {640, 480}}</string> - <int key="NSWTFlags">1954021376</int> - <string key="NSWindowTitle">FileReaderApp</string> - <string key="NSWindowClass">FileReaderWindow</string> - <nil key="NSViewClass"/> - <string key="NSWindowContentMaxSize">{3.40282e+38, 3.40282e+38}</string> - <object class="NSView" key="NSWindowView" id="439893737"> - <nil key="NSNextResponder"/> - <int key="NSvFlags">256</int> - <object class="NSMutableArray" key="NSSubviews"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSCustomView" id="322594744"> - <reference key="NSNextResponder" ref="439893737"/> - <int key="NSvFlags">274</int> - <string key="NSFrameSize">{640, 480}</string> - <reference key="NSSuperview" ref="439893737"/> - <string key="NSClassName">SkNSView</string> - </object> - </object> - <string key="NSFrameSize">{640, 480}</string> - </object> - <string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string> - <string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string> - </object> - <object class="NSCustomObject" id="976324537"> - <string key="NSClassName">FileReaderAppDelegate</string> - </object> - <object class="NSCustomObject" id="755631768"> - <string key="NSClassName">NSFontManager</string> - </object> - </object> - <object class="IBObjectContainer" key="IBDocument.Objects"> - <object class="NSMutableArray" key="connectionRecords"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performMiniaturize:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1011231497"/> - </object> - <int key="connectionID">37</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">arrangeInFront:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="625202149"/> - </object> - <int key="connectionID">39</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">print:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="49223823"/> - </object> - <int key="connectionID">86</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">runPageLayout:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="294629803"/> - </object> - <int key="connectionID">87</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">clearRecentDocuments:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="759406840"/> - </object> - <int key="connectionID">127</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontStandardAboutPanel:</string> - <reference key="source" ref="1021"/> - <reference key="destination" ref="238522557"/> - </object> - <int key="connectionID">142</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performClose:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="776162233"/> - </object> - <int key="connectionID">193</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleContinuousSpellChecking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="948374510"/> - </object> - <int key="connectionID">222</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">undo:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1058277027"/> - </object> - <int key="connectionID">223</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">copy:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="860595796"/> - </object> - <int key="connectionID">224</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">checkSpelling:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="96193923"/> - </object> - <int key="connectionID">225</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">paste:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="29853731"/> - </object> - <int key="connectionID">226</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">stopSpeaking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="680220178"/> - </object> - <int key="connectionID">227</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">cut:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="296257095"/> - </object> - <int key="connectionID">228</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">showGuessPanel:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="679648819"/> - </object> - <int key="connectionID">230</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">redo:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="790794224"/> - </object> - <int key="connectionID">231</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">selectAll:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="583158037"/> - </object> - <int key="connectionID">232</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">startSpeaking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="731782645"/> - </object> - <int key="connectionID">233</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">delete:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="437104165"/> - </object> - <int key="connectionID">235</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performZoom:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="575023229"/> - </object> - <int key="connectionID">240</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="447796847"/> - </object> - <int key="connectionID">241</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">centerSelectionInVisibleArea:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="88285865"/> - </object> - <int key="connectionID">245</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleGrammarChecking:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="967646866"/> - </object> - <int key="connectionID">347</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleSmartInsertDelete:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="605118523"/> - </object> - <int key="connectionID">355</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticQuoteSubstitution:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="197661976"/> - </object> - <int key="connectionID">356</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticLinkDetection:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="708854459"/> - </object> - <int key="connectionID">357</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">saveDocument:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1023925487"/> - </object> - <int key="connectionID">362</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">saveDocumentAs:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="117038363"/> - </object> - <int key="connectionID">363</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">revertDocumentToSaved:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="579971712"/> - </object> - <int key="connectionID">364</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">runToolbarCustomizationPalette:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="237841660"/> - </object> - <int key="connectionID">365</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleToolbarShown:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="102151532"/> - </object> - <int key="connectionID">366</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">hide:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="755159360"/> - </object> - <int key="connectionID">367</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">hideOtherApplications:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="342932134"/> - </object> - <int key="connectionID">368</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">unhideAllApplications:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="908899353"/> - </object> - <int key="connectionID">370</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">newDocument:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="705341025"/> - </object> - <int key="connectionID">373</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">openDocument:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="722745758"/> - </object> - <int key="connectionID">374</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">addFontTrait:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="305399458"/> - </object> - <int key="connectionID">421</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">addFontTrait:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="814362025"/> - </object> - <int key="connectionID">422</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">modifyFont:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="885547335"/> - </object> - <int key="connectionID">423</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontFontPanel:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="159677712"/> - </object> - <int key="connectionID">424</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">modifyFont:</string> - <reference key="source" ref="755631768"/> - <reference key="destination" ref="158063935"/> - </object> - <int key="connectionID">425</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">raiseBaseline:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="941806246"/> - </object> - <int key="connectionID">426</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">lowerBaseline:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1045724900"/> - </object> - <int key="connectionID">427</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">copyFont:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="596732606"/> - </object> - <int key="connectionID">428</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">subscript:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1037576581"/> - </object> - <int key="connectionID">429</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">superscript:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="644725453"/> - </object> - <int key="connectionID">430</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">tightenKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="677519740"/> - </object> - <int key="connectionID">431</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">underline:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="330926929"/> - </object> - <int key="connectionID">432</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontColorPanel:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1012600125"/> - </object> - <int key="connectionID">433</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">useAllLigatures:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="663508465"/> - </object> - <int key="connectionID">434</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">loosenKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="238351151"/> - </object> - <int key="connectionID">435</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">pasteFont:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="393423671"/> - </object> - <int key="connectionID">436</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">unscript:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="257962622"/> - </object> - <int key="connectionID">437</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">useStandardKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="252969304"/> - </object> - <int key="connectionID">438</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">useStandardLigatures:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="706297211"/> - </object> - <int key="connectionID">439</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">turnOffLigatures:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="568384683"/> - </object> - <int key="connectionID">440</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">turnOffKerning:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="766922938"/> - </object> - <int key="connectionID">441</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">terminate:</string> - <reference key="source" ref="1050"/> - <reference key="destination" ref="632727374"/> - </object> - <int key="connectionID">449</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticSpellingCorrection:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="795346622"/> - </object> - <int key="connectionID">456</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">orderFrontSubstitutionsPanel:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="65139061"/> - </object> - <int key="connectionID">458</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticDashSubstitution:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="672708820"/> - </object> - <int key="connectionID">461</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleAutomaticTextReplacement:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="537092702"/> - </object> - <int key="connectionID">463</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">uppercaseWord:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="1060694897"/> - </object> - <int key="connectionID">464</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">capitalizeWord:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="56570060"/> - </object> - <int key="connectionID">467</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">lowercaseWord:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="879586729"/> - </object> - <int key="connectionID">468</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">pasteAsPlainText:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="82994268"/> - </object> - <int key="connectionID">486</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="326711663"/> - </object> - <int key="connectionID">487</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="270902937"/> - </object> - <int key="connectionID">488</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">performFindPanelAction:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="159080638"/> - </object> - <int key="connectionID">489</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">showHelp:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="105068016"/> - </object> - <int key="connectionID">493</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">delegate</string> - <reference key="source" ref="1021"/> - <reference key="destination" ref="976324537"/> - </object> - <int key="connectionID">495</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignCenter:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="630155264"/> - </object> - <int key="connectionID">518</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">pasteRuler:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="883618387"/> - </object> - <int key="connectionID">519</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">toggleRuler:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="644046920"/> - </object> - <int key="connectionID">520</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignRight:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="512868991"/> - </object> - <int key="connectionID">521</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">copyRuler:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="231811626"/> - </object> - <int key="connectionID">522</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignJustified:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="945678886"/> - </object> - <int key="connectionID">523</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">alignLeft:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="875092757"/> - </object> - <int key="connectionID">524</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeBaseWritingDirectionNatural:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="551969625"/> - </object> - <int key="connectionID">525</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeBaseWritingDirectionLeftToRight:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="249532473"/> - </object> - <int key="connectionID">526</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeBaseWritingDirectionRightToLeft:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="607364498"/> - </object> - <int key="connectionID">527</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeTextWritingDirectionNatural:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="380031999"/> - </object> - <int key="connectionID">528</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeTextWritingDirectionLeftToRight:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="825984362"/> - </object> - <int key="connectionID">529</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBActionConnection" key="connection"> - <string key="label">makeTextWritingDirectionRightToLeft:</string> - <reference key="source" ref="1014"/> - <reference key="destination" ref="560145579"/> - </object> - <int key="connectionID">530</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">fView</string> - <reference key="source" ref="972006081"/> - <reference key="destination" ref="322594744"/> - </object> - <int key="connectionID">535</int> - </object> - <object class="IBConnectionRecord"> - <object class="IBOutletConnection" key="connection"> - <string key="label">window</string> - <reference key="source" ref="976324537"/> - <reference key="destination" ref="972006081"/> - </object> - <int key="connectionID">536</int> - </object> - </object> - <object class="IBMutableOrderedSet" key="objectRecords"> - <object class="NSArray" key="orderedObjects"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBObjectRecord"> - <int key="objectID">0</int> - <object class="NSArray" key="object" id="0"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - <reference key="children" ref="1048"/> - <nil key="parent"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-2</int> - <reference key="object" ref="1021"/> - <reference key="parent" ref="0"/> - <string key="objectName">File's Owner</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-1</int> - <reference key="object" ref="1014"/> - <reference key="parent" ref="0"/> - <string key="objectName">First Responder</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">-3</int> - <reference key="object" ref="1050"/> - <reference key="parent" ref="0"/> - <string key="objectName">Application</string> - </object> - <object class="IBObjectRecord"> - <int key="objectID">29</int> - <reference key="object" ref="649796088"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="713487014"/> - <reference ref="694149608"/> - <reference ref="952259628"/> - <reference ref="379814623"/> - <reference ref="586577488"/> - <reference ref="302598603"/> - <reference ref="448692316"/> - </object> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">19</int> - <reference key="object" ref="713487014"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="835318025"/> - </object> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">56</int> - <reference key="object" ref="694149608"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="110575045"/> - </object> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">217</int> - <reference key="object" ref="952259628"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="789758025"/> - </object> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">83</int> - <reference key="object" ref="379814623"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="720053764"/> - </object> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">81</int> - <reference key="object" ref="720053764"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="1023925487"/> - <reference ref="117038363"/> - <reference ref="49223823"/> - <reference ref="722745758"/> - <reference ref="705341025"/> - <reference ref="1025936716"/> - <reference ref="294629803"/> - <reference ref="776162233"/> - <reference ref="425164168"/> - <reference ref="579971712"/> - <reference ref="1010469920"/> - </object> - <reference key="parent" ref="379814623"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">75</int> - <reference key="object" ref="1023925487"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">80</int> - <reference key="object" ref="117038363"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">78</int> - <reference key="object" ref="49223823"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">72</int> - <reference key="object" ref="722745758"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">82</int> - <reference key="object" ref="705341025"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">124</int> - <reference key="object" ref="1025936716"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="1065607017"/> - </object> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">77</int> - <reference key="object" ref="294629803"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">73</int> - <reference key="object" ref="776162233"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">79</int> - <reference key="object" ref="425164168"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">112</int> - <reference key="object" ref="579971712"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">74</int> - <reference key="object" ref="1010469920"/> - <reference key="parent" ref="720053764"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">125</int> - <reference key="object" ref="1065607017"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="759406840"/> - </object> - <reference key="parent" ref="1025936716"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">126</int> - <reference key="object" ref="759406840"/> - <reference key="parent" ref="1065607017"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">205</int> - <reference key="object" ref="789758025"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="437104165"/> - <reference ref="583158037"/> - <reference ref="1058277027"/> - <reference ref="212016141"/> - <reference ref="296257095"/> - <reference ref="29853731"/> - <reference ref="860595796"/> - <reference ref="1040322652"/> - <reference ref="790794224"/> - <reference ref="892235320"/> - <reference ref="972420730"/> - <reference ref="676164635"/> - <reference ref="507821607"/> - <reference ref="288088188"/> - <reference ref="82994268"/> - </object> - <reference key="parent" ref="952259628"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">202</int> - <reference key="object" ref="437104165"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">198</int> - <reference key="object" ref="583158037"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">207</int> - <reference key="object" ref="1058277027"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">214</int> - <reference key="object" ref="212016141"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">199</int> - <reference key="object" ref="296257095"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">203</int> - <reference key="object" ref="29853731"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">197</int> - <reference key="object" ref="860595796"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">206</int> - <reference key="object" ref="1040322652"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">215</int> - <reference key="object" ref="790794224"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">218</int> - <reference key="object" ref="892235320"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="963351320"/> - </object> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">216</int> - <reference key="object" ref="972420730"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="769623530"/> - </object> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">200</int> - <reference key="object" ref="769623530"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="948374510"/> - <reference ref="96193923"/> - <reference ref="679648819"/> - <reference ref="967646866"/> - <reference ref="859480356"/> - <reference ref="795346622"/> - </object> - <reference key="parent" ref="972420730"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">219</int> - <reference key="object" ref="948374510"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">201</int> - <reference key="object" ref="96193923"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">204</int> - <reference key="object" ref="679648819"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">220</int> - <reference key="object" ref="963351320"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="270902937"/> - <reference ref="88285865"/> - <reference ref="159080638"/> - <reference ref="326711663"/> - <reference ref="447796847"/> - </object> - <reference key="parent" ref="892235320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">213</int> - <reference key="object" ref="270902937"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">210</int> - <reference key="object" ref="88285865"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">221</int> - <reference key="object" ref="159080638"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">208</int> - <reference key="object" ref="326711663"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">209</int> - <reference key="object" ref="447796847"/> - <reference key="parent" ref="963351320"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">57</int> - <reference key="object" ref="110575045"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="238522557"/> - <reference ref="755159360"/> - <reference ref="908899353"/> - <reference ref="632727374"/> - <reference ref="646227648"/> - <reference ref="609285721"/> - <reference ref="481834944"/> - <reference ref="304266470"/> - <reference ref="1046388886"/> - <reference ref="1056857174"/> - <reference ref="342932134"/> - </object> - <reference key="parent" ref="694149608"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">58</int> - <reference key="object" ref="238522557"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">134</int> - <reference key="object" ref="755159360"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">150</int> - <reference key="object" ref="908899353"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">136</int> - <reference key="object" ref="632727374"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">144</int> - <reference key="object" ref="646227648"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">129</int> - <reference key="object" ref="609285721"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">143</int> - <reference key="object" ref="481834944"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">236</int> - <reference key="object" ref="304266470"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">131</int> - <reference key="object" ref="1046388886"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="752062318"/> - </object> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">149</int> - <reference key="object" ref="1056857174"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">145</int> - <reference key="object" ref="342932134"/> - <reference key="parent" ref="110575045"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">130</int> - <reference key="object" ref="752062318"/> - <reference key="parent" ref="1046388886"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">24</int> - <reference key="object" ref="835318025"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="299356726"/> - <reference ref="625202149"/> - <reference ref="575023229"/> - <reference ref="1011231497"/> - </object> - <reference key="parent" ref="713487014"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">92</int> - <reference key="object" ref="299356726"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">5</int> - <reference key="object" ref="625202149"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">239</int> - <reference key="object" ref="575023229"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">23</int> - <reference key="object" ref="1011231497"/> - <reference key="parent" ref="835318025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">295</int> - <reference key="object" ref="586577488"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="466310130"/> - </object> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">296</int> - <reference key="object" ref="466310130"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="102151532"/> - <reference ref="237841660"/> - </object> - <reference key="parent" ref="586577488"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">297</int> - <reference key="object" ref="102151532"/> - <reference key="parent" ref="466310130"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">298</int> - <reference key="object" ref="237841660"/> - <reference key="parent" ref="466310130"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">211</int> - <reference key="object" ref="676164635"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="785027613"/> - </object> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">212</int> - <reference key="object" ref="785027613"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="680220178"/> - <reference ref="731782645"/> - </object> - <reference key="parent" ref="676164635"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">195</int> - <reference key="object" ref="680220178"/> - <reference key="parent" ref="785027613"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">196</int> - <reference key="object" ref="731782645"/> - <reference key="parent" ref="785027613"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">346</int> - <reference key="object" ref="967646866"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">348</int> - <reference key="object" ref="507821607"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="698887838"/> - </object> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">349</int> - <reference key="object" ref="698887838"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="605118523"/> - <reference ref="197661976"/> - <reference ref="708854459"/> - <reference ref="65139061"/> - <reference ref="19036812"/> - <reference ref="672708820"/> - <reference ref="537092702"/> - </object> - <reference key="parent" ref="507821607"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">350</int> - <reference key="object" ref="605118523"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">351</int> - <reference key="object" ref="197661976"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">354</int> - <reference key="object" ref="708854459"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">371</int> - <reference key="object" ref="972006081"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="439893737"/> - </object> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">372</int> - <reference key="object" ref="439893737"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="322594744"/> - </object> - <reference key="parent" ref="972006081"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">375</int> - <reference key="object" ref="302598603"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="941447902"/> - </object> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">376</int> - <reference key="object" ref="941447902"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="792887677"/> - <reference ref="215659978"/> - </object> - <reference key="parent" ref="302598603"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">377</int> - <reference key="object" ref="792887677"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="786677654"/> - </object> - <reference key="parent" ref="941447902"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">388</int> - <reference key="object" ref="786677654"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="159677712"/> - <reference ref="305399458"/> - <reference ref="814362025"/> - <reference ref="330926929"/> - <reference ref="533507878"/> - <reference ref="158063935"/> - <reference ref="885547335"/> - <reference ref="901062459"/> - <reference ref="767671776"/> - <reference ref="691570813"/> - <reference ref="769124883"/> - <reference ref="739652853"/> - <reference ref="1012600125"/> - <reference ref="214559597"/> - <reference ref="596732606"/> - <reference ref="393423671"/> - </object> - <reference key="parent" ref="792887677"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">389</int> - <reference key="object" ref="159677712"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">390</int> - <reference key="object" ref="305399458"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">391</int> - <reference key="object" ref="814362025"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">392</int> - <reference key="object" ref="330926929"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">393</int> - <reference key="object" ref="533507878"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">394</int> - <reference key="object" ref="158063935"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">395</int> - <reference key="object" ref="885547335"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">396</int> - <reference key="object" ref="901062459"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">397</int> - <reference key="object" ref="767671776"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="175441468"/> - </object> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">398</int> - <reference key="object" ref="691570813"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="1058217995"/> - </object> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">399</int> - <reference key="object" ref="769124883"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="18263474"/> - </object> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">400</int> - <reference key="object" ref="739652853"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">401</int> - <reference key="object" ref="1012600125"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">402</int> - <reference key="object" ref="214559597"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">403</int> - <reference key="object" ref="596732606"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">404</int> - <reference key="object" ref="393423671"/> - <reference key="parent" ref="786677654"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">405</int> - <reference key="object" ref="18263474"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="257962622"/> - <reference ref="644725453"/> - <reference ref="1037576581"/> - <reference ref="941806246"/> - <reference ref="1045724900"/> - </object> - <reference key="parent" ref="769124883"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">406</int> - <reference key="object" ref="257962622"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">407</int> - <reference key="object" ref="644725453"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">408</int> - <reference key="object" ref="1037576581"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">409</int> - <reference key="object" ref="941806246"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">410</int> - <reference key="object" ref="1045724900"/> - <reference key="parent" ref="18263474"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">411</int> - <reference key="object" ref="1058217995"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="706297211"/> - <reference ref="568384683"/> - <reference ref="663508465"/> - </object> - <reference key="parent" ref="691570813"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">412</int> - <reference key="object" ref="706297211"/> - <reference key="parent" ref="1058217995"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">413</int> - <reference key="object" ref="568384683"/> - <reference key="parent" ref="1058217995"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">414</int> - <reference key="object" ref="663508465"/> - <reference key="parent" ref="1058217995"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">415</int> - <reference key="object" ref="175441468"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="252969304"/> - <reference ref="766922938"/> - <reference ref="677519740"/> - <reference ref="238351151"/> - </object> - <reference key="parent" ref="767671776"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">416</int> - <reference key="object" ref="252969304"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">417</int> - <reference key="object" ref="766922938"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">418</int> - <reference key="object" ref="677519740"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">419</int> - <reference key="object" ref="238351151"/> - <reference key="parent" ref="175441468"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">420</int> - <reference key="object" ref="755631768"/> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">450</int> - <reference key="object" ref="288088188"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="579392910"/> - </object> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">451</int> - <reference key="object" ref="579392910"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="1060694897"/> - <reference ref="879586729"/> - <reference ref="56570060"/> - </object> - <reference key="parent" ref="288088188"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">452</int> - <reference key="object" ref="1060694897"/> - <reference key="parent" ref="579392910"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">453</int> - <reference key="object" ref="859480356"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">454</int> - <reference key="object" ref="795346622"/> - <reference key="parent" ref="769623530"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">457</int> - <reference key="object" ref="65139061"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">459</int> - <reference key="object" ref="19036812"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">460</int> - <reference key="object" ref="672708820"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">462</int> - <reference key="object" ref="537092702"/> - <reference key="parent" ref="698887838"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">465</int> - <reference key="object" ref="879586729"/> - <reference key="parent" ref="579392910"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">466</int> - <reference key="object" ref="56570060"/> - <reference key="parent" ref="579392910"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">485</int> - <reference key="object" ref="82994268"/> - <reference key="parent" ref="789758025"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">490</int> - <reference key="object" ref="448692316"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="992780483"/> - </object> - <reference key="parent" ref="649796088"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">491</int> - <reference key="object" ref="992780483"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="105068016"/> - </object> - <reference key="parent" ref="448692316"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">492</int> - <reference key="object" ref="105068016"/> - <reference key="parent" ref="992780483"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">494</int> - <reference key="object" ref="976324537"/> - <reference key="parent" ref="0"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">496</int> - <reference key="object" ref="215659978"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="446991534"/> - </object> - <reference key="parent" ref="941447902"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">497</int> - <reference key="object" ref="446991534"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="875092757"/> - <reference ref="630155264"/> - <reference ref="945678886"/> - <reference ref="512868991"/> - <reference ref="163117631"/> - <reference ref="31516759"/> - <reference ref="908105787"/> - <reference ref="644046920"/> - <reference ref="231811626"/> - <reference ref="883618387"/> - </object> - <reference key="parent" ref="215659978"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">498</int> - <reference key="object" ref="875092757"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">499</int> - <reference key="object" ref="630155264"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">500</int> - <reference key="object" ref="945678886"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">501</int> - <reference key="object" ref="512868991"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">502</int> - <reference key="object" ref="163117631"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">503</int> - <reference key="object" ref="31516759"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="956096989"/> - </object> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">504</int> - <reference key="object" ref="908105787"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">505</int> - <reference key="object" ref="644046920"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">506</int> - <reference key="object" ref="231811626"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">507</int> - <reference key="object" ref="883618387"/> - <reference key="parent" ref="446991534"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">508</int> - <reference key="object" ref="956096989"/> - <object class="NSMutableArray" key="children"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference ref="257099033"/> - <reference ref="551969625"/> - <reference ref="249532473"/> - <reference ref="607364498"/> - <reference ref="508151438"/> - <reference ref="981751889"/> - <reference ref="380031999"/> - <reference ref="825984362"/> - <reference ref="560145579"/> - </object> - <reference key="parent" ref="31516759"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">509</int> - <reference key="object" ref="257099033"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">510</int> - <reference key="object" ref="551969625"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">511</int> - <reference key="object" ref="249532473"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">512</int> - <reference key="object" ref="607364498"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">513</int> - <reference key="object" ref="508151438"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">514</int> - <reference key="object" ref="981751889"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">515</int> - <reference key="object" ref="380031999"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">516</int> - <reference key="object" ref="825984362"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">517</int> - <reference key="object" ref="560145579"/> - <reference key="parent" ref="956096989"/> - </object> - <object class="IBObjectRecord"> - <int key="objectID">533</int> - <reference key="object" ref="322594744"/> - <reference key="parent" ref="439893737"/> - </object> - </object> - </object> - <object class="NSMutableDictionary" key="flattenedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>-3.IBPluginDependency</string> - <string>112.IBPluginDependency</string> - <string>112.ImportedFromIB2</string> - <string>124.IBPluginDependency</string> - <string>124.ImportedFromIB2</string> - <string>125.IBPluginDependency</string> - <string>125.ImportedFromIB2</string> - <string>125.editorWindowContentRectSynchronizationRect</string> - <string>126.IBPluginDependency</string> - <string>126.ImportedFromIB2</string> - <string>129.IBPluginDependency</string> - <string>129.ImportedFromIB2</string> - <string>130.IBPluginDependency</string> - <string>130.ImportedFromIB2</string> - <string>130.editorWindowContentRectSynchronizationRect</string> - <string>131.IBPluginDependency</string> - <string>131.ImportedFromIB2</string> - <string>134.IBPluginDependency</string> - <string>134.ImportedFromIB2</string> - <string>136.IBPluginDependency</string> - <string>136.ImportedFromIB2</string> - <string>143.IBPluginDependency</string> - <string>143.ImportedFromIB2</string> - <string>144.IBPluginDependency</string> - <string>144.ImportedFromIB2</string> - <string>145.IBPluginDependency</string> - <string>145.ImportedFromIB2</string> - <string>149.IBPluginDependency</string> - <string>149.ImportedFromIB2</string> - <string>150.IBPluginDependency</string> - <string>150.ImportedFromIB2</string> - <string>19.IBPluginDependency</string> - <string>19.ImportedFromIB2</string> - <string>195.IBPluginDependency</string> - <string>195.ImportedFromIB2</string> - <string>196.IBPluginDependency</string> - <string>196.ImportedFromIB2</string> - <string>197.IBPluginDependency</string> - <string>197.ImportedFromIB2</string> - <string>198.IBPluginDependency</string> - <string>198.ImportedFromIB2</string> - <string>199.IBPluginDependency</string> - <string>199.ImportedFromIB2</string> - <string>200.IBEditorWindowLastContentRect</string> - <string>200.IBPluginDependency</string> - <string>200.ImportedFromIB2</string> - <string>200.editorWindowContentRectSynchronizationRect</string> - <string>201.IBPluginDependency</string> - <string>201.ImportedFromIB2</string> - <string>202.IBPluginDependency</string> - <string>202.ImportedFromIB2</string> - <string>203.IBPluginDependency</string> - <string>203.ImportedFromIB2</string> - <string>204.IBPluginDependency</string> - <string>204.ImportedFromIB2</string> - <string>205.IBEditorWindowLastContentRect</string> - <string>205.IBPluginDependency</string> - <string>205.ImportedFromIB2</string> - <string>205.editorWindowContentRectSynchronizationRect</string> - <string>206.IBPluginDependency</string> - <string>206.ImportedFromIB2</string> - <string>207.IBPluginDependency</string> - <string>207.ImportedFromIB2</string> - <string>208.IBPluginDependency</string> - <string>208.ImportedFromIB2</string> - <string>209.IBPluginDependency</string> - <string>209.ImportedFromIB2</string> - <string>210.IBPluginDependency</string> - <string>210.ImportedFromIB2</string> - <string>211.IBPluginDependency</string> - <string>211.ImportedFromIB2</string> - <string>212.IBPluginDependency</string> - <string>212.ImportedFromIB2</string> - <string>212.editorWindowContentRectSynchronizationRect</string> - <string>213.IBPluginDependency</string> - <string>213.ImportedFromIB2</string> - <string>214.IBPluginDependency</string> - <string>214.ImportedFromIB2</string> - <string>215.IBPluginDependency</string> - <string>215.ImportedFromIB2</string> - <string>216.IBPluginDependency</string> - <string>216.ImportedFromIB2</string> - <string>217.IBPluginDependency</string> - <string>217.ImportedFromIB2</string> - <string>218.IBPluginDependency</string> - <string>218.ImportedFromIB2</string> - <string>219.IBPluginDependency</string> - <string>219.ImportedFromIB2</string> - <string>220.IBEditorWindowLastContentRect</string> - <string>220.IBPluginDependency</string> - <string>220.ImportedFromIB2</string> - <string>220.editorWindowContentRectSynchronizationRect</string> - <string>221.IBPluginDependency</string> - <string>221.ImportedFromIB2</string> - <string>23.IBPluginDependency</string> - <string>23.ImportedFromIB2</string> - <string>236.IBPluginDependency</string> - <string>236.ImportedFromIB2</string> - <string>239.IBPluginDependency</string> - <string>239.ImportedFromIB2</string> - <string>24.IBEditorWindowLastContentRect</string> - <string>24.IBPluginDependency</string> - <string>24.ImportedFromIB2</string> - <string>24.editorWindowContentRectSynchronizationRect</string> - <string>29.IBEditorWindowLastContentRect</string> - <string>29.IBPluginDependency</string> - <string>29.ImportedFromIB2</string> - <string>29.WindowOrigin</string> - <string>29.editorWindowContentRectSynchronizationRect</string> - <string>295.IBPluginDependency</string> - <string>296.IBEditorWindowLastContentRect</string> - <string>296.IBPluginDependency</string> - <string>296.editorWindowContentRectSynchronizationRect</string> - <string>297.IBPluginDependency</string> - <string>298.IBPluginDependency</string> - <string>346.IBPluginDependency</string> - <string>346.ImportedFromIB2</string> - <string>348.IBPluginDependency</string> - <string>348.ImportedFromIB2</string> - <string>349.IBEditorWindowLastContentRect</string> - <string>349.IBPluginDependency</string> - <string>349.ImportedFromIB2</string> - <string>349.editorWindowContentRectSynchronizationRect</string> - <string>350.IBPluginDependency</string> - <string>350.ImportedFromIB2</string> - <string>351.IBPluginDependency</string> - <string>351.ImportedFromIB2</string> - <string>354.IBPluginDependency</string> - <string>354.ImportedFromIB2</string> - <string>371.IBEditorWindowLastContentRect</string> - <string>371.IBPluginDependency</string> - <string>371.IBWindowTemplateEditedContentRect</string> - <string>371.NSWindowTemplate.visibleAtLaunch</string> - <string>371.editorWindowContentRectSynchronizationRect</string> - <string>371.windowTemplate.maxSize</string> - <string>371.windowTemplate.minSize</string> - <string>372.IBPluginDependency</string> - <string>375.IBPluginDependency</string> - <string>376.IBEditorWindowLastContentRect</string> - <string>376.IBPluginDependency</string> - <string>377.IBPluginDependency</string> - <string>388.IBEditorWindowLastContentRect</string> - <string>388.IBPluginDependency</string> - <string>389.IBPluginDependency</string> - <string>390.IBPluginDependency</string> - <string>391.IBPluginDependency</string> - <string>392.IBPluginDependency</string> - <string>393.IBPluginDependency</string> - <string>394.IBPluginDependency</string> - <string>395.IBPluginDependency</string> - <string>396.IBPluginDependency</string> - <string>397.IBPluginDependency</string> - <string>398.IBPluginDependency</string> - <string>399.IBPluginDependency</string> - <string>400.IBPluginDependency</string> - <string>401.IBPluginDependency</string> - <string>402.IBPluginDependency</string> - <string>403.IBPluginDependency</string> - <string>404.IBPluginDependency</string> - <string>405.IBPluginDependency</string> - <string>406.IBPluginDependency</string> - <string>407.IBPluginDependency</string> - <string>408.IBPluginDependency</string> - <string>409.IBPluginDependency</string> - <string>410.IBPluginDependency</string> - <string>411.IBPluginDependency</string> - <string>412.IBPluginDependency</string> - <string>413.IBPluginDependency</string> - <string>414.IBPluginDependency</string> - <string>415.IBPluginDependency</string> - <string>416.IBPluginDependency</string> - <string>417.IBPluginDependency</string> - <string>418.IBPluginDependency</string> - <string>419.IBPluginDependency</string> - <string>450.IBPluginDependency</string> - <string>451.IBEditorWindowLastContentRect</string> - <string>451.IBPluginDependency</string> - <string>452.IBPluginDependency</string> - <string>453.IBPluginDependency</string> - <string>454.IBPluginDependency</string> - <string>457.IBPluginDependency</string> - <string>459.IBPluginDependency</string> - <string>460.IBPluginDependency</string> - <string>462.IBPluginDependency</string> - <string>465.IBPluginDependency</string> - <string>466.IBPluginDependency</string> - <string>485.IBPluginDependency</string> - <string>490.IBPluginDependency</string> - <string>491.IBEditorWindowLastContentRect</string> - <string>491.IBPluginDependency</string> - <string>492.IBPluginDependency</string> - <string>496.IBPluginDependency</string> - <string>497.IBEditorWindowLastContentRect</string> - <string>497.IBPluginDependency</string> - <string>498.IBPluginDependency</string> - <string>499.IBPluginDependency</string> - <string>5.IBPluginDependency</string> - <string>5.ImportedFromIB2</string> - <string>500.IBPluginDependency</string> - <string>501.IBPluginDependency</string> - <string>502.IBPluginDependency</string> - <string>503.IBPluginDependency</string> - <string>504.IBPluginDependency</string> - <string>505.IBPluginDependency</string> - <string>506.IBPluginDependency</string> - <string>507.IBPluginDependency</string> - <string>508.IBEditorWindowLastContentRect</string> - <string>508.IBPluginDependency</string> - <string>509.IBPluginDependency</string> - <string>510.IBPluginDependency</string> - <string>511.IBPluginDependency</string> - <string>512.IBPluginDependency</string> - <string>513.IBPluginDependency</string> - <string>514.IBPluginDependency</string> - <string>515.IBPluginDependency</string> - <string>516.IBPluginDependency</string> - <string>517.IBPluginDependency</string> - <string>533.IBPluginDependency</string> - <string>533.IBViewBoundsToFrameTransform</string> - <string>56.IBPluginDependency</string> - <string>56.ImportedFromIB2</string> - <string>57.IBEditorWindowLastContentRect</string> - <string>57.IBPluginDependency</string> - <string>57.ImportedFromIB2</string> - <string>57.editorWindowContentRectSynchronizationRect</string> - <string>58.IBPluginDependency</string> - <string>58.ImportedFromIB2</string> - <string>72.IBPluginDependency</string> - <string>72.ImportedFromIB2</string> - <string>73.IBPluginDependency</string> - <string>73.ImportedFromIB2</string> - <string>74.IBPluginDependency</string> - <string>74.ImportedFromIB2</string> - <string>75.IBPluginDependency</string> - <string>75.ImportedFromIB2</string> - <string>77.IBPluginDependency</string> - <string>77.ImportedFromIB2</string> - <string>78.IBPluginDependency</string> - <string>78.ImportedFromIB2</string> - <string>79.IBPluginDependency</string> - <string>79.ImportedFromIB2</string> - <string>80.IBPluginDependency</string> - <string>80.ImportedFromIB2</string> - <string>81.IBEditorWindowLastContentRect</string> - <string>81.IBPluginDependency</string> - <string>81.ImportedFromIB2</string> - <string>81.editorWindowContentRectSynchronizationRect</string> - <string>82.IBPluginDependency</string> - <string>82.ImportedFromIB2</string> - <string>83.IBPluginDependency</string> - <string>83.ImportedFromIB2</string> - <string>92.IBPluginDependency</string> - <string>92.ImportedFromIB2</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{522, 812}, {146, 23}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{436, 809}, {64, 6}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{753, 187}, {275, 113}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{608, 612}, {275, 83}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{547, 180}, {254, 283}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{187, 434}, {243, 243}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{608, 612}, {167, 43}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{753, 217}, {238, 103}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{608, 612}, {241, 103}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{654, 239}, {194, 73}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{525, 802}, {197, 73}}</string> - <string>{{380, 836}, {489, 20}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{74, 862}</string> - <string>{{6, 978}, {478, 20}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{604, 269}, {231, 43}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{475, 832}, {234, 43}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{746, 287}, {220, 133}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{608, 612}, {215, 63}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{358, 214}, {480, 360}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{358, 214}, {480, 360}}</string> - <integer value="1"/> - <string>{{33, 99}, {480, 360}}</string> - <string>{3.40282e+38, 3.40282e+38}</string> - <string>{0, 0}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{591, 420}, {83, 43}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{523, 2}, {178, 283}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{753, 197}, {170, 63}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{725, 289}, {246, 23}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{674, 260}, {204, 183}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>{{878, 180}, {164, 173}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <object class="NSAffineTransform"> - <bytes key="NSTransformStruct">AULIAABDAgAAA</bytes> - </object> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{286, 129}, {275, 183}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{23, 794}, {245, 183}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{452, 109}, {196, 203}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>{{145, 474}, {199, 203}}</string> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - <string>com.apple.InterfaceBuilder.CocoaPlugin</string> - <integer value="1"/> - </object> - </object> - <object class="NSMutableDictionary" key="unlocalizedProperties"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference key="dict.sortedKeys" ref="0"/> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="activeLocalization"/> - <object class="NSMutableDictionary" key="localizations"> - <bool key="EncodedWithXMLCoder">YES</bool> - <reference key="dict.sortedKeys" ref="0"/> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - </object> - </object> - <nil key="sourceID"/> - <int key="maxID">536</int> - </object> - <object class="IBClassDescriber" key="IBDocument.Classes"> - <object class="NSMutableArray" key="referencedPartialClassDescriptions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">FileReaderAppDelegate</string> - <string key="superclassName">NSObject</string> - <object class="NSMutableDictionary" key="outlets"> - <string key="NS.key.0">window</string> - <string key="NS.object.0">SkNSWindow</string> - </object> - <object class="NSMutableDictionary" key="toOneOutletInfosByName"> - <string key="NS.key.0">window</string> - <object class="IBToOneOutletInfo" key="NS.object.0"> - <string key="name">window</string> - <string key="candidateClassName">SkNSWindow</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">FileReaderAppDelegate.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">FileReaderWindow</string> - <string key="superclassName">SkNSWindow</string> - <object class="NSMutableDictionary" key="outlets"> - <string key="NS.key.0">fView</string> - <string key="NS.object.0">SkNSView</string> - </object> - <object class="NSMutableDictionary" key="toOneOutletInfosByName"> - <string key="NS.key.0">fView</string> - <object class="IBToOneOutletInfo" key="NS.object.0"> - <string key="name">fView</string> - <string key="candidateClassName">SkNSView</string> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">FileReaderWindow.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">SkNSView</string> - <string key="superclassName">NSView</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">SkNSView.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">SkNSWindow</string> - <string key="superclassName">NSWindow</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBProjectSource</string> - <string key="minorKey">SkNSWindow.h</string> - </object> - </object> - </object> - <object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBPartialClassDescription"> - <string key="className">NSApplication</string> - <string key="superclassName">NSResponder</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier" id="822405504"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSApplication.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSApplication</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier" id="850738725"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSApplicationScripting.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSApplication</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier" id="624831158"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSColorPanel.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSApplication</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSHelpManager.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSApplication</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSPageLayout.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSApplication</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSUserInterfaceItemSearching.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSBrowser</string> - <string key="superclassName">NSControl</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSBrowser.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSControl</string> - <string key="superclassName">NSView</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier" id="310914472"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSControl.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSDocument</string> - <string key="superclassName">NSObject</string> - <object class="NSMutableDictionary" key="actions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>printDocument:</string> - <string>revertDocumentToSaved:</string> - <string>runPageLayout:</string> - <string>saveDocument:</string> - <string>saveDocumentAs:</string> - <string>saveDocumentTo:</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>id</string> - <string>id</string> - <string>id</string> - <string>id</string> - <string>id</string> - <string>id</string> - </object> - </object> - <object class="NSMutableDictionary" key="actionInfosByName"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>printDocument:</string> - <string>revertDocumentToSaved:</string> - <string>runPageLayout:</string> - <string>saveDocument:</string> - <string>saveDocumentAs:</string> - <string>saveDocumentTo:</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBActionInfo"> - <string key="name">printDocument:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo"> - <string key="name">revertDocumentToSaved:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo"> - <string key="name">runPageLayout:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo"> - <string key="name">saveDocument:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo"> - <string key="name">saveDocumentAs:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo"> - <string key="name">saveDocumentTo:</string> - <string key="candidateClassName">id</string> - </object> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSDocument.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSDocument</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSDocumentScripting.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSDocumentController</string> - <string key="superclassName">NSObject</string> - <object class="NSMutableDictionary" key="actions"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>clearRecentDocuments:</string> - <string>newDocument:</string> - <string>openDocument:</string> - <string>saveAllDocuments:</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>id</string> - <string>id</string> - <string>id</string> - <string>id</string> - </object> - </object> - <object class="NSMutableDictionary" key="actionInfosByName"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>clearRecentDocuments:</string> - <string>newDocument:</string> - <string>openDocument:</string> - <string>saveAllDocuments:</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="IBActionInfo"> - <string key="name">clearRecentDocuments:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo"> - <string key="name">newDocument:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo"> - <string key="name">openDocument:</string> - <string key="candidateClassName">id</string> - </object> - <object class="IBActionInfo"> - <string key="name">saveAllDocuments:</string> - <string key="candidateClassName">id</string> - </object> - </object> - </object> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSDocumentController.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSFontManager</string> - <string key="superclassName">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier" id="946436764"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSFontManager.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSFormatter</string> - <string key="superclassName">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSFormatter.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSMatrix</string> - <string key="superclassName">NSControl</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSMatrix.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSMenu</string> - <string key="superclassName">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier" id="1056362899"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSMenu.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSMenuItem</string> - <string key="superclassName">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier" id="472958451"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSMenuItem.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSMovieView</string> - <string key="superclassName">NSView</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSMovieView.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSAccessibility.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <reference key="sourceIdentifier" ref="822405504"/> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <reference key="sourceIdentifier" ref="850738725"/> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <reference key="sourceIdentifier" ref="624831158"/> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <reference key="sourceIdentifier" ref="310914472"/> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSDictionaryController.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSDragging.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <reference key="sourceIdentifier" ref="946436764"/> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSFontPanel.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSKeyValueBinding.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <reference key="sourceIdentifier" ref="1056362899"/> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSNibLoading.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSOutlineView.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSPasteboard.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSSavePanel.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier" id="809545482"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSTableView.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSToolbarItem.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier" id="260078765"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSView.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSArchiver.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSClassDescription.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSError.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSObject.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSObjectScripting.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSPortCoder.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSScriptClassDescription.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSScriptKeyValueCoding.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSScriptObjectSpecifiers.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSScriptWhoseTests.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSThread.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSURL.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">Foundation.framework/Headers/NSURLDownload.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSResponder</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSInterfaceStyle.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSResponder</string> - <string key="superclassName">NSObject</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSResponder.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSTableView</string> - <string key="superclassName">NSControl</string> - <reference key="sourceIdentifier" ref="809545482"/> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSText</string> - <string key="superclassName">NSView</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSText.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSTextView</string> - <string key="superclassName">NSText</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSTextView.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSView</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSClipView.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSView</string> - <reference key="sourceIdentifier" ref="472958451"/> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSView</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSRulerView.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSView</string> - <string key="superclassName">NSResponder</string> - <reference key="sourceIdentifier" ref="260078765"/> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSWindow</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSDrawer.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSWindow</string> - <string key="superclassName">NSResponder</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSWindow.h</string> - </object> - </object> - <object class="IBPartialClassDescription"> - <string key="className">NSWindow</string> - <object class="IBClassDescriptionSource" key="sourceIdentifier"> - <string key="majorKey">IBFrameworkSource</string> - <string key="minorKey">AppKit.framework/Headers/NSWindowScripting.h</string> - </object> - </object> - </object> - </object> - <int key="IBDocument.localizationMode">0</int> - <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string> - <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults"> - <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string> - <integer value="1060" key="NS.object.0"/> - </object> - <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies"> - <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string> - <integer value="3000" key="NS.object.0"/> - </object> - <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool> - <string key="IBDocument.LastKnownRelativeProjectPath">../FileReaderApp.xcodeproj</string> - <int key="IBDocument.defaultPropertyAccessControl">3</int> - <object class="NSMutableDictionary" key="IBDocument.LastKnownImageSizes"> - <bool key="EncodedWithXMLCoder">YES</bool> - <object class="NSArray" key="dict.sortedKeys"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>NSMenuCheckmark</string> - <string>NSMenuMixedState</string> - </object> - <object class="NSMutableArray" key="dict.values"> - <bool key="EncodedWithXMLCoder">YES</bool> - <string>{9, 8}</string> - <string>{7, 2}</string> - </object> - </object> - </data> -</archive> diff --git a/experimental/FileReaderApp/FileReaderApp-Info.plist b/experimental/FileReaderApp/FileReaderApp-Info.plist deleted file mode 100644 index f696cb233e..0000000000 --- a/experimental/FileReaderApp/FileReaderApp-Info.plist +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> -<plist version="1.0"> -<dict> - <key>CFBundleDevelopmentRegion</key> - <string>English</string> - <key>CFBundleExecutable</key> - <string>${EXECUTABLE_NAME}</string> - <key>CFBundleIconFile</key> - <string></string> - <key>CFBundleIdentifier</key> - <string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string> - <key>CFBundleInfoDictionaryVersion</key> - <string>6.0</string> - <key>CFBundleName</key> - <string>${PRODUCT_NAME}</string> - <key>CFBundlePackageType</key> - <string>APPL</string> - <key>CFBundleShortVersionString</key> - <string>1.0</string> - <key>CFBundleSignature</key> - <string>????</string> - <key>CFBundleVersion</key> - <string>1</string> - <key>LSMinimumSystemVersion</key> - <string>${MACOSX_DEPLOYMENT_TARGET}</string> - <key>NSMainNibFile</key> - <string>MainMenu</string> - <key>NSPrincipalClass</key> - <string>NSApplication</string> -</dict> -</plist> diff --git a/experimental/FileReaderApp/FileReaderAppDelegate.h b/experimental/FileReaderApp/FileReaderAppDelegate.h deleted file mode 100644 index 113f62e229..0000000000 --- a/experimental/FileReaderApp/FileReaderAppDelegate.h +++ /dev/null @@ -1,15 +0,0 @@ - -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ -#import <Cocoa/Cocoa.h> -#import "SkNSWindow.h" -@interface FileReaderAppDelegate : NSObject <NSApplicationDelegate> { - SkNSWindow *window; -} - -@property (assign) IBOutlet SkNSWindow *window; -@end diff --git a/experimental/FileReaderApp/FileReaderAppDelegate.mm b/experimental/FileReaderApp/FileReaderAppDelegate.mm deleted file mode 100644 index 6b706b6aaf..0000000000 --- a/experimental/FileReaderApp/FileReaderAppDelegate.mm +++ /dev/null @@ -1,10 +0,0 @@ -#import "FileReaderAppDelegate.h" - -@implementation FileReaderAppDelegate -@synthesize window; - --(void) applicationDidFinishLaunching:(NSNotification *)aNotification { - //Load specified skia views after launching - [window installSkViews]; -} -@end diff --git a/experimental/FileReaderApp/FileReaderApp_Prefix.pch b/experimental/FileReaderApp/FileReaderApp_Prefix.pch deleted file mode 100644 index 8d43caec0d..0000000000 --- a/experimental/FileReaderApp/FileReaderApp_Prefix.pch +++ /dev/null @@ -1,7 +0,0 @@ -// -// Prefix header for all source files of the 'CocoaSampleApp' target in the 'CocoaSampleApp' project -// - -#ifdef __OBJC__ - #import <Cocoa/Cocoa.h> -#endif diff --git a/experimental/FileReaderApp/FileReaderWindow.h b/experimental/FileReaderApp/FileReaderWindow.h deleted file mode 100644 index e18a31c6bb..0000000000 --- a/experimental/FileReaderApp/FileReaderWindow.h +++ /dev/null @@ -1,14 +0,0 @@ - -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ -#import "SkNSWindow.h" -#import "ReaderView.h" -@interface FileReaderWindow : SkNSWindow { - IBOutlet SkNSView* fView; - ReaderView* fReaderView; -} -@end diff --git a/experimental/FileReaderApp/FileReaderWindow.mm b/experimental/FileReaderApp/FileReaderWindow.mm deleted file mode 100644 index ed4585e140..0000000000 --- a/experimental/FileReaderApp/FileReaderWindow.mm +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#import "FileReaderWindow.h" -#import "SkGradientShader.h" - -bool gNeverSetToTrueJustNeedToFoolLinker; -static void init_effects() { - if (gNeverSetToTrueJustNeedToFoolLinker) { - SkPoint p = SkPoint::Make(0,0); - SkPoint q = SkPoint::Make(100,100); - SkPoint pts[] = {p, q}; - SkColor colors[] = { SK_ColorRED, SK_ColorGREEN }; - SkScalar pos[] = { 0, 1.0}; - SkGradientShader::CreateLinear(pts, colors, pos, 2, - SkShader::kMirror_TileMode); - } -} - -@implementation FileReaderWindow --(void) installSkViews { - init_effects(); - fReaderView = new ReaderView; - fReaderView->setVisibleP(true); - fReaderView->setSize([self frame].size.width, [self frame].size.height); - [fView addSkView:fReaderView]; - [fView setNeedsDisplay:YES]; - fReaderView->unref(); - //TODO - Temporary fix. Inval doesn't Seem to be working. - [NSTimer scheduledTimerWithTimeInterval:0.01 target:self - selector:@selector(redraw) userInfo:nil - repeats:YES]; -} - -- (void)redraw { - [fView setNeedsDisplay:YES]; -} -@end - diff --git a/experimental/FileReaderApp/ReaderView.cpp b/experimental/FileReaderApp/ReaderView.cpp deleted file mode 100644 index d0792d26c5..0000000000 --- a/experimental/FileReaderApp/ReaderView.cpp +++ /dev/null @@ -1,75 +0,0 @@ - -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ -#include "ReaderView.h" -#include "SkGPipe.h" -#include "SkCanvas.h" - -#include <stdio.h> - -#define FILE_PATH "/Users/yangsu/Code/test/test.a" -ReaderView::ReaderView() { - fBGColor = 0xFFDDDDDD; - fFilePos = 0; - fBufferBitmaps[0].setConfig(SkBitmap::kARGB_8888_Config, 640, 480); - fBufferBitmaps[0].allocPixels(NULL); - fBufferBitmaps[1].setConfig(SkBitmap::kARGB_8888_Config, 640, 480); - fBufferBitmaps[1].allocPixels(NULL); - fFront = 0; - fBack = 1; -} - -void ReaderView::draw(SkCanvas* canvas) { - canvas->drawColor(fBGColor); - - SkAutoCanvasRestore acr(canvas, true); - - //Create a temporary canvas and reader object that draws into the back - //bitmap so that the incremental changes or incomplete reads are not shown - //on screen - SkCanvas bufferCanvas(fBufferBitmaps[fBack]); - SkGPipeReader reader(&bufferCanvas); - - //The file specified by FILE_PATH MUST exist - FILE* f = fopen(FILE_PATH, "rb"); - SkASSERT(f != NULL); - - fseek(f, 0, SEEK_END); - int size = ftell(f) * sizeof(char); - if (size <= fFilePos) { - fFilePos = 0; - } - - //Resume from the last read location - fseek(f, fFilePos, SEEK_SET); - int toBeRead = size - fFilePos; - if (size > 0 && toBeRead > 0) { - void* block = sk_malloc_throw(toBeRead); - fread(block, 1, toBeRead, f); - - size_t bytesRead; - SkGPipeReader::Status fStatus = reader.playback(block, toBeRead, &bytesRead); - SkASSERT(SkGPipeReader::kError_Status != fStatus); - SkASSERT(toBeRead >= bytesRead); - - //if the reader reaches a done verb, a frame is complete. - //Update the file location and swap the front and back bitmaps to show - //the new frame - if (SkGPipeReader::kDone_Status == fStatus) { - fFilePos += bytesRead; - fFront = fFront ^ 0x1; - fBack = fBack ^ 0x1; - } - sk_free(block); - } - - fclose(f); - - //the front bitmap is always drawn - canvas->drawBitmap(fBufferBitmaps[fFront], 0, 0, NULL); - this->inval(NULL); -} diff --git a/experimental/FileReaderApp/ReaderView.h b/experimental/FileReaderApp/ReaderView.h deleted file mode 100644 index 3f61eb8087..0000000000 --- a/experimental/FileReaderApp/ReaderView.h +++ /dev/null @@ -1,29 +0,0 @@ - -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ -#include "SkView.h" -#include "SkColor.h" -#include "SkBitmap.h" - -/* - * Pipe Reader with File IO. This view reads from the data file produced by the - * Pipe Writer. - */ - -class ReaderView : public SkView { -public: - ReaderView(); - virtual void draw(SkCanvas* canvas); - -private: - int fFilePos; - int fFront; - int fBack; - SkColor fBGColor; - SkBitmap fBufferBitmaps[2]; - typedef SkView INHERITED; -}; diff --git a/experimental/FileReaderApp/main.m b/experimental/FileReaderApp/main.m deleted file mode 100644 index cd85c6d018..0000000000 --- a/experimental/FileReaderApp/main.m +++ /dev/null @@ -1,16 +0,0 @@ -// -// main.m -// CocoaSampleApp -// -// Created by Yang Su on 6/14/11. -// Copyright 2011 Google Inc. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// - -#import <Cocoa/Cocoa.h> - -int main(int argc, char *argv[]) -{ - return NSApplicationMain(argc, (const char **) argv); -} diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp deleted file mode 100644 index 613869bb3c..0000000000 --- a/samplecode/SampleApp.cpp +++ /dev/null @@ -1,2559 +0,0 @@ -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "SampleApp.h" - -#include "SkCommonFlags.h" -#include "OverView.h" -#include "Resources.h" -#include "SampleCode.h" -#include "SkAnimTimer.h" -#include "SkCanvas.h" -#include "SkColorSpace_XYZ.h" -#include "SkCommandLineFlags.h" -#include "SkCommonFlagsPathRenderer.h" -#include "SkData.h" -#include "SkDocument.h" -#include "SkGraphics.h" -#include "SkOSFile.h" -#include "SkOSPath.h" -#include "SkPaint.h" -#include "SkPaintFilterCanvas.h" -#include "SkPicture.h" -#include "SkPictureRecorder.h" -#include "SkPM4fPriv.h" -#include "SkStream.h" -#include "SkSurface.h" -#include "SkTemplates.h" -#include "SkTSort.h" -#include "SkTime.h" -#include "SkTypeface.h" -#include "SkWindow.h" -#include "sk_tool_utils.h" -#include "SkScan.h" -#include "SkClipOpPriv.h" -#include "SkThreadedBMPDevice.h" - -#include "SkReadBuffer.h" -#include "SkStream.h" - -#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) -#include "SkCGUtils.h" -#endif - -#define PICTURE_MEANS_PIPE false -#define SERIALIZE_PICTURE true - -#if SK_SUPPORT_GPU -# include "gl/GrGLInterface.h" -# include "gl/GrGLUtil.h" -# include "GrContext.h" -# include "SkGr.h" -# if SK_ANGLE -# include "gl/angle/GLTestContext_angle.h" -# endif -#else -class GrContext; -#endif - -extern bool gSkForceRasterPipelineBlitter; - -enum OutputColorSpace { - kLegacy_OutputColorSpace, - kSRGB_OutputColorSpace, - kNarrow_OutputColorSpace, - kMonitor_OutputColorSpace, -}; - -const struct { - SkColorType fColorType; - OutputColorSpace fColorSpace; - const char* fName; -} gConfig[] = { - { kN32_SkColorType, kLegacy_OutputColorSpace, "L32" }, - { kRGB_565_SkColorType, kLegacy_OutputColorSpace, "L565" }, - { kN32_SkColorType, kSRGB_OutputColorSpace, "S32" }, - { kRGBA_F16_SkColorType, kSRGB_OutputColorSpace, "F16" }, - { kRGBA_F16_SkColorType, kNarrow_OutputColorSpace, "F16 Narrow" }, - { kRGBA_F16_SkColorType, kMonitor_OutputColorSpace, "F16 Device" }, -}; - -// Should be 3x + 1 -#define kMaxFatBitsScale 28 - -extern SampleView* CreateSamplePictFileView(const char filename[]); - -class PictFileFactory : public SkViewFactory { - SkString fFilename; -public: - PictFileFactory(const SkString& filename) : fFilename(filename) {} - SkView* operator() () const override { - return CreateSamplePictFileView(fFilename.c_str()); - } -}; - -extern SampleView* CreateSamplePathFinderView(const char filename[]); - -class PathFinderFactory : public SkViewFactory { - SkString fFilename; -public: - PathFinderFactory(const SkString& filename) : fFilename(filename) {} - SkView* operator() () const override { - return CreateSamplePathFinderView(fFilename.c_str()); - } -}; - -extern SampleView* CreateSampleSVGFileView(const SkString& filename); - -class SVGFileFactory : public SkViewFactory { - SkString fFilename; -public: - SVGFileFactory(const SkString& filename) : fFilename(filename) {} - SkView* operator() () const override { - return CreateSampleSVGFileView(fFilename); - } -}; - -#ifdef SAMPLE_PDF_FILE_VIEWER -extern SampleView* CreateSamplePdfFileViewer(const char filename[]); - -class PdfFileViewerFactory : public SkViewFactory { - SkString fFilename; -public: - PdfFileViewerFactory(const SkString& filename) : fFilename(filename) {} - SkView* operator() () const override { - return CreateSamplePdfFileViewer(fFilename.c_str()); - } -}; -#endif // SAMPLE_PDF_FILE_VIEWER - -#if SK_ANGLE -//#define DEFAULT_TO_ANGLE 1 -#else -#define DEFAULT_TO_GPU 0 // if 1 default rendering is on GPU -#endif - -#define ANIMATING_EVENTTYPE "nextSample" -#define ANIMATING_DELAY 250 - -#ifdef SK_DEBUG - #define FPS_REPEAT_MULTIPLIER 1 -#else - #define FPS_REPEAT_MULTIPLIER 10 -#endif -#define FPS_REPEAT_COUNT (10 * FPS_REPEAT_MULTIPLIER) - -static SampleWindow* gSampleWindow; - -static bool gShowGMBounds; - -static void post_event_to_sink(SkEvent* evt, SkEventSink* sink) { - evt->setTargetID(sink->getSinkID())->post(); -} - -static SkAnimTimer gAnimTimer; - -/////////////////////////////////////////////////////////////////////////////// - -static const char* skip_until(const char* str, const char* skip) { - if (!str) { - return nullptr; - } - return strstr(str, skip); -} - -static const char* skip_past(const char* str, const char* skip) { - const char* found = skip_until(str, skip); - if (!found) { - return nullptr; - } - return found + strlen(skip); -} - -static const char* gPrefFileName = "sampleapp_prefs.txt"; - -static bool readTitleFromPrefs(SkString* title) { - SkFILEStream stream(gPrefFileName); - if (!stream.isValid()) { - return false; - } - - size_t len = stream.getLength(); - SkString data(len); - stream.read(data.writable_str(), len); - const char* s = data.c_str(); - - s = skip_past(s, "curr-slide-title"); - s = skip_past(s, "="); - s = skip_past(s, "\""); - const char* stop = skip_until(s, "\""); - if (stop > s) { - title->set(s, stop - s); - return true; - } - return false; -} - -static void writeTitleToPrefs(const char* title) { - SkFILEWStream stream(gPrefFileName); - SkString data; - data.printf("curr-slide-title = \"%s\"\n", title); - stream.write(data.c_str(), data.size()); -} - -/////////////////////////////////////////////////////////////////////////////// - -class SampleWindow::DefaultDeviceManager : public SampleWindow::DeviceManager { -public: - - DefaultDeviceManager() { -#if SK_SUPPORT_GPU - fCurContext = nullptr; - fCurIntf = nullptr; - fMSAASampleCount = 0; - fDeepColor = false; - fActualColorBits = 0; -#endif - fBackend = kNone_BackEndType; - } - - ~DefaultDeviceManager() override { -#if SK_SUPPORT_GPU - SkSafeUnref(fCurContext); - SkSafeUnref(fCurIntf); -#endif - } - - void setUpBackend(SampleWindow* win, const BackendOptions& backendOptions) override { - SkASSERT(kNone_BackEndType == fBackend); - - fBackend = kNone_BackEndType; - -#if SK_SUPPORT_GPU - switch (win->getDeviceType()) { - case kRaster_DeviceType: // fallthrough - case kGPU_DeviceType: - // all these guys use the native backend - fBackend = kNativeGL_BackEndType; - break; -#if SK_ANGLE - case kANGLE_DeviceType: - // ANGLE is really the only odd man out - fBackend = kANGLE_BackEndType; - break; -#endif // SK_ANGLE - default: - SkASSERT(false); - break; - } - AttachmentInfo attachmentInfo; - bool result = win->attach(fBackend, backendOptions.fMSAASampleCount, - backendOptions.fDeepColor, &attachmentInfo); - if (!result) { - SkDebugf("Failed to initialize GL"); - return; - } - fMSAASampleCount = backendOptions.fMSAASampleCount; - fDeepColor = backendOptions.fDeepColor; - // Assume that we have at least 24-bit output, for backends that don't supply this data - fActualColorBits = SkTMax(attachmentInfo.fColorBits, 24); - - SkASSERT(nullptr == fCurIntf); - switch (win->getDeviceType()) { - case kRaster_DeviceType: // fallthrough - case kGPU_DeviceType: - // all these guys use the native interface - fCurIntf = GrGLCreateNativeInterface(); - break; -#if SK_ANGLE - case kANGLE_DeviceType: - fCurIntf = sk_gpu_test::CreateANGLEGLInterface(); - break; -#endif // SK_ANGLE - default: - SkASSERT(false); - break; - } - - SkASSERT(nullptr == fCurContext); - fCurContext = GrContext::MakeGL(fCurIntf, backendOptions.fGrContextOptions).release(); - - if (nullptr == fCurContext || nullptr == fCurIntf) { - // We need some context and interface to see results - SkSafeUnref(fCurContext); - SkSafeUnref(fCurIntf); - fCurContext = nullptr; - fCurIntf = nullptr; - SkDebugf("Failed to setup 3D"); - - win->release(); - } -#endif // SK_SUPPORT_GPU - // call windowSizeChanged to create the gpu-backed Surface - this->windowSizeChanged(win); - } - - void tearDownBackend(SampleWindow *win) override { -#if SK_SUPPORT_GPU - if (fCurContext) { - // in case we have outstanding refs to this guy (lua?) - fCurContext->abandonContext(); - fCurContext->unref(); - fCurContext = nullptr; - } - - SkSafeUnref(fCurIntf); - fCurIntf = nullptr; - - fGpuSurface = nullptr; -#endif - win->release(); - fBackend = kNone_BackEndType; - } - - sk_sp<SkSurface> makeSurface(SampleWindow::DeviceType dType, SampleWindow* win) override { -#if SK_SUPPORT_GPU - if (IsGpuDeviceType(dType) && fCurContext) { - SkSurfaceProps props(win->getSurfaceProps()); - if (kRGBA_F16_SkColorType == win->info().colorType() || fActualColorBits > 24) { - // If we're rendering to F16, we need an off-screen surface - the current render - // target is most likely the wrong format. - // - // If we're using a deep (10-bit or higher) surface, we probably need an off-screen - // surface. 10-bit, in particular, has strange gamma behavior. - return SkSurface::MakeRenderTarget(fCurContext, SkBudgeted::kNo, win->info(), - fMSAASampleCount, &props); - } else { - return fGpuSurface; - } - } -#endif - return nullptr; - } - - void publishCanvas(SampleWindow::DeviceType dType, - SkCanvas* renderingCanvas, SampleWindow* win) override { -#if SK_SUPPORT_GPU - if (!IsGpuDeviceType(dType) || - kRGBA_F16_SkColorType == win->info().colorType() || - fActualColorBits > 24) { - // We made/have an off-screen surface. Extract the pixels exactly as we rendered them: - SkImageInfo info = win->info(); - size_t rowBytes = info.minRowBytes(); - size_t size = info.computeByteSize(rowBytes); - auto data = SkData::MakeUninitialized(size); - SkASSERT(data); - - if (!renderingCanvas->readPixels(info, data->writable_data(), rowBytes, 0, 0)) { - SkDEBUGFAIL("Failed to read canvas pixels"); - return; - } - - // Now, re-interpret those pixels as sRGB, so they won't be color converted when we - // draw then to FBO0. This ensures that if we rendered in any strange gamut, we'll see - // the "correct" output (because we generated the pixel values we wanted in the - // offscreen canvas). - auto colorSpace = kRGBA_F16_SkColorType == info.colorType() - ? SkColorSpace::MakeSRGBLinear() - : SkColorSpace::MakeSRGB(); - auto offscreenImage = SkImage::MakeRasterData(info.makeColorSpace(colorSpace), data, - rowBytes); - - SkCanvas* gpuCanvas = fGpuSurface->getCanvas(); - - // With ten-bit output, we need to manually apply the gamma of the output device - // (unless we're in non-gamma correct mode, in which case our data is already - // fake-sRGB, like we're expected to put in the 10-bit buffer): - bool doGamma = (fActualColorBits == 30) && win->info().colorSpace(); - - SkPaint gammaPaint; - gammaPaint.setBlendMode(SkBlendMode::kSrc); - if (doGamma) { - gammaPaint.setColorFilter(SkColorFilter::MakeLinearToSRGBGamma()); - } - - gpuCanvas->drawImage(offscreenImage, 0, 0, &gammaPaint); - } - - fGpuSurface->prepareForExternalIO(); -#endif - - win->present(); - } - - void windowSizeChanged(SampleWindow* win) override { - win->resetFPS(); -#if SK_SUPPORT_GPU - if (fCurContext) { - AttachmentInfo attachmentInfo; - win->attach(fBackend, fMSAASampleCount, fDeepColor, &attachmentInfo); - fActualColorBits = SkTMax(attachmentInfo.fColorBits, 24); - fGpuSurface = win->makeGpuBackedSurface(attachmentInfo, fCurIntf, fCurContext); - } -#endif - } - - GrContext* getGrContext() override { -#if SK_SUPPORT_GPU - return fCurContext; -#else - return nullptr; -#endif - } - - int numColorSamples() const override { -#if SK_SUPPORT_GPU - return fMSAASampleCount; -#else - return 0; -#endif - } - - int getColorBits() override { -#if SK_SUPPORT_GPU - return fActualColorBits; -#else - return 24; -#endif - } - -private: - -#if SK_SUPPORT_GPU - GrContext* fCurContext; - const GrGLInterface* fCurIntf; - sk_sp<SkSurface> fGpuSurface; - int fMSAASampleCount; - bool fDeepColor; - int fActualColorBits; -#endif - - SkOSWindow::SkBackEndTypes fBackend; - - typedef SampleWindow::DeviceManager INHERITED; -}; - -/////////////// -static const char view_inval_msg[] = "view-inval-msg"; - -void SampleWindow::postInvalDelay() { - (new SkEvent(view_inval_msg, this->getSinkID()))->postDelay(1); -} - -static bool isInvalEvent(const SkEvent& evt) { - return evt.isType(view_inval_msg); -} -////////////////// - -#include "GMSampleView.h" - -class AutoUnrefArray { -public: - AutoUnrefArray() {} - ~AutoUnrefArray() { - int count = fObjs.count(); - for (int i = 0; i < count; ++i) { - fObjs[i]->unref(); - } - } - SkRefCnt*& push_back() { return *fObjs.append(); } - -private: - SkTDArray<SkRefCnt*> fObjs; -}; - -// registers GMs as Samples -// This can't be performed during static initialization because it could be -// run before GMRegistry has been fully built. -static void SkGMRegistyToSampleRegistry() { - static bool gOnce; - static AutoUnrefArray fRegisters; - - if (!gOnce) { - const skiagm::GMRegistry* gmreg = skiagm::GMRegistry::Head(); - while (gmreg) { - fRegisters.push_back() = new SkViewRegister(gmreg->factory()); - gmreg = gmreg->next(); - } - gOnce = true; - } -} - -////////////////////////////////////////////////////////////////////////////// - -enum FlipAxisEnum { - kFlipAxis_X = (1 << 0), - kFlipAxis_Y = (1 << 1) -}; - -#include "SkDrawFilter.h" - -struct HintingState { - SkPaint::Hinting hinting; - const char* name; - const char* label; -}; -static HintingState gHintingStates[] = { - {SkPaint::kNo_Hinting, "Mixed", nullptr }, - {SkPaint::kNo_Hinting, "None", "H0 " }, - {SkPaint::kSlight_Hinting, "Slight", "Hs " }, - {SkPaint::kNormal_Hinting, "Normal", "Hn " }, - {SkPaint::kFull_Hinting, "Full", "Hf " }, -}; - -struct PixelGeometryState { - SkPixelGeometry pixelGeometry; - const char* name; - const char* label; -}; -static PixelGeometryState gPixelGeometryStates[] = { - {SkPixelGeometry::kUnknown_SkPixelGeometry, "Mixed", nullptr }, - {SkPixelGeometry::kUnknown_SkPixelGeometry, "Flat", "{Flat} " }, - {SkPixelGeometry::kRGB_H_SkPixelGeometry, "RGB H", "{RGB H} " }, - {SkPixelGeometry::kBGR_H_SkPixelGeometry, "BGR H", "{BGR H} " }, - {SkPixelGeometry::kRGB_V_SkPixelGeometry, "RGB_V", "{RGB V} " }, - {SkPixelGeometry::kBGR_V_SkPixelGeometry, "BGR_V", "{BGR V} " }, -}; - -struct FilterQualityState { - SkFilterQuality fQuality; - const char* fName; - const char* fLabel; -}; -static FilterQualityState gFilterQualityStates[] = { - { kNone_SkFilterQuality, "Mixed", nullptr }, - { kNone_SkFilterQuality, "None", "F0 " }, - { kLow_SkFilterQuality, "Low", "F1 " }, - { kMedium_SkFilterQuality, "Medium", "F2 " }, - { kHigh_SkFilterQuality, "High", "F3 " }, -}; - -class FlagsFilterCanvas : public SkPaintFilterCanvas { -public: - FlagsFilterCanvas(SkCanvas* canvas, SkOSMenu::TriState lcd, SkOSMenu::TriState aa, - SkOSMenu::TriState subpixel, int hinting, int filterQuality) - : INHERITED(canvas) - , fLCDState(lcd) - , fAAState(aa) - , fSubpixelState(subpixel) - , fHintingState(hinting) - , fFilterQualityIndex(filterQuality) { - SkASSERT((unsigned)filterQuality < SK_ARRAY_COUNT(gFilterQualityStates)); - } - -protected: - bool onFilter(SkTCopyOnFirstWrite<SkPaint>* paint, Type t) const override { - if (!*paint) { - return true; - } - - if (kText_Type == t && SkOSMenu::kMixedState != fLCDState) { - paint->writable()->setLCDRenderText(SkOSMenu::kOnState == fLCDState); - } - if (SkOSMenu::kMixedState != fAAState) { - paint->writable()->setAntiAlias(SkOSMenu::kOnState == fAAState); - } - if (0 != fFilterQualityIndex) { - paint->writable()->setFilterQuality(gFilterQualityStates[fFilterQualityIndex].fQuality); - } - if (SkOSMenu::kMixedState != fSubpixelState) { - paint->writable()->setSubpixelText(SkOSMenu::kOnState == fSubpixelState); - } - if (0 != fHintingState && fHintingState < (int)SK_ARRAY_COUNT(gHintingStates)) { - paint->writable()->setHinting(gHintingStates[fHintingState].hinting); - } - return true; - } - -private: - SkOSMenu::TriState fLCDState; - SkOSMenu::TriState fAAState; - SkOSMenu::TriState fSubpixelState; - int fHintingState; - int fFilterQualityIndex; - - typedef SkPaintFilterCanvas INHERITED; -}; - -/////////////////////////////////////////////////////////////////////////////// - -class SampleTFSerializer : public SkTypefaceSerializer { -public: - sk_sp<SkData> serialize(SkTypeface* tf) override { - tf->ref(); - return SkData::MakeWithCopy(&tf, sizeof(tf)); - } -}; - -class SampleTFDeserializer : public SkTypefaceDeserializer { -public: - sk_sp<SkTypeface> deserialize(const void* data, size_t size) override { - SkASSERT(sizeof(SkTypeface*) == size); - SkTypeface* tf; - memcpy(&tf, data, size); - return sk_sp<SkTypeface>(tf); // this was ref'd in SampleTFSerializer - } -}; - -/////////////////////////////////////////////////////////////////////////////// - -enum TilingMode { - kNo_Tiling, - kAbs_128x128_Tiling, - kAbs_256x256_Tiling, - kRel_4x4_Tiling, - kRel_1x16_Tiling, - kRel_16x1_Tiling, - - kLast_TilingMode_Enum -}; - -struct TilingInfo { - const char* label; - SkScalar w, h; -}; - -static const struct TilingInfo gTilingInfo[] = { - { "No tiling", SK_Scalar1 , SK_Scalar1 }, // kNo_Tiling - { "128x128" , SkIntToScalar(128), SkIntToScalar(128) }, // kAbs_128x128_Tiling - { "256x256" , SkIntToScalar(256), SkIntToScalar(256) }, // kAbs_256x256_Tiling - { "1/4x1/4" , SK_Scalar1 / 4 , SK_Scalar1 / 4 }, // kRel_4x4_Tiling - { "1/1x1/16" , SK_Scalar1 , SK_Scalar1 / 16 }, // kRel_1x16_Tiling - { "1/16x1/1" , SK_Scalar1 / 16 , SK_Scalar1 }, // kRel_16x1_Tiling -}; -static_assert((SK_ARRAY_COUNT(gTilingInfo) == kLast_TilingMode_Enum), - "Incomplete_tiling_labels"); - -SkSize SampleWindow::tileSize() const { - SkASSERT((TilingMode)fTilingMode < kLast_TilingMode_Enum); - const struct TilingInfo* info = gTilingInfo + fTilingMode; - return SkSize::Make(info->w > SK_Scalar1 ? info->w : this->width() * info->w, - info->h > SK_Scalar1 ? info->h : this->height() * info->h); -} -////////////////////////////////////////////////////////////////////////////// - -static SkView* curr_view(SkWindow* wind) { - SkView::F2BIter iter(wind); - return iter.next(); -} - -static bool curr_title(SkWindow* wind, SkString* title) { - SkView* view = curr_view(wind); - if (view) { - SkEvent evt(gTitleEvtName); - if (view->doQuery(&evt)) { - title->set(evt.findString(gTitleEvtName)); - return true; - } - } - return false; -} - -bool SampleWindow::sendAnimatePulse() { - SkView* view = curr_view(this); - if (SampleView::IsSampleView(view)) { - return ((SampleView*)view)->animate(gAnimTimer); - } - return false; -} - -void SampleWindow::setZoomCenter(float x, float y) { - fZoomCenterX = x; - fZoomCenterY = y; -} - -bool SampleWindow::zoomIn() { - // Arbitrarily decided - if (fFatBitsScale == kMaxFatBitsScale) return false; - fFatBitsScale++; - this->inval(nullptr); - return true; -} - -bool SampleWindow::zoomOut() { - if (fFatBitsScale == 1) return false; - fFatBitsScale--; - this->inval(nullptr); - return true; -} - -void SampleWindow::updatePointer(int x, int y) { - fMouseX = x; - fMouseY = y; - if (fShowZoomer) { - this->inval(nullptr); - } -} - -static inline SampleWindow::DeviceType cycle_devicetype(SampleWindow::DeviceType ct) { - static const SampleWindow::DeviceType gCT[] = { - SampleWindow::kRaster_DeviceType -#if SK_SUPPORT_GPU - , SampleWindow::kGPU_DeviceType -#if SK_ANGLE - , SampleWindow::kANGLE_DeviceType -#endif // SK_ANGLE -#endif // SK_SUPPORT_GPU - }; - static_assert(SK_ARRAY_COUNT(gCT) == SampleWindow::kDeviceTypeCnt, "array_size_mismatch"); - return gCT[ct]; -} - -static SkString getSampleTitle(const SkViewFactory* sampleFactory) { - SkView* view = (*sampleFactory)(); - SkString title; - SampleCode::RequestTitle(view, &title); - view->unref(); - return title; -} - -static bool compareSampleTitle(const SkViewFactory* first, const SkViewFactory* second) { - return strcmp(getSampleTitle(first).c_str(), getSampleTitle(second).c_str()) < 0; -} - -static int find_by_title(const SkViewFactory* const* factories, int count, const char title[]) { - for (int i = 0; i < count; i++) { - if (getSampleTitle(factories[i]).equals(title)) { - return i; - } - } - return -1; -} - -static void restrict_samples(SkTDArray<const SkViewFactory*>& factories, const SkString titles[], - int count) { - int newCount = 0; - for (int i = 0; i < count; ++i) { - int index = find_by_title(factories.begin(), factories.count(), titles[i].c_str()); - if (index >= 0) { - SkTSwap(factories.begin()[newCount], factories.begin()[index]); - newCount += 1; - } - } - if (newCount) { - factories.setCount(newCount); - } -} - -DEFINE_string(slide, "", "Start on this sample."); -DEFINE_string(pictureDir, "", "Read pictures from here."); -DEFINE_string(picture, "", "Path to single picture."); -DEFINE_string(pathfinder, "", "SKP file with a single path to isolate."); -DEFINE_string(svg, "", "Path to single SVG file."); -DEFINE_string(svgDir, "", "Read SVGs from here."); -DEFINE_string(sequence, "", "Path to file containing the desired samples/gms to show."); -DEFINE_bool(sort, false, "Sort samples by title."); -DEFINE_bool(list, false, "List samples?"); -DEFINE_bool(startgpu, false, "Start up with gpu?"); -DEFINE_bool(redraw, false, "Force continuous redrawing, for profiling or debugging tools."); -#ifdef SAMPLE_PDF_FILE_VIEWER -DEFINE_string(pdfPath, "", "Path to direcotry of pdf files."); -#endif -#if SK_SUPPORT_GPU -DEFINE_pathrenderer_flag; -DEFINE_int32(msaa, 0, "Request multisampling with this count."); -DEFINE_bool(deepColor, false, "Request deep color (10-bit/channel or more) display buffer."); -#endif -DEFINE_int32(backendTiles, 0, "Number of tiles in the experimental threaded backend."); -DEFINE_int32(backendThreads, 0, "Number of threads in the experimental threaded backend."); -DEFINE_int32(measureMS, 0, "Number of miliseconds to measure the FPS before closing the SampleApp. " - "If it's 0, we won't measure the FPS or close SampleApp automatically."); -DEFINE_int32(width, 1024, "Width of the window"); -DEFINE_int32(height, 768, "Height of the window"); -DEFINE_string(keys, "", "List of chars to automate keystrokes for on startup."); - -#include "SkTaskGroup.h" - -SampleWindow::SampleWindow(void* hwnd, int argc, char** argv, DeviceManager* devManager) - : INHERITED(hwnd, FLAGS_width, FLAGS_height) - , fDevManager(nullptr) { - - fCurrIndex = -1; - - if (!FLAGS_pictureDir.isEmpty()) { - SkOSFile::Iter iter(FLAGS_pictureDir[0], "skp"); - SkString filename; - while (iter.next(&filename)) { - *fSamples.append() = new PictFileFactory( - SkOSPath::Join(FLAGS_pictureDir[0], filename.c_str())); - } - } - if (!FLAGS_picture.isEmpty()) { - SkString path(FLAGS_picture[0]); - fCurrIndex = fSamples.count(); - *fSamples.append() = new PictFileFactory(path); - } - if (!FLAGS_pathfinder.isEmpty()) { - SkString path(FLAGS_pathfinder[0]); - fCurrIndex = fSamples.count(); - *fSamples.append() = new PathFinderFactory(path); - } - if (!FLAGS_svg.isEmpty()) { - SkString path(FLAGS_svg[0]); - fCurrIndex = fSamples.count(); - *fSamples.append() = new SVGFileFactory(path); - } - if (!FLAGS_svgDir.isEmpty()) { - SkOSFile::Iter iter(FLAGS_svgDir[0], "svg"); - SkString filename; - while (iter.next(&filename)) { - *fSamples.append() = new SVGFileFactory( - SkOSPath::Join(FLAGS_svgDir[0], filename.c_str())); - } - } -#ifdef SAMPLE_PDF_FILE_VIEWER - if (!FLAGS_pdfPath.isEmpty()) { - SkOSFile::Iter iter(FLAGS_pdfPath[0], "pdf"); - SkString filename; - while (iter.next(&filename)) { - *fSamples.append() = new PdfFileViewerFactory( - SkOSPath::Join(FLAGS_pictureDir[0], filename.c_str())); - } - } -#endif - SkGMRegistyToSampleRegistry(); - { - const SkViewRegister* reg = SkViewRegister::Head(); - while (reg) { - *fSamples.append() = reg->factory(); - reg = reg->next(); - } - } - - if (!FLAGS_sequence.isEmpty()) { - // The sequence file just contains a list (separated by CRs) of the samples or GM:gms - // you want to restrict to. Only these will appear when you cycle through. - // If none are found, or the file is empty, then it will be ignored, and all samples - // will be available. - SkFILEStream stream(FLAGS_sequence[0]); - if (stream.isValid()) { - size_t len = stream.getLength(); - SkAutoTMalloc<char> storage(len + 1); - char* buffer = storage.get(); - stream.read(buffer, len); - buffer[len] = 0; - - SkTArray<SkString> titles; - SkStrSplit(buffer, "\n\r", &titles); - restrict_samples(fSamples, titles.begin(), titles.count()); - } - } - - if (FLAGS_sort) { - // Sort samples, so foo.skp and foo.pdf are consecutive and we can quickly spot where - // skp -> pdf -> png fails. - SkTQSort(fSamples.begin(), fSamples.end() ? fSamples.end() - 1 : nullptr, compareSampleTitle); - } - - if (!FLAGS_slide.isEmpty()) { - fCurrIndex = findByTitle(FLAGS_slide[0]); - if (fCurrIndex < 0) { - fprintf(stderr, "Unknown sample \"%s\"\n", FLAGS_slide[0]); - listTitles(); - } - } - -#if SK_SUPPORT_GPU - fBackendOptions.fGrContextOptions.fGpuPathRenderers = CollectGpuPathRenderersFromFlags(); - fBackendOptions.fGrContextOptions.fAllowPathMaskCaching = FLAGS_cachePathMasks; - fBackendOptions.fMSAASampleCount = FLAGS_msaa; - fBackendOptions.fDeepColor = FLAGS_deepColor; -#endif - fColorConfigIndex = 0; - - if (FLAGS_list) { - listTitles(); - } - - if (fCurrIndex < 0) { - SkString title; - if (readTitleFromPrefs(&title)) { - fCurrIndex = findByTitle(title.c_str()); - } - } - - if (fCurrIndex < 0) { - fCurrIndex = 0; - } - - static SkTaskGroup::Enabler enabled(-1); - gSampleWindow = this; - - fDeviceType = kRaster_DeviceType; -#if SK_SUPPORT_GPU - if (FLAGS_startgpu) { - fDeviceType = kGPU_DeviceType; - } -#endif - -#if DEFAULT_TO_GPU - fDeviceType = kGPU_DeviceType; -#endif -#if SK_ANGLE && DEFAULT_TO_ANGLE - fDeviceType = kANGLE_DeviceType; -#endif - - fUseClip = false; - fUsePicture = false; - fAnimating = false; - fRotate = false; - fPerspAnim = false; - fRequestGrabImage = false; - fTilingMode = kNo_Tiling; - fMeasureFPS = false; - fUseDeferredCanvas = false; - fLCDState = SkOSMenu::kMixedState; - fAAState = SkOSMenu::kMixedState; - fSubpixelState = SkOSMenu::kMixedState; - fHintingState = 0; - fPixelGeometryIndex = 0; - fFilterQualityIndex = 0; - fFlipAxis = 0; - - fMouseX = fMouseY = 0; - fFatBitsScale = 8; - fTypeface = SkTypeface::MakeFromName("Courier", SkFontStyle(SkFontStyle::kBold_Weight, - SkFontStyle::kNormal_Width, - SkFontStyle::kUpright_Slant)); - fShowZoomer = false; - - fZoomLevel = 0; - fZoomScale = SK_Scalar1; - fOffset = { 0, 0 }; - - fMagnify = false; - - fSaveToPdf = false; - fSaveToSKP = false; - - gSkUseAnalyticAA = FLAGS_analyticAA; - gSkUseDeltaAA = FLAGS_deltaAA; - if (FLAGS_forceAnalyticAA) { - gSkForceAnalyticAA = true; - } - if (FLAGS_forceDeltaAA) { - gSkForceDeltaAA = true; - } - fTiles = FLAGS_backendTiles; - fThreads = FLAGS_backendThreads; - fMeasureMS = FLAGS_measureMS; - if (FLAGS_measureMS > 0) { - SkASSERT(fMeasureFPS == false); - toggleFPS(); - } - - if (true) { - fPipeSerializer.setTypefaceSerializer(new SampleTFSerializer); - fPipeDeserializer.setTypefaceDeserializer(new SampleTFDeserializer); - } - - int sinkID = this->getSinkID(); - fAppMenu = new SkOSMenu; - fAppMenu->setTitle("Global Settings"); - int itemID; - - itemID = fAppMenu->appendList("ColorType", "ColorType", sinkID, 0, - gConfig[0].fName, - gConfig[1].fName, - gConfig[2].fName, - gConfig[3].fName, - gConfig[4].fName, - nullptr); - fAppMenu->assignKeyEquivalentToItem(itemID, 'C'); - - itemID = fAppMenu->appendList("Device Type", "Device Type", sinkID, 0, - "Raster", - "OpenGL", -#if SK_ANGLE - "ANGLE", -#endif - nullptr); - fAppMenu->assignKeyEquivalentToItem(itemID, 'd'); - itemID = fAppMenu->appendTriState("AA", "AA", sinkID, fAAState); - fAppMenu->assignKeyEquivalentToItem(itemID, 'b'); - itemID = fAppMenu->appendTriState("LCD", "LCD", sinkID, fLCDState); - fAppMenu->assignKeyEquivalentToItem(itemID, 'l'); - itemID = fAppMenu->appendList("FilterQuality", "FilterQuality", sinkID, fFilterQualityIndex, - gFilterQualityStates[0].fName, - gFilterQualityStates[1].fName, - gFilterQualityStates[2].fName, - gFilterQualityStates[3].fName, - gFilterQualityStates[4].fName, - nullptr); - fAppMenu->assignKeyEquivalentToItem(itemID, 'n'); - itemID = fAppMenu->appendTriState("Subpixel", "Subpixel", sinkID, fSubpixelState); - fAppMenu->assignKeyEquivalentToItem(itemID, 's'); - itemID = fAppMenu->appendList("Hinting", "Hinting", sinkID, fHintingState, - gHintingStates[0].name, - gHintingStates[1].name, - gHintingStates[2].name, - gHintingStates[3].name, - gHintingStates[4].name, - nullptr); - fAppMenu->assignKeyEquivalentToItem(itemID, 'h'); - - itemID = fAppMenu->appendList("Pixel Geometry", "Pixel Geometry", sinkID, fPixelGeometryIndex, - gPixelGeometryStates[0].name, - gPixelGeometryStates[1].name, - gPixelGeometryStates[2].name, - gPixelGeometryStates[3].name, - gPixelGeometryStates[4].name, - gPixelGeometryStates[5].name, - nullptr); - fAppMenu->assignKeyEquivalentToItem(itemID, 'P'); - - itemID =fAppMenu->appendList("Tiling", "Tiling", sinkID, fTilingMode, - gTilingInfo[kNo_Tiling].label, - gTilingInfo[kAbs_128x128_Tiling].label, - gTilingInfo[kAbs_256x256_Tiling].label, - gTilingInfo[kRel_4x4_Tiling].label, - gTilingInfo[kRel_1x16_Tiling].label, - gTilingInfo[kRel_16x1_Tiling].label, - nullptr); - fAppMenu->assignKeyEquivalentToItem(itemID, 't'); - - itemID = fAppMenu->appendSwitch("Slide Show", "Slide Show" , sinkID, false); - fAppMenu->assignKeyEquivalentToItem(itemID, 'a'); - itemID = fAppMenu->appendSwitch("Clip", "Clip" , sinkID, fUseClip); - fAppMenu->assignKeyEquivalentToItem(itemID, 'c'); - itemID = fAppMenu->appendSwitch("Flip X", "Flip X" , sinkID, false); - fAppMenu->assignKeyEquivalentToItem(itemID, 'x'); - itemID = fAppMenu->appendSwitch("Flip Y", "Flip Y" , sinkID, false); - fAppMenu->assignKeyEquivalentToItem(itemID, 'y'); - itemID = fAppMenu->appendSwitch("Zoomer", "Zoomer" , sinkID, fShowZoomer); - fAppMenu->assignKeyEquivalentToItem(itemID, 'z'); - itemID = fAppMenu->appendSwitch("Magnify", "Magnify" , sinkID, fMagnify); - fAppMenu->assignKeyEquivalentToItem(itemID, 'm'); - - itemID = fAppMenu->appendAction("Save to PDF", sinkID); - fAppMenu->assignKeyEquivalentToItem(itemID, 'e'); - - this->addMenu(fAppMenu); - fSlideMenu = new SkOSMenu; - this->addMenu(fSlideMenu); - - this->setVisibleP(true); - this->setClipToBounds(false); - - this->loadView((*fSamples[fCurrIndex])()); - - if (nullptr == devManager) { - fDevManager = new DefaultDeviceManager(); - } else { - devManager->ref(); - fDevManager = devManager; - } - fDevManager->setUpBackend(this, fBackendOptions); - - // If another constructor set our dimensions, ensure that our - // onSizeChange gets called. - if (this->height() && this->width()) { - this->onSizeChange(); - } - - // can't call this synchronously, since it may require a subclass to - // to implement, or the caller may need us to have returned from the - // constructor first. Hence we post an event to ourselves. -// this->updateTitle(); - post_event_to_sink(new SkEvent(gUpdateWindowTitleEvtName), this); - - gAnimTimer.run(); -} - -SampleWindow::~SampleWindow() { - SkSafeUnref(fDevManager); -} - - -int SampleWindow::findByTitle(const char title[]) { - int i, count = fSamples.count(); - for (i = 0; i < count; i++) { - if (getSampleTitle(i).equals(title)) { - return i; - } - } - return -1; -} - -void SampleWindow::listTitles() { - int count = fSamples.count(); - SkDebugf("All Slides:\n"); - for (int i = 0; i < count; i++) { - SkDebugf(" %s\n", getSampleTitle(i).c_str()); - } -} - -static SkBitmap capture_bitmap(SkCanvas* canvas) { - SkBitmap bm; - if (bm.tryAllocPixels(canvas->imageInfo())) { - canvas->readPixels(bm, 0, 0); - } - return bm; -} - -static void drawText(SkCanvas* canvas, SkString str, SkScalar left, SkScalar top, SkPaint& paint) { - SkColor desiredColor = paint.getColor(); - paint.setColor(SK_ColorWHITE); - const char* c_str = str.c_str(); - size_t size = str.size(); - SkRect bounds; - paint.measureText(c_str, size, &bounds); - bounds.offset(left, top); - SkScalar inset = SkIntToScalar(-2); - bounds.inset(inset, inset); - canvas->drawRect(bounds, paint); - paint.setColor(desiredColor); - canvas->drawText(c_str, size, left, top, paint); -} - -#define XCLIP_N 8 -#define YCLIP_N 8 - -#include "SkDeferredCanvas.h" -#include "SkDumpCanvas.h" - -void SampleWindow::draw(SkCanvas* canvas) { - std::unique_ptr<SkThreadedBMPDevice> tDev; - std::unique_ptr<SkCanvas> tCanvas; - if (fTiles > 0 && fDeviceType == kRaster_DeviceType) { - // Temporary hack: let the device create/destroy the thread pool between each frame somehow - // makes it faster when we draw the same path 100 times when fMeasureFPS is true. - SkExecutor* executor = fMeasureFPS ? nullptr : fExecutor.get(); - tDev.reset(new SkThreadedBMPDevice(this->getBitmap(), fTiles, fThreads, executor)); - tCanvas.reset(new SkCanvas(tDev.get())); - canvas = tCanvas.get(); - } - - gAnimTimer.updateTime(); - - if (fGesture.isActive()) { - this->updateMatrix(); - } - - if (fMeasureFPS) { - fMeasureFPS_Time = 0; - } - - SkSize tile = this->tileSize(); - - if (kNo_Tiling == fTilingMode) { - SkDebugfDumper dumper; - SkDumpCanvas dump(&dumper); - SkDeferredCanvas deferred(canvas, SkDeferredCanvas::kEager); - SkCanvas* c = fUseDeferredCanvas ? &deferred : canvas; - this->INHERITED::draw(c); // no looping or surfaces needed - } else { - const SkScalar w = SkScalarCeilToScalar(tile.width()); - const SkScalar h = SkScalarCeilToScalar(tile.height()); - SkImageInfo info = SkImageInfo::MakeN32Premul(SkScalarTruncToInt(w), SkScalarTruncToInt(h)); - auto surface(canvas->makeSurface(info)); - SkCanvas* tileCanvas = surface->getCanvas(); - - for (SkScalar y = 0; y < height(); y += h) { - for (SkScalar x = 0; x < width(); x += w) { - SkAutoCanvasRestore acr(tileCanvas, true); - tileCanvas->translate(-x, -y); - tileCanvas->clear(0); - this->INHERITED::draw(tileCanvas); - surface->draw(canvas, x, y, nullptr); - } - } - - // for drawing the borders between tiles - SkPaint paint; - paint.setColor(0x60FF00FF); - paint.setStyle(SkPaint::kStroke_Style); - - for (SkScalar y = 0; y < height(); y += tile.height()) { - for (SkScalar x = 0; x < width(); x += tile.width()) { - canvas->drawRect(SkRect::MakeXYWH(x, y, tile.width(), tile.height()), paint); - } - } - } - - if (fShowZoomer && !fSaveToPdf) { - showZoomer(canvas); - } - if (fMagnify && !fSaveToPdf) { - magnify(canvas); - } - - if (fMeasureFPS && fMeasureFPS_Time) { - this->updateTitle(); - this->postInvalDelay(); - } - - if (this->sendAnimatePulse() || FLAGS_redraw) { - this->inval(nullptr); - } - - canvas->flush(); - - // do this last - fDevManager->publishCanvas(fDeviceType, canvas, this); -} - -static float clipW = 200; -static float clipH = 200; -void SampleWindow::magnify(SkCanvas* canvas) { - SkRect r; - int count = canvas->save(); - - SkMatrix m = canvas->getTotalMatrix(); - if (!m.invert(&m)) { - return; - } - SkPoint offset, center; - SkScalar mouseX = fMouseX * SK_Scalar1; - SkScalar mouseY = fMouseY * SK_Scalar1; - m.mapXY(mouseX - clipW/2, mouseY - clipH/2, &offset); - m.mapXY(mouseX, mouseY, ¢er); - - r.set(0, 0, clipW * m.getScaleX(), clipH * m.getScaleX()); - r.offset(offset.fX, offset.fY); - - SkPaint paint; - paint.setColor(0xFF66AAEE); - paint.setStyle(SkPaint::kStroke_Style); - paint.setStrokeWidth(10.f * m.getScaleX()); - //lense offset - //canvas->translate(0, -250); - canvas->drawRect(r, paint); - canvas->clipRect(r); - - m = canvas->getTotalMatrix(); - m.setTranslate(-center.fX, -center.fY); - m.postScale(0.5f * fFatBitsScale, 0.5f * fFatBitsScale); - m.postTranslate(center.fX, center.fY); - canvas->concat(m); - - this->INHERITED::draw(canvas); - - canvas->restoreToCount(count); -} - -static SkPaint& set_color_ref(SkPaint& paint, SkColor c) { - paint.setColor(c); - return paint; -} - -static void show_lcd_box(SkCanvas* canvas, SkScalar x, SkScalar y, SkColor c, - SkScalar sx, SkScalar sy) { - const SkScalar w = (1 - 1/sx) / 3; - SkPaint paint; - SkRect r = SkRect::MakeXYWH(x, y, w, 1 - 1/sy); - canvas->drawRect(r, set_color_ref(paint, SkColorSetRGB(SkColorGetR(c), 0, 0))); - r.offset(w, 0); - canvas->drawRect(r, set_color_ref(paint, SkColorSetRGB(0, SkColorGetG(c), 0))); - r.offset(w, 0); - canvas->drawRect(r, set_color_ref(paint, SkColorSetRGB(0, 0, SkColorGetB(c)))); -} - -static void show_lcd_circle(SkCanvas* canvas, SkScalar x, SkScalar y, SkColor c, - SkScalar, SkScalar) { - const SkRect r = SkRect::MakeXYWH(x, y, 1, 1); - const SkScalar cx = x + 0.5f; - const SkScalar cy = y + 0.5f; - - SkPaint paint; - paint.setAntiAlias(true); - - SkPath path; - path.addArc(r, 0, 120); path.lineTo(cx, cy); - canvas->drawPath(path, set_color_ref(paint, SkColorSetRGB(SkColorGetR(c), 0, 0))); - - path.reset(); path.addArc(r, 120, 120); path.lineTo(cx, cy); - canvas->drawPath(path, set_color_ref(paint, SkColorSetRGB(0, SkColorGetG(c), 0))); - - path.reset(); path.addArc(r, 240, 120); path.lineTo(cx, cy); - canvas->drawPath(path, set_color_ref(paint, SkColorSetRGB(0, 0, SkColorGetB(c)))); -} - -typedef void (*ShowLCDProc)(SkCanvas*, SkScalar, SkScalar, SkColor, SkScalar, SkScalar); - -/* - * Like drawBitmapRect but we manually draw each pixels in RGB - */ -static void show_lcd_grid(SkCanvas* canvas, const SkBitmap& bitmap, - const SkIRect& origSrc, const SkRect& dst, ShowLCDProc proc) { - SkIRect src; - if (!src.intersect(origSrc, bitmap.bounds())) { - return; - } - const SkScalar sx = dst.width() / src.width(); - const SkScalar sy = dst.height() / src.height(); - - SkAutoCanvasRestore acr(canvas, true); - canvas->translate(dst.left(), dst.top()); - canvas->scale(sx, sy); - - for (int y = 0; y < src.height(); ++y) { - for (int x = 0; x < src.width(); ++x) { - proc(canvas, SkIntToScalar(x), SkIntToScalar(y), - bitmap.getColor(src.left() + x, src.top() + y), sx, sy); - } - } -} - -void SampleWindow::showZoomer(SkCanvas* canvas) { - int count = canvas->save(); - canvas->resetMatrix(); - // Ensure the mouse position is on screen. - int width = SkScalarRoundToInt(this->width()); - int height = SkScalarRoundToInt(this->height()); - if (fMouseX >= width) fMouseX = width - 1; - else if (fMouseX < 0) fMouseX = 0; - if (fMouseY >= height) fMouseY = height - 1; - else if (fMouseY < 0) fMouseY = 0; - - SkBitmap bitmap = capture_bitmap(canvas); - - // Find the size of the zoomed in view, forced to be odd, so the examined pixel is in the middle. - int zoomedWidth = (width >> 1) | 1; - int zoomedHeight = (height >> 1) | 1; - SkIRect src; - src.set(0, 0, zoomedWidth / fFatBitsScale, zoomedHeight / fFatBitsScale); - src.offset(fMouseX - (src.width()>>1), fMouseY - (src.height()>>1)); - SkRect dest; - dest.set(0, 0, SkIntToScalar(zoomedWidth), SkIntToScalar(zoomedHeight)); - dest.offset(SkIntToScalar(width - zoomedWidth), SkIntToScalar(height - zoomedHeight)); - SkPaint paint; - // Clear the background behind our zoomed in view - paint.setColor(SK_ColorWHITE); - canvas->drawRect(dest, paint); - switch (fFatBitsScale) { - case kMaxFatBitsScale: - show_lcd_grid(canvas, bitmap, src, dest, show_lcd_box); - break; - case kMaxFatBitsScale - 1: - show_lcd_grid(canvas, bitmap, src, dest, show_lcd_circle); - break; - default: - canvas->drawBitmapRect(bitmap, src, dest, nullptr); - break; - } - - paint.setColor(SK_ColorBLACK); - paint.setStyle(SkPaint::kStroke_Style); - // Draw a border around the pixel in the middle - SkRect originalPixel; - originalPixel.set(SkIntToScalar(fMouseX), SkIntToScalar(fMouseY), SkIntToScalar(fMouseX + 1), SkIntToScalar(fMouseY + 1)); - SkMatrix matrix; - SkRect scalarSrc; - scalarSrc.set(src); - SkColor color = bitmap.getColor(fMouseX, fMouseY); - if (matrix.setRectToRect(scalarSrc, dest, SkMatrix::kFill_ScaleToFit)) { - SkRect pixel; - matrix.mapRect(&pixel, originalPixel); - // TODO Perhaps measure the values and make the outline white if it's "dark" - if (color == SK_ColorBLACK) { - paint.setColor(SK_ColorWHITE); - } - canvas->drawRect(pixel, paint); - } - paint.setColor(SK_ColorBLACK); - // Draw a border around the destination rectangle - canvas->drawRect(dest, paint); - paint.setStyle(SkPaint::kStrokeAndFill_Style); - // Identify the pixel and its color on screen - paint.setTypeface(fTypeface); - paint.setAntiAlias(true); - paint.setTextSize(18); - SkScalar lineHeight = paint.getFontMetrics(nullptr); - SkString string; - string.appendf("(%i, %i)", fMouseX, fMouseY); - SkScalar left = dest.fLeft + SkIntToScalar(3); - SkScalar i = SK_Scalar1; - drawText(canvas, string, left, lineHeight * i + dest.fTop, paint); - // Alpha - i += SK_Scalar1; - string.reset(); - string.appendf("A: %X", SkColorGetA(color)); - drawText(canvas, string, left, lineHeight * i + dest.fTop, paint); - // Red - i += SK_Scalar1; - string.reset(); - string.appendf("R: %X", SkColorGetR(color)); - paint.setColor(SK_ColorRED); - drawText(canvas, string, left, lineHeight * i + dest.fTop, paint); - // Green - i += SK_Scalar1; - string.reset(); - string.appendf("G: %X", SkColorGetG(color)); - paint.setColor(0xFF008800); - drawText(canvas, string, left, lineHeight * i + dest.fTop, paint); - // Blue - i += SK_Scalar1; - string.reset(); - string.appendf("B: %X", SkColorGetB(color)); - paint.setColor(SK_ColorBLUE); - drawText(canvas, string, left, lineHeight * i + dest.fTop, paint); - canvas->restoreToCount(count); -} - -void SampleWindow::onDraw(SkCanvas* canvas) { -} - -#include "SkColorPriv.h" - -void SampleWindow::saveToPdf() -{ - fSaveToPdf = true; - this->inval(nullptr); -} - -SkCanvas* SampleWindow::beforeChildren(SkCanvas* canvas) { - if (fSaveToPdf) { - SkString name; - if (!this->getRawTitle(&name)) { - name.set("unknown_sample"); - } - name.append(".pdf"); -#ifdef SK_BUILD_FOR_ANDROID - name.prepend("/sdcard/"); -#endif - fPDFDocument = SkDocument::MakePDF(name.c_str()); - canvas = fPDFDocument->beginPage(this->width(), this->height()); - } else if (fSaveToSKP) { - canvas = fRecorder.beginRecording(9999, 9999, nullptr, 0); - } else if (fUsePicture) { - if (PICTURE_MEANS_PIPE) { - fPipeStream.reset(new SkDynamicMemoryWStream); - canvas = fPipeSerializer.beginWrite(SkRect::MakeWH(this->width(), this->height()), - fPipeStream.get()); - } else { - canvas = fRecorder.beginRecording(9999, 9999, nullptr, 0); - } - } else { - canvas = this->INHERITED::beforeChildren(canvas); - } - - if (fUseClip) { - canvas->drawColor(0xFFFF88FF); - canvas->clipPath(fClipPath, kIntersect_SkClipOp, true); - } - - // Install a flags filter proxy canvas if needed - if (fLCDState != SkOSMenu::kMixedState || - fAAState != SkOSMenu::kMixedState || - fSubpixelState != SkOSMenu::kMixedState || - fHintingState > 0 || - fFilterQualityIndex > 0) { - canvas = new FlagsFilterCanvas(canvas, fLCDState, fAAState, fSubpixelState, fHintingState, - fFilterQualityIndex); - fFlagsFilterCanvas.reset(canvas); - } - - return canvas; -} -#include "SkMultiPictureDraw.h" -void SampleWindow::afterChildren(SkCanvas* orig) { - fFlagsFilterCanvas.reset(nullptr); - - if (fSaveToPdf) { - fSaveToPdf = false; - fPDFDocument->endPage(); - fPDFDocument.reset(nullptr); - // We took over the draw calls in order to create the PDF, so we need - // to redraw. - this->inval(nullptr); - return; - } - - if (fRequestGrabImage) { - fRequestGrabImage = false; - - SkBitmap bmp = capture_bitmap(orig); - if (!bmp.isNull()) { - static int gSampleGrabCounter; - SkString name; - name.printf("sample_grab_%d.png", gSampleGrabCounter++); - sk_tool_utils::EncodeImageToFile(name.c_str(), bmp, - SkEncodedImageFormat::kPNG, 100); - } - this->inval(nullptr); - return; - } - - if (fSaveToSKP) { - sk_sp<SkPicture> picture(fRecorder.finishRecordingAsPicture()); - SkFILEWStream stream("sample_app.skp"); - picture->serialize(&stream); - fSaveToSKP = false; - this->inval(nullptr); - return; - } - - if (fUsePicture) { - if (PICTURE_MEANS_PIPE) { - fPipeSerializer.endWrite(); - sk_sp<SkData> data(fPipeStream->detachAsData()); - fPipeDeserializer.playback(data->data(), data->size(), orig); - fPipeStream.reset(); - } else { - sk_sp<SkPicture> picture(fRecorder.finishRecordingAsPicture()); - if (SERIALIZE_PICTURE) { - auto data = picture->serialize(); - picture = SkPicture::MakeFromData(data.get(), nullptr); - } - orig->drawPicture(picture.get()); - } - } - - // Do this after presentGL and other finishing, rather than in afterChild - if (fMeasureFPS) { - orig->flush(); - fTimer.end(); - fMeasureFPS_Time += fTimer.fWall; - fCumulativeFPS_Time += fTimer.fWall; - fCumulativeFPS_Count += FPS_REPEAT_COUNT; - } -} - -void SampleWindow::beforeChild(SkView* child, SkCanvas* canvas) { - if (fRotate) { - SkScalar cx = this->width() / 2; - SkScalar cy = this->height() / 2; - canvas->rotate(gAnimTimer.scaled(10), cx, cy); - } - - if (fPerspAnim) { - SkScalar secs = gAnimTimer.scaled(1); - - static const SkScalar gAnimPeriod = 10 * SK_Scalar1; - static const SkScalar gAnimMag = SK_Scalar1 / 1000; - SkScalar t = SkScalarMod(secs, gAnimPeriod); - if (SkScalarFloorToInt(secs / gAnimPeriod) & 0x1) { - t = gAnimPeriod - t; - } - t = 2 * t - gAnimPeriod; - t *= gAnimMag / gAnimPeriod; - SkMatrix m; - m.reset(); -#if 1 - m.setPerspY(t); -#else - m.setPerspY(SK_Scalar1 / 1000); - m.setSkewX(8.0f / 25); - m.dump(); -#endif - canvas->concat(m); - } - - if (fMeasureFPS) { - (void)SampleView::SetRepeatDraw(child, FPS_REPEAT_COUNT); - fTimer.start(); - } else { - (void)SampleView::SetRepeatDraw(child, 1); - } - if (fPerspAnim || fRotate) { - this->inval(nullptr); - } -} - -void SampleWindow::changeOffset(SkVector delta) { - fOffset += delta; - this->updateMatrix(); -} - -void SampleWindow::changeZoomLevel(float delta) { - fZoomLevel += delta; - if (fZoomLevel > 0) { - fZoomLevel = SkMinScalar(fZoomLevel, MAX_ZOOM_LEVEL); - fZoomScale = fZoomLevel + SK_Scalar1; - } else if (fZoomLevel < 0) { - fZoomLevel = SkMaxScalar(fZoomLevel, MIN_ZOOM_LEVEL); - fZoomScale = SK_Scalar1 / (SK_Scalar1 - fZoomLevel); - } else { - fZoomScale = SK_Scalar1; - } - this->updateMatrix(); -} - -void SampleWindow::updateMatrix(){ - SkMatrix m; - m.reset(); - - if (fZoomLevel) { - SkPoint center; - //m = this->getLocalMatrix();//.invert(&m); - m.mapXY(fZoomCenterX, fZoomCenterY, ¢er); - SkScalar cx = center.fX; - SkScalar cy = center.fY; - - m.setTranslate(-cx, -cy); - m.postScale(fZoomScale, fZoomScale); - m.postTranslate(cx, cy); - } - - m.postTranslate(fOffset.fX, fOffset.fY); - - if (fFlipAxis) { - m.preTranslate(fZoomCenterX, fZoomCenterY); - if (fFlipAxis & kFlipAxis_X) { - m.preScale(-SK_Scalar1, SK_Scalar1); - } - if (fFlipAxis & kFlipAxis_Y) { - m.preScale(SK_Scalar1, -SK_Scalar1); - } - m.preTranslate(-fZoomCenterX, -fZoomCenterY); - //canvas->concat(m); - } - // Apply any gesture matrix - m.preConcat(fGesture.localM()); - m.preConcat(fGesture.globalM()); - - this->setLocalMatrix(m); - - this->updateTitle(); - this->inval(nullptr); -} -bool SampleWindow::previousSample() { - this->resetFPS(); - fCurrIndex = (fCurrIndex - 1 + fSamples.count()) % fSamples.count(); - this->loadView((*fSamples[fCurrIndex])()); - return true; -} - -#include "SkResourceCache.h" -#include "SkGlyphCache.h" -bool SampleWindow::nextSample() { - this->resetFPS(); - fCurrIndex = (fCurrIndex + 1) % fSamples.count(); - this->loadView((*fSamples[fCurrIndex])()); - - if (false) { - SkResourceCache::TestDumpMemoryStatistics(); - SkGlyphCache::Dump(); - SkDebugf("\n"); - } - - return true; -} - -bool SampleWindow::goToSample(int i) { - this->resetFPS(); - fCurrIndex = (i) % fSamples.count(); - this->loadView((*fSamples[fCurrIndex])()); - return true; -} - -SkString SampleWindow::getSampleTitle(int i) { - return ::getSampleTitle(fSamples[i]); -} - -int SampleWindow::sampleCount() { - return fSamples.count(); -} - -void SampleWindow::showOverview() { - this->loadView(create_overview(fSamples.count(), fSamples.begin())); -} - -void SampleWindow::postAnimatingEvent() { - if (fAnimating) { - (new SkEvent(ANIMATING_EVENTTYPE, this->getSinkID()))->postDelay(ANIMATING_DELAY); - } -} - -static sk_sp<SkColorSpace> getMonitorColorSpace() { -#if defined(SK_BUILD_FOR_MAC) - CGColorSpaceRef cs = CGDisplayCopyColorSpace(CGMainDisplayID()); - CFDataRef dataRef = CGColorSpaceCopyICCProfile(cs); - const uint8_t* data = CFDataGetBytePtr(dataRef); - size_t size = CFDataGetLength(dataRef); - - sk_sp<SkColorSpace> colorSpace = SkColorSpace::MakeICC(data, size); - - CFRelease(cs); - CFRelease(dataRef); - return colorSpace; -#elif defined(SK_BUILD_FOR_WIN) - DISPLAY_DEVICE dd = { sizeof(DISPLAY_DEVICE) }; - - // Chrome's code for this currently just gets the primary monitor's profile. This code iterates - // over all attached monitors, so it's "better" in that sense. Making intelligent use of this - // information (via things like MonitorFromWindow or MonitorFromRect to pick the correct - // profile for a particular window or region of a window), is an exercise left to the reader. - for (int i = 0; EnumDisplayDevices(NULL, i, &dd, 0); ++i) { - if (dd.StateFlags & DISPLAY_DEVICE_ATTACHED_TO_DESKTOP) { - // There are other helpful things in dd at this point: - // dd.DeviceString has a longer name for the adapter - // dd.StateFlags indicates primary display, mirroring, etc... - HDC dc = CreateDC(NULL, dd.DeviceName, NULL, NULL); - if (dc) { - char icmPath[MAX_PATH + 1]; - DWORD pathLength = MAX_PATH; - BOOL success = GetICMProfileA(dc, &pathLength, icmPath); - DeleteDC(dc); - if (success) { - sk_sp<SkData> iccData = SkData::MakeFromFileName(icmPath); - return SkColorSpace::MakeICC(iccData->data(), iccData->size()); - } - } - } - } - - return nullptr; -#else - return nullptr; -#endif -} - -bool SampleWindow::onEvent(const SkEvent& evt) { - if (evt.isType(gUpdateWindowTitleEvtName)) { - this->updateTitle(); - return true; - } - if (evt.isType(ANIMATING_EVENTTYPE)) { - if (fAnimating) { - this->nextSample(); - this->postAnimatingEvent(); - } - return true; - } - if (evt.isType("set-curr-index")) { - this->goToSample(evt.getFast32()); - return true; - } - if (isInvalEvent(evt)) { - this->inval(nullptr); - return true; - } - int selected = -1; - if (SkOSMenu::FindListIndex(evt, "Device Type", &selected)) { - this->setDeviceType((DeviceType)selected); - return true; - } - if (SkOSMenu::FindListIndex(evt, "ColorType", &selected)) { - fColorConfigIndex = selected; - sk_sp<SkColorSpace> colorSpace = nullptr; - switch (gConfig[selected].fColorSpace) { - case kSRGB_OutputColorSpace: - colorSpace = SkColorSpace::MakeSRGB(); - break; - case kNarrow_OutputColorSpace: - { - // NarrowGamut RGB (an artifically smaller than sRGB gamut) - SkColorSpacePrimaries primaries ={ - 0.54f, 0.33f, // Rx, Ry - 0.33f, 0.50f, // Gx, Gy - 0.25f, 0.20f, // Bx, By - 0.3127f, 0.3290f, // Wx, Wy - }; - SkMatrix44 narrowGamutRGBMatrix(SkMatrix44::kUninitialized_Constructor); - primaries.toXYZD50(&narrowGamutRGBMatrix); - colorSpace = SkColorSpace::MakeRGB(SkColorSpace::kSRGB_RenderTargetGamma, - narrowGamutRGBMatrix); - } - break; - case kMonitor_OutputColorSpace: - colorSpace = getMonitorColorSpace(); - if (!colorSpace) { - // Fallback for platforms / machines where we can't get a monitor profile - colorSpace = SkColorSpace::MakeSRGB(); - } - break; - case kLegacy_OutputColorSpace: - default: - // Do nothing - break; - } - if (kRGBA_F16_SkColorType == gConfig[selected].fColorType) { - SkASSERT(colorSpace); - SkASSERT(SkColorSpace_Base::Type::kXYZ == as_CSB(colorSpace)->type()); - SkColorSpace_XYZ* csXYZ = static_cast<SkColorSpace_XYZ*>(colorSpace.get()); - colorSpace = csXYZ->makeLinearGamma(); - } - this->setDeviceColorType(gConfig[selected].fColorType, colorSpace); - return true; - } - if (SkOSMenu::FindSwitchState(evt, "Slide Show", nullptr)) { - this->toggleSlideshow(); - return true; - } - if (SkOSMenu::FindTriState(evt, "AA", &fAAState) || - SkOSMenu::FindTriState(evt, "LCD", &fLCDState) || - SkOSMenu::FindListIndex(evt, "FilterQuality", &fFilterQualityIndex) || - SkOSMenu::FindTriState(evt, "Subpixel", &fSubpixelState) || - SkOSMenu::FindListIndex(evt, "Hinting", &fHintingState) || - SkOSMenu::FindSwitchState(evt, "Clip", &fUseClip) || - SkOSMenu::FindSwitchState(evt, "Zoomer", &fShowZoomer) || - SkOSMenu::FindSwitchState(evt, "Magnify", &fMagnify)) - { - this->inval(nullptr); - this->updateTitle(); - return true; - } - if (SkOSMenu::FindListIndex(evt, "Pixel Geometry", &fPixelGeometryIndex)) { - this->setPixelGeometry(fPixelGeometryIndex); - return true; - } - if (SkOSMenu::FindListIndex(evt, "Tiling", &fTilingMode)) { - if (SampleView::IsSampleView(curr_view(this))) { - ((SampleView*)curr_view(this))->onTileSizeChanged(this->tileSize()); - } - this->inval(nullptr); - this->updateTitle(); - return true; - } - if (SkOSMenu::FindSwitchState(evt, "Flip X", nullptr)) { - fFlipAxis ^= kFlipAxis_X; - this->updateMatrix(); - return true; - } - if (SkOSMenu::FindSwitchState(evt, "Flip Y", nullptr)) { - fFlipAxis ^= kFlipAxis_Y; - this->updateMatrix(); - return true; - } - if (SkOSMenu::FindAction(evt,"Save to PDF")) { - this->saveToPdf(); - return true; - } - return this->INHERITED::onEvent(evt); -} - -bool SampleWindow::onQuery(SkEvent* query) { - if (query->isType("get-slide-count")) { - query->setFast32(fSamples.count()); - return true; - } - if (query->isType("get-slide-title")) { - SkView* view = (*fSamples[query->getFast32()])(); - SkEvent evt(gTitleEvtName); - if (view->doQuery(&evt)) { - query->setString("title", evt.findString(gTitleEvtName)); - } - SkSafeUnref(view); - return true; - } - if (query->isType("use-fast-text")) { - SkEvent evt(gFastTextEvtName); - return curr_view(this)->doQuery(&evt); - } - if (query->isType("ignore-window-bitmap")) { - query->setFast32(this->getGrContext() != nullptr); - return true; - } - return this->INHERITED::onQuery(query); -} - -bool SampleWindow::onHandleChar(SkUnichar uni) { - { - SkView* view = curr_view(this); - if (view) { - SkEvent evt(gCharEvtName); - evt.setFast32(uni); - if (view->doQuery(&evt)) { - return true; - } - } - } - - int dx = 0xFF; - int dy = 0xFF; - - switch (uni) { - case '5': dx = 0; dy = 0; break; - case '8': dx = 0; dy = -1; break; - case '6': dx = 1; dy = 0; break; - case '2': dx = 0; dy = 1; break; - case '4': dx = -1; dy = 0; break; - case '7': dx = -1; dy = -1; break; - case '9': dx = 1; dy = -1; break; - case '3': dx = 1; dy = 1; break; - case '1': dx = -1; dy = 1; break; - - default: - break; - } - - if (0xFF != dx && 0xFF != dy) { - this->changeOffset({SkIntToScalar(dx / 32.0f), SkIntToScalar(dy / 32.0f)}); - return true; - } - - switch (uni) { - case 27: // ESC - gAnimTimer.stop(); - if (this->sendAnimatePulse()) { - this->inval(nullptr); - } - break; - case '+': - gSampleWindow->setTiles(gSampleWindow->getTiles() + 1); - this->inval(nullptr); - this->updateTitle(); - break; - case '-': - gSampleWindow->setTiles(SkTMax(0, gSampleWindow->getTiles() - 1)); - this->inval(nullptr); - this->updateTitle(); - break; - case '>': - gSampleWindow->setThreads(gSampleWindow->getThreads() + 1); - this->inval(nullptr); - this->updateTitle(); - break; - case '<': - gSampleWindow->setThreads(SkTMax(0, gSampleWindow->getThreads() - 1)); - this->inval(nullptr); - this->updateTitle(); - break; - case ' ': - gAnimTimer.togglePauseResume(); - if (this->sendAnimatePulse()) { - this->inval(nullptr); - } - break; - case '0': - this->resetFPS(); - break; - case 'A': - if (!gSkUseAnalyticAA) { - gSkUseAnalyticAA = true; - } else if (!gSkForceAnalyticAA && !gSkUseDeltaAA) { - gSkForceAnalyticAA = true; - } else if (!gSkUseDeltaAA) { - gSkForceAnalyticAA = false; - gSkUseDeltaAA = true; - } else if (!gSkForceDeltaAA) { - gSkForceDeltaAA = true; - } else { - gSkUseAnalyticAA = gSkForceAnalyticAA = gSkUseDeltaAA = gSkForceDeltaAA = false; - } - this->inval(nullptr); - this->updateTitle(); - break; - case 'B': - post_event_to_sink(new SkEvent("PictFileView::toggleBBox"), curr_view(this)); - // Cannot call updateTitle() synchronously, because the toggleBBox event is still in - // the queue. - post_event_to_sink(new SkEvent(gUpdateWindowTitleEvtName), this); - this->inval(nullptr); - break; - case 'D': - toggleDistanceFieldFonts(); - break; - case 'E': - fUseDeferredCanvas = !fUseDeferredCanvas; - this->inval(nullptr); - break; - case 'f': - // only - toggleFPS(); - break; - case 'g': - fRequestGrabImage = true; - this->inval(nullptr); - break; - case 'G': - gShowGMBounds = !gShowGMBounds; - post_event_to_sink(GMSampleView::NewShowSizeEvt(gShowGMBounds), - curr_view(this)); - this->inval(nullptr); - break; - case 'i': - this->zoomIn(); - break; - case 'o': - this->zoomOut(); - break; - case 'r': - fRotate = !fRotate; - this->inval(nullptr); - this->updateTitle(); - return true; - case 'R': - gSkForceRasterPipelineBlitter = !gSkForceRasterPipelineBlitter; - this->inval(nullptr); - this->updateTitle(); - break; - case 'k': - fPerspAnim = !fPerspAnim; - this->inval(nullptr); - this->updateTitle(); - return true; - case 'K': - fSaveToSKP = true; - this->inval(nullptr); - return true; - case 'M': - fUsePicture = !fUsePicture; - this->inval(nullptr); - this->updateTitle(); - return true; -#if SK_SUPPORT_GPU - case 'p': - { - GrContext* grContext = this->getGrContext(); - if (grContext) { - size_t cacheBytes; - grContext->getResourceCacheUsage(nullptr, &cacheBytes); - grContext->freeGpuResources(); - SkDebugf("Purged %d bytes from the GPU resource cache.\n", cacheBytes); - } - } - return true; -#endif - default: - break; - } - - if (fAppMenu->handleKeyEquivalent(uni)|| fSlideMenu->handleKeyEquivalent(uni)) { - this->onUpdateMenu(fAppMenu); - this->onUpdateMenu(fSlideMenu); - return true; - } - return this->INHERITED::onHandleChar(uni); -} - -void SampleWindow::setDeviceType(DeviceType type) { - if (type == fDeviceType) - return; - - fDevManager->tearDownBackend(this); - fDeviceType = type; - fDevManager->setUpBackend(this, fBackendOptions); - - this->updateTitle(); - this->inval(nullptr); -} - -void SampleWindow::setDeviceColorType(SkColorType ct, sk_sp<SkColorSpace> cs) { - this->setColorType(ct, std::move(cs)); - - fDevManager->tearDownBackend(this); - fDevManager->setUpBackend(this, fBackendOptions); - - this->updateTitle(); - this->inval(nullptr); -} - -void SampleWindow::toggleSlideshow() { - fAnimating = !fAnimating; - this->postAnimatingEvent(); - this->updateTitle(); -} - -void SampleWindow::toggleRendering() { - this->setDeviceType(cycle_devicetype(fDeviceType)); - this->updateTitle(); - this->inval(nullptr); -} - -void SampleWindow::toggleFPS() { - fMeasureFPS = !fMeasureFPS; - this->updateTitle(); - this->inval(nullptr); -} - -void SampleWindow::resetFPS() { - fCumulativeFPS_Time = 0; - fCumulativeFPS_Count = 0; -} - -void SampleWindow::toggleDistanceFieldFonts() { - SkSurfaceProps props = this->getSurfaceProps(); - uint32_t flags = props.flags() ^ SkSurfaceProps::kUseDeviceIndependentFonts_Flag; - this->setSurfaceProps(SkSurfaceProps(flags, props.pixelGeometry())); - - // reset backend - fDevManager->tearDownBackend(this); - fDevManager->setUpBackend(this, fBackendOptions); - - this->updateTitle(); - this->inval(nullptr); -} - -void SampleWindow::setPixelGeometry(int pixelGeometryIndex) { - const SkSurfaceProps& oldProps = this->getSurfaceProps(); - SkSurfaceProps newProps(oldProps.flags(), SkSurfaceProps::kLegacyFontHost_InitType); - if (pixelGeometryIndex > 0) { - newProps = SkSurfaceProps(oldProps.flags(), - gPixelGeometryStates[pixelGeometryIndex].pixelGeometry); - } - this->setSurfaceProps(newProps); - - // reset backend - fDevManager->tearDownBackend(this); - fDevManager->setUpBackend(this, fBackendOptions); - - this->updateTitle(); - this->inval(nullptr); -} - -#include "SkDumpCanvas.h" - -bool SampleWindow::onHandleKey(SkKey key) { - { - SkView* view = curr_view(this); - if (view) { - SkEvent evt(gKeyEvtName); - evt.setFast32(key); - if (view->doQuery(&evt)) { - return true; - } - } - } - - int dx = 0xFF; - int dy = 0xFF; - - switch (key) { - case kRight_SkKey: - if (this->nextSample()) { - return true; - } - break; - case kLeft_SkKey: - if (this->previousSample()) { - return true; - } - return true; - case kUp_SkKey: - this->changeZoomLevel(1.f / 32.f); - return true; - case kDown_SkKey: - this->changeZoomLevel(-1.f / 32.f); - return true; - case kOK_SkKey: { - SkString title; - if (curr_title(this, &title)) { - writeTitleToPrefs(title.c_str()); - } - return true; - } - case kBack_SkKey: - this->showOverview(); - return true; - - case k5_SkKey: dx = 0; dy = 0; break; - case k8_SkKey: dx = 0; dy = -1; break; - case k6_SkKey: dx = 1; dy = 0; break; - case k2_SkKey: dx = 0; dy = 1; break; - case k4_SkKey: dx = -1; dy = 0; break; - case k7_SkKey: dx = -1; dy = -1; break; - case k9_SkKey: dx = 1; dy = -1; break; - case k3_SkKey: dx = 1; dy = 1; break; - case k1_SkKey: dx = -1; dy = 1; break; - - default: - break; - } - - if (0xFF != dx && 0xFF != dy) { - this->changeOffset({SkIntToScalar(dx / 32.0f), SkIntToScalar(dy / 32.0f)}); - return true; - } - - return this->INHERITED::onHandleKey(key); -} - -/////////////////////////////////////////////////////////////////////////////// - -static const char gGestureClickType[] = "GestureClickType"; - -bool SampleWindow::onDispatchClick(int x, int y, Click::State state, - void* owner, unsigned modi) { - if (Click::kMoved_State == state) { - updatePointer(x, y); - } - int w = SkScalarRoundToInt(this->width()); - int h = SkScalarRoundToInt(this->height()); - - // check for the resize-box - if (w - x < 16 && h - y < 16) { - return false; // let the OS handle the click - } - else if (fMagnify) { - //it's only necessary to update the drawing if there's a click - this->inval(nullptr); - return false; //prevent dragging while magnify is enabled - } else { - // capture control+option, and trigger debugger - if ((modi & kControl_SkModifierKey) && (modi & kOption_SkModifierKey)) { - if (Click::kDown_State == state) { - SkEvent evt("debug-hit-test"); - evt.setS32("debug-hit-test-x", x); - evt.setS32("debug-hit-test-y", y); - curr_view(this)->doEvent(evt); - } - return true; - } else { - return this->INHERITED::onDispatchClick(x, y, state, owner, modi); - } - } -} - -class GestureClick : public SkView::Click { -public: - GestureClick(SkView* target) : SkView::Click(target) { - this->setType(gGestureClickType); - } - - static bool IsGesture(Click* click) { - return click->isType(gGestureClickType); - } -}; - -SkView::Click* SampleWindow::onFindClickHandler(SkScalar x, SkScalar y, - unsigned modi) { - return new GestureClick(this); -} - -bool SampleWindow::onClick(Click* click) { - if (GestureClick::IsGesture(click)) { - float x = static_cast<float>(click->fICurr.fX); - float y = static_cast<float>(click->fICurr.fY); - - switch (click->fState) { - case SkView::Click::kDown_State: - fGesture.touchBegin(click->fOwner, x, y); - break; - case SkView::Click::kMoved_State: - fGesture.touchMoved(click->fOwner, x, y); - this->updateMatrix(); - break; - case SkView::Click::kUp_State: - fGesture.touchEnd(click->fOwner); - this->updateMatrix(); - break; - } - return true; - } - return false; -} - -/////////////////////////////////////////////////////////////////////////////// - -void SampleWindow::loadView(SkView* view) { - SkView::F2BIter iter(this); - SkView* prev = iter.next(); - if (prev) { - prev->detachFromParent(); - } - - view->setVisibleP(true); - view->setClipToBounds(false); - this->attachChildToFront(view)->unref(); - view->setSize(this->width(), this->height()); - - //repopulate the slide menu when a view is loaded - fSlideMenu->reset(); - - this->onUpdateMenu(fSlideMenu); - this->updateTitle(); -} - -static const char* gDeviceTypePrefix[] = { - "raster: ", -#if SK_SUPPORT_GPU - "opengl: ", -#if SK_ANGLE - "angle: ", -#endif // SK_ANGLE -#endif // SK_SUPPORT_GPU -}; -static_assert(SK_ARRAY_COUNT(gDeviceTypePrefix) == SampleWindow::kDeviceTypeCnt, - "array_size_mismatch"); - -static const char* trystate_str(SkOSMenu::TriState state, - const char trueStr[], const char falseStr[]) { - if (SkOSMenu::kOnState == state) { - return trueStr; - } else if (SkOSMenu::kOffState == state) { - return falseStr; - } - return nullptr; -} - -bool SampleWindow::getRawTitle(SkString* title) { - return curr_title(this, title); -} - -void SampleWindow::updateTitle() { - if (fMeasureMS > 0 && (int)gAnimTimer.msec() > fMeasureMS) { - SkDebugf("Average frame time of the last slide: %.4f ms\n", - fCumulativeFPS_Time / (float)SkTMax(1, fCumulativeFPS_Count)); - this->closeWindow(); - } - - SkString title; - if (!this->getRawTitle(&title)) { - title.set("<unknown>"); - } - - title.prepend(gDeviceTypePrefix[fDeviceType]); - - if (gSampleWindow->getTiles()) { - title.prependf("[T%d/%d] ", gSampleWindow->getTiles(), gSampleWindow->getThreads()); - } - - if (gSkUseDeltaAA) { - if (gSkForceDeltaAA) { - title.prepend("<FDAA> "); - } else { - title.prepend("<DAA> "); - } - } else if (gSkUseAnalyticAA) { - if (gSkForceAnalyticAA) { - title.prepend("<FAAA> "); - } else { - title.prepend("<AAA> "); - } - } - if (fTilingMode != kNo_Tiling) { - title.prependf("<T: %s> ", gTilingInfo[fTilingMode].label); - } - if (fAnimating) { - title.prepend("<A> "); - } - if (fRotate) { - title.prepend("<R> "); - } - if (fPerspAnim) { - title.prepend("<K> "); - } - if (this->getSurfaceProps().flags() & SkSurfaceProps::kUseDeviceIndependentFonts_Flag) { - title.prepend("<DIF> "); - } - if (fUsePicture) { - title.prepend("<P> "); - } - if (fUseDeferredCanvas) { - title.prepend("<E> "); - } - if (gSkForceRasterPipelineBlitter) { - title.prepend("<R> "); - } - - title.prepend(trystate_str(fLCDState, "LCD ", "lcd ")); - title.prepend(trystate_str(fAAState, "AA ", "aa ")); - title.prepend(gFilterQualityStates[fFilterQualityIndex].fLabel); - title.prepend(trystate_str(fSubpixelState, "S ", "s ")); - title.prepend(fFlipAxis & kFlipAxis_X ? "X " : nullptr); - title.prepend(fFlipAxis & kFlipAxis_Y ? "Y " : nullptr); - title.prepend(gHintingStates[fHintingState].label); - title.prepend(gPixelGeometryStates[fPixelGeometryIndex].label); - - if (fOffset.fX || fOffset.fY) { - title.prependf("(%.2f, %.2f) ", SkScalarToFloat(fOffset.fX), SkScalarToFloat(fOffset.fY)); - } - if (fZoomLevel) { - title.prependf("{%.2f} ", SkScalarToFloat(fZoomLevel)); - } - - if (fMeasureFPS) { - title.appendf(" %8.4f ms", fMeasureFPS_Time / (float)FPS_REPEAT_COUNT); - title.appendf(" -> %4.4f ms", fCumulativeFPS_Time / (float)SkTMax(1, fCumulativeFPS_Count)); - } - -#if SK_SUPPORT_GPU - if (IsGpuDeviceType(fDeviceType) && - fDevManager && - fDevManager->numColorSamples() > 0) { - title.appendf(" [MSAA: %d]", - fDevManager->numColorSamples()); - } -#endif - - title.appendf(" %s", gConfig[fColorConfigIndex].fName); - - if (fDevManager && fDevManager->getColorBits() > 24) { - title.appendf(" %d bpc", fDevManager->getColorBits()); - } - - this->setTitle(title.c_str()); -} - -void SampleWindow::onSizeChange() { - this->INHERITED::onSizeChange(); - - SkView::F2BIter iter(this); - SkView* view = iter.next(); - view->setSize(this->width(), this->height()); - - // rebuild our clippath - { - const SkScalar W = this->width(); - const SkScalar H = this->height(); - - fClipPath.reset(); -#if 0 - for (SkScalar y = SK_Scalar1; y < H; y += SkIntToScalar(32)) { - SkRect r; - r.set(SK_Scalar1, y, SkIntToScalar(30), y + SkIntToScalar(30)); - for (; r.fLeft < W; r.offset(SkIntToScalar(32), 0)) - fClipPath.addRect(r); - } -#else - SkRect r; - r.set(0, 0, W, H); - fClipPath.addRect(r, SkPath::kCCW_Direction); - r.set(W/4, H/4, W*3/4, H*3/4); - fClipPath.addRect(r, SkPath::kCW_Direction); -#endif - } - - fZoomCenterX = SkScalarHalf(this->width()); - fZoomCenterY = SkScalarHalf(this->height()); - -#ifdef SK_BUILD_FOR_ANDROID - // FIXME: The first draw after a size change does not work on Android, so - // we post an invalidate. - this->postInvalDelay(); -#endif - this->updateTitle(); // to refresh our config - fDevManager->windowSizeChanged(this); - - if (fTilingMode != kNo_Tiling && SampleView::IsSampleView(view)) { - ((SampleView*)view)->onTileSizeChanged(this->tileSize()); - } -} - -/////////////////////////////////////////////////////////////////////////////// - -template <typename T> void SkTBSort(T array[], int count) { - for (int i = 1; i < count - 1; i++) { - bool didSwap = false; - for (int j = count - 1; j > i; --j) { - if (array[j] < array[j-1]) { - T tmp(array[j-1]); - array[j-1] = array[j]; - array[j] = tmp; - didSwap = true; - } - } - if (!didSwap) { - break; - } - } - - for (int k = 0; k < count - 1; k++) { - SkASSERT(!(array[k+1] < array[k])); - } -} - -#include "SkRandom.h" - -static void rand_rect(SkIRect* rect, SkRandom& rand) { - int bits = 8; - int shift = 32 - bits; - rect->set(rand.nextU() >> shift, rand.nextU() >> shift, - rand.nextU() >> shift, rand.nextU() >> shift); - rect->sort(); -} - -static void dumpRect(const SkIRect& r) { - SkDebugf(" { %d, %d, %d, %d },\n", - r.fLeft, r.fTop, - r.fRight, r.fBottom); -} - -static void test_rects(const SkIRect rect[], int count) { - SkRegion rgn0, rgn1; - - for (int i = 0; i < count; i++) { - rgn0.op(rect[i], SkRegion::kUnion_Op); - // dumpRect(rect[i]); - } - rgn1.setRects(rect, count); - - if (rgn0 != rgn1) { - SkDebugf("\n"); - for (int i = 0; i < count; i++) { - dumpRect(rect[i]); - } - SkDebugf("\n"); - } -} - -static void test() { - size_t i; - - const SkIRect r0[] = { - { 0, 0, 1, 1 }, - { 2, 2, 3, 3 }, - }; - const SkIRect r1[] = { - { 0, 0, 1, 3 }, - { 1, 1, 2, 2 }, - { 2, 0, 3, 3 }, - }; - const SkIRect r2[] = { - { 0, 0, 1, 2 }, - { 2, 1, 3, 3 }, - { 4, 0, 5, 1 }, - { 6, 0, 7, 4 }, - }; - - static const struct { - const SkIRect* fRects; - int fCount; - } gRecs[] = { - { r0, SK_ARRAY_COUNT(r0) }, - { r1, SK_ARRAY_COUNT(r1) }, - { r2, SK_ARRAY_COUNT(r2) }, - }; - - for (i = 0; i < SK_ARRAY_COUNT(gRecs); i++) { - test_rects(gRecs[i].fRects, gRecs[i].fCount); - } - - SkRandom rand; - for (i = 0; i < 10000; i++) { - SkRegion rgn0, rgn1; - - const int N = 8; - SkIRect rect[N]; - for (int j = 0; j < N; j++) { - rand_rect(&rect[j], rand); - } - test_rects(rect, N); - } -} - -// FIXME: this should be in a header -SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv); -SkOSWindow* create_sk_window(void* hwnd, int argc, char** argv) { - SkCommandLineFlags::Parse(argc, argv); - - if (false) { // avoid bit rot, suppress warning - test(); - } - SkOSWindow* window = new SampleWindow(hwnd, argc, argv, nullptr); - for (int i = 0; i < FLAGS_keys.count(); ++i) { - const char* keys = FLAGS_keys[i]; - while (char keystroke = *keys++) { - window->handleChar(keystroke); - } - } - return window; -} - -#ifdef SK_BUILD_FOR_IOS -#include "SkApplication.h" -IOS_launch_type set_cmd_line_args(int , char *[], const char* resourceDir) { - SetResourcePath(resourceDir); - return kApplication__iOSLaunchType; -} -#endif - -void application_init() { -// setenv("ANDROID_ROOT", "../../../data", 0); -#ifdef SK_BUILD_FOR_MAC - setenv("ANDROID_ROOT", "/android/device/data", 0); -#endif - SkGraphics::Init(); - SkEvent::Init(); -} - -void application_term() { - SkEvent::Term(); -} diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h deleted file mode 100644 index 9f7b5dbd71..0000000000 --- a/samplecode/SampleApp.h +++ /dev/null @@ -1,282 +0,0 @@ -/* - * Copyright 2011 Skia - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#ifndef SampleApp_DEFINED -#define SampleApp_DEFINED - -#include "SkExecutor.h" -#include "SkOSMenu.h" -#include "SkPath.h" -#include "SkPicture.h" -#include "SkPictureRecorder.h" -#include "SkScalar.h" -#include "SkStream.h" -#include "SkSurface.h" -#include "SkTDArray.h" -#include "SkTouchGesture.h" -#include "SkWindow.h" -#include "timer/Timer.h" - -#include "SkPipe.h" - -#if SK_SUPPORT_GPU -#include "GrContextOptions.h" -#endif - -class GrContext; -class GrRenderTarget; - -class SkCanvas; -class SkData; -class SkDocument; -class SkEvent; -class SkTypeface; -class SkViewFactory; - -class SampleWindow : public SkOSWindow { - SkTDArray<const SkViewFactory*> fSamples; -public: - enum DeviceType { - kRaster_DeviceType, -#if SK_SUPPORT_GPU - kGPU_DeviceType, -#if SK_ANGLE - kANGLE_DeviceType, -#endif // SK_ANGLE -#endif // SK_SUPPORT_GPU - kDeviceTypeCnt - }; - - static bool IsGpuDeviceType(DeviceType devType) { - #if SK_SUPPORT_GPU - switch (devType) { - case kGPU_DeviceType: - #if SK_ANGLE - case kANGLE_DeviceType: - #endif // SK_ANGLE - return true; - default: - return false; - } - #endif // SK_SUPPORT_GPU - return false; - } - - /** - * SampleApp ports can subclass this manager class if they want to: - * * filter the types of devices supported - * * customize plugging of SkBaseDevice objects into an SkCanvas - * * customize publishing the results of draw to the OS window - * * manage GrContext / GrRenderTarget lifetimes - */ - class DeviceManager : public SkRefCnt { - public: - struct BackendOptions { -#if SK_SUPPORT_GPU - GrContextOptions fGrContextOptions; - int fMSAASampleCount; - bool fDeepColor; -#endif - }; - - virtual void setUpBackend(SampleWindow* win, const BackendOptions&) = 0; - - virtual void tearDownBackend(SampleWindow* win) = 0; - - // called before drawing. should install correct device - // type on the canvas. Will skip drawing if returns false. - virtual sk_sp<SkSurface> makeSurface(DeviceType dType, SampleWindow* win) = 0; - - // called after drawing, should get the results onto the - // screen. - virtual void publishCanvas(DeviceType dType, - SkCanvas* canvas, - SampleWindow* win) = 0; - - // called when window changes size, guaranteed to be called - // at least once before first draw (after init) - virtual void windowSizeChanged(SampleWindow* win) = 0; - - // return the GrContext backing gpu devices (nullptr if not built with GPU support) - virtual GrContext* getGrContext() = 0; - - // return the GrRenderTarget backing gpu devices (nullptr if not built with GPU support) - virtual int numColorSamples() const = 0; - - // return the color depth of the output device - virtual int getColorBits() = 0; - - private: - typedef SkRefCnt INHERITED; - }; - - SampleWindow(void* hwnd, int argc, char** argv, DeviceManager*); - ~SampleWindow() override; - - sk_sp<SkSurface> makeSurface() override { - sk_sp<SkSurface> surface; - if (fDevManager) { - surface = fDevManager->makeSurface(fDeviceType, this); - } - if (!surface) { - surface = this->INHERITED::makeSurface(); - } - return surface; - } - - void draw(SkCanvas*) override; - - void setDeviceType(DeviceType type); - void setDeviceColorType(SkColorType, sk_sp<SkColorSpace>); - void toggleRendering(); - void toggleSlideshow(); - void toggleFPS(); - void resetFPS(); - void showOverview(); - void toggleDistanceFieldFonts(); - void setPixelGeometry(int pixelGeometryIndex); - - GrContext* getGrContext() const { return fDevManager->getGrContext(); } - - void setZoomCenter(float x, float y); - void changeZoomLevel(float delta); - void changeOffset(SkVector delta); - bool nextSample(); - bool previousSample(); - bool goToSample(int i); - SkString getSampleTitle(int i); - int sampleCount(); - bool handleTouch(int ownerId, float x, float y, - SkView::Click::State state); - void saveToPdf(); - void postInvalDelay(); - - DeviceType getDeviceType() const { return fDeviceType; } - int getColorConfigIndex() const { return fColorConfigIndex; } - - int getTiles() const { return fTiles; } - void setTiles(int tiles) { fTiles = tiles; this->resetExecutor(); } - int getThreads() const { return fThreads; } - void setThreads(int threads) { fThreads = threads; this->resetExecutor(); } - - -protected: - void onDraw(SkCanvas* canvas) override; - bool onHandleKey(SkKey key) override; - bool onHandleChar(SkUnichar) override; - void onSizeChange() override; - - SkCanvas* beforeChildren(SkCanvas*) override; - void afterChildren(SkCanvas*) override; - void beforeChild(SkView* child, SkCanvas* canvas) override; - - bool onEvent(const SkEvent& evt) override; - bool onQuery(SkEvent* evt) override; - - virtual bool onDispatchClick(int x, int y, Click::State, void* owner, - unsigned modi) override; - bool onClick(Click* click) override; - virtual Click* onFindClickHandler(SkScalar x, SkScalar y, - unsigned modi) override; - -private: - class DefaultDeviceManager; - - int fCurrIndex; - - std::unique_ptr<SkDynamicMemoryWStream> fPipeStream; - SkPipeSerializer fPipeSerializer; - SkPipeDeserializer fPipeDeserializer; - - SkPictureRecorder fRecorder; - std::unique_ptr<SkCanvas> fFlagsFilterCanvas; - SkPath fClipPath; - - SkTouchGesture fGesture; - SkScalar fZoomLevel; - SkScalar fZoomScale; - SkVector fOffset; - - DeviceType fDeviceType; - DeviceManager* fDevManager; - - bool fSaveToPdf; - bool fSaveToSKP; - sk_sp<SkDocument> fPDFDocument; - - bool fUseClip; - bool fUsePicture; - bool fAnimating; - bool fRotate; - bool fPerspAnim; - bool fRequestGrabImage; - bool fMeasureFPS; - bool fUseDeferredCanvas; - WallTimer fTimer; - double fMeasureFPS_Time; - double fCumulativeFPS_Time; - int fCumulativeFPS_Count; - bool fMagnify; - int fTilingMode; - - // The following are for the 'fatbits' drawing - // Latest position of the mouse. - int fMouseX, fMouseY; - int fFatBitsScale; - // Used by the text showing position and color values. - sk_sp<SkTypeface> fTypeface; - bool fShowZoomer; - - SkOSMenu::TriState fLCDState; - SkOSMenu::TriState fAAState; - SkOSMenu::TriState fSubpixelState; - int fHintingState; - int fPixelGeometryIndex; - int fFilterQualityIndex; - unsigned fFlipAxis; - - DeviceManager::BackendOptions fBackendOptions; - - int fColorConfigIndex; - - SkScalar fZoomCenterX, fZoomCenterY; - - //Stores global settings - SkOSMenu* fAppMenu; // We pass ownership to SkWindow, when we call addMenu - //Stores slide specific settings - SkOSMenu* fSlideMenu; // We pass ownership to SkWindow, when we call addMenu - - int fTiles = 0; - int fThreads = 0; - std::unique_ptr<SkExecutor> fExecutor; - - int fMeasureMS; // the number of milliseconds to measure the FPS before we close the SampleApp - - void loadView(SkView*); - void updateTitle(); - bool getRawTitle(SkString*); - - bool zoomIn(); - bool zoomOut(); - void updatePointer(int x, int y); - void magnify(SkCanvas* canvas); - void showZoomer(SkCanvas* canvas); - void updateMatrix(); - void postAnimatingEvent(); - int findByTitle(const char*); - void listTitles(); - SkSize tileSize() const; - bool sendAnimatePulse(); - - void resetExecutor() { - fExecutor = SkExecutor::MakeFIFOThreadPool(fThreads == 0 ? fTiles : fThreads); - } - - typedef SkOSWindow INHERITED; -}; - -#endif diff --git a/samplecode/SamplePictFile.cpp b/samplecode/SamplePictFile.cpp deleted file mode 100644 index 9c82b4b420..0000000000 --- a/samplecode/SamplePictFile.cpp +++ /dev/null @@ -1,217 +0,0 @@ -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#include "DecodeFile.h" -#include "SampleCode.h" -#include "SkDumpCanvas.h" -#include "SkView.h" -#include "SkCanvas.h" -#include "SkGradientShader.h" -#include "SkGraphics.h" -#include "SkOSFile.h" -#include "SkOSPath.h" -#include "SkPath.h" -#include "SkPicture.h" -#include "SkPictureRecorder.h" -#include "SkRandom.h" -#include "SkRegion.h" -#include "SkShader.h" -#include "SkUtils.h" -#include "SkColorPriv.h" -#include "SkColorFilter.h" -#include "SkTime.h" -#include "SkTypeface.h" -#include "SkStream.h" -#include "SkSurface.h" - -#include "SkGlyphCache.h" - -class PictFileView : public SampleView { -public: - PictFileView(const char name[] = nullptr) - : fFilename(name) - , fBBox(kNo_BBoxType) - , fTileSize(SkSize::Make(0, 0)) { - for (int i = 0; i < kBBoxTypeCount; ++i) { - fPictures[i] = nullptr; - } - fCount = 0; - } - - ~PictFileView() override { - this->freePictures(); - } - - void freePictures() { - for (int i = 0; i < kBBoxTypeCount; ++i) { - SkSafeUnref(fPictures[i]); - fPictures[i] = nullptr; - } - } - - void onTileSizeChanged(const SkSize &tileSize) override { - if (tileSize != fTileSize) { - fTileSize = tileSize; - } - } - -protected: - // overrides from SkEventSink - bool onQuery(SkEvent* evt) override { - if (SampleCode::TitleQ(*evt)) { - SkString name("P:"); - const char* basename = strrchr(fFilename.c_str(), SkOSPath::SEPARATOR); - name.append(basename ? basename+1: fFilename.c_str()); - switch (fBBox) { - case kNo_BBoxType: - // No name appended - break; - case kRTree_BBoxType: - name.append(" <bbox: R>"); - break; - default: - SkASSERT(false); - break; - } - SampleCode::TitleR(evt, name.c_str()); - return true; - } - SkUnichar uni; - if (SampleCode::CharQ(*evt, &uni)) { - switch (uni) { - case 'n': fCount += 1; this->inval(nullptr); return true; - case 'p': fCount -= 1; this->inval(nullptr); return true; - case 's': fCount = 0; this->inval(nullptr); return true; - case 'F': - fFilterQuality = (kNone_SkFilterQuality == fFilterQuality) ? - kHigh_SkFilterQuality : kNone_SkFilterQuality; - this->freePictures(); - this->inval(nullptr); - return true; - default: break; - } - } - return this->INHERITED::onQuery(evt); - } - - bool onEvent(const SkEvent& evt) override { - if (evt.isType("PictFileView::toggleBBox")) { - fBBox = (BBoxType)((fBBox + 1) % kBBoxTypeCount); - return true; - } - return this->INHERITED::onEvent(evt); - } - - void onDrawContent(SkCanvas* canvas) override { - SkASSERT(static_cast<int>(fBBox) < kBBoxTypeCount); - SkPicture** picture = fPictures + fBBox; - -#ifdef SK_GLYPHCACHE_TRACK_HASH_STATS - SkGraphics::PurgeFontCache(); -#endif - - if (!*picture) { - *picture = LoadPicture(fFilename.c_str(), fBBox).release(); - } - - if (*picture) { - canvas->drawPicture(*picture); - } - -#ifdef SK_GLYPHCACHE_TRACK_HASH_STATS - SkGlyphCache::Dump(); - SkDebugf("\n"); -#endif - } - -private: - enum BBoxType { - kNo_BBoxType, - kRTree_BBoxType, - - kLast_BBoxType = kRTree_BBoxType, - }; - static const int kBBoxTypeCount = kLast_BBoxType + 1; - - SkString fFilename; - SkPicture* fPictures[kBBoxTypeCount]; - BBoxType fBBox; - SkSize fTileSize; - int fCount; - SkFilterQuality fFilterQuality = kNone_SkFilterQuality; - - sk_sp<SkPicture> LoadPicture(const char path[], BBoxType bbox) { - sk_sp<SkPicture> pic; - - if (sk_sp<SkImage> img = decode_file(path)) { - SkPictureRecorder recorder; - SkCanvas* can = recorder.beginRecording(SkIntToScalar(img->width()), - SkIntToScalar(img->height()), - nullptr, 0); - SkPaint paint; - paint.setFilterQuality(fFilterQuality); - can->drawImage(img, 0, 0, &paint); - pic = recorder.finishRecordingAsPicture(); - } else { - SkFILEStream stream(path); - if (stream.isValid()) { - pic = SkPicture::MakeFromStream(&stream); - } else { - SkDebugf("coun't load picture at \"path\"\n", path); - } - - if (false) { // re-record - SkPictureRecorder recorder; - pic->playback(recorder.beginRecording(pic->cullRect().width(), - pic->cullRect().height(), - nullptr, 0)); - sk_sp<SkPicture> p2(recorder.finishRecordingAsPicture()); - - SkString path2(path); - path2.append(".new.skp"); - SkFILEWStream writer(path2.c_str()); - p2->serialize(&writer); - } - } - - if (nullptr == pic) { - return nullptr; - } - - std::unique_ptr<SkBBHFactory> factory; - switch (bbox) { - case kNo_BBoxType: - // no bbox playback necessary - return pic; - case kRTree_BBoxType: - factory.reset(new SkRTreeFactory); - break; - default: - SkASSERT(false); - } - - SkPictureRecorder recorder; - pic->playback(recorder.beginRecording(pic->cullRect().width(), - pic->cullRect().height(), - factory.get(), 0)); - return recorder.finishRecordingAsPicture(); - } - - typedef SampleView INHERITED; -}; - -SampleView* CreateSamplePictFileView(const char filename[]); -SampleView* CreateSamplePictFileView(const char filename[]) { - return new PictFileView(filename); -} - -////////////////////////////////////////////////////////////////////////////// - -#if 0 -static SkView* MyFactory() { return new PictFileView; } -static SkViewRegister reg(MyFactory); -#endif diff --git a/src/views/mac/SkSampleNSView.h b/src/views/mac/SkSampleNSView.h deleted file mode 100644 index b7da9fd556..0000000000 --- a/src/views/mac/SkSampleNSView.h +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#import "SkNSView.h" -@interface SkSampleNSView : SkNSView -- (id)initWithDefaults; -@end diff --git a/src/views/mac/SkSampleNSView.mm b/src/views/mac/SkSampleNSView.mm deleted file mode 100644 index 7c0fc5907b..0000000000 --- a/src/views/mac/SkSampleNSView.mm +++ /dev/null @@ -1,31 +0,0 @@ - -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#import "SkSampleNSView.h" -#include "SampleApp.h" -#include <crt_externs.h> -@implementation SkSampleNSView - -- (id)initWithDefaults { - if ((self = [super initWithDefaults])) { - fWind = new SampleWindow(self, *_NSGetArgc(), *_NSGetArgv(), NULL); - } - return self; -} - -- (void)swipeWithEvent:(NSEvent *)event { - CGFloat x = [event deltaX]; - if (x < 0) - ((SampleWindow*)fWind)->previousSample(); - else if (x > 0) - ((SampleWindow*)fWind)->nextSample(); - else - ((SampleWindow*)fWind)->showOverview(); -} - -@end diff --git a/tools/viewer/sk_app/Application.h b/tools/sk_app/Application.h index df9a20d358..df9a20d358 100644 --- a/tools/viewer/sk_app/Application.h +++ b/tools/sk_app/Application.h diff --git a/tools/viewer/sk_app/CommandSet.cpp b/tools/sk_app/CommandSet.cpp index d0154d6e61..d0154d6e61 100644 --- a/tools/viewer/sk_app/CommandSet.cpp +++ b/tools/sk_app/CommandSet.cpp diff --git a/tools/viewer/sk_app/CommandSet.h b/tools/sk_app/CommandSet.h index 0784a3875e..0784a3875e 100644 --- a/tools/viewer/sk_app/CommandSet.h +++ b/tools/sk_app/CommandSet.h diff --git a/tools/viewer/sk_app/DisplayParams.h b/tools/sk_app/DisplayParams.h index 959735e8ff..959735e8ff 100644 --- a/tools/viewer/sk_app/DisplayParams.h +++ b/tools/sk_app/DisplayParams.h diff --git a/tools/viewer/sk_app/GLWindowContext.cpp b/tools/sk_app/GLWindowContext.cpp index bdfa12a8ec..bdfa12a8ec 100644 --- a/tools/viewer/sk_app/GLWindowContext.cpp +++ b/tools/sk_app/GLWindowContext.cpp diff --git a/tools/viewer/sk_app/GLWindowContext.h b/tools/sk_app/GLWindowContext.h index 44810c93d2..44810c93d2 100644 --- a/tools/viewer/sk_app/GLWindowContext.h +++ b/tools/sk_app/GLWindowContext.h diff --git a/tools/viewer/sk_app/RasterWindowContext.h b/tools/sk_app/RasterWindowContext.h index 75bde03ad7..75bde03ad7 100644 --- a/tools/viewer/sk_app/RasterWindowContext.h +++ b/tools/sk_app/RasterWindowContext.h diff --git a/tools/viewer/sk_app/VulkanWindowContext.cpp b/tools/sk_app/VulkanWindowContext.cpp index 5e0f12412e..5e0f12412e 100644 --- a/tools/viewer/sk_app/VulkanWindowContext.cpp +++ b/tools/sk_app/VulkanWindowContext.cpp diff --git a/tools/viewer/sk_app/VulkanWindowContext.h b/tools/sk_app/VulkanWindowContext.h index d02b11428e..d02b11428e 100644 --- a/tools/viewer/sk_app/VulkanWindowContext.h +++ b/tools/sk_app/VulkanWindowContext.h diff --git a/tools/viewer/sk_app/Window.cpp b/tools/sk_app/Window.cpp index d7904fd8a7..d7904fd8a7 100644 --- a/tools/viewer/sk_app/Window.cpp +++ b/tools/sk_app/Window.cpp diff --git a/tools/viewer/sk_app/Window.h b/tools/sk_app/Window.h index 7357860512..4d40780964 100644 --- a/tools/viewer/sk_app/Window.h +++ b/tools/sk_app/Window.h @@ -12,7 +12,6 @@ #include "SkRect.h" #include "SkTouchGesture.h" #include "SkTypes.h" -#include "SkJSONCPP.h" class GrContext; class SkCanvas; @@ -30,7 +29,9 @@ public: virtual void setTitle(const char*) = 0; virtual void show() = 0; - virtual void setUIState(const Json::Value& state) {} // do nothing in default + + // JSON-formatted UI state for Android. Do nothing by default + virtual void setUIState(const char*) {} // Shedules an invalidation event for window if one is not currently pending. // Make sure that either onPaint or markInvalReceived is called when the client window consumes diff --git a/tools/viewer/sk_app/WindowContext.h b/tools/sk_app/WindowContext.h index cd4c357e20..cd4c357e20 100644 --- a/tools/viewer/sk_app/WindowContext.h +++ b/tools/sk_app/WindowContext.h diff --git a/tools/viewer/sk_app/android/GLWindowContext_android.cpp b/tools/sk_app/android/GLWindowContext_android.cpp index 944865909b..944865909b 100644 --- a/tools/viewer/sk_app/android/GLWindowContext_android.cpp +++ b/tools/sk_app/android/GLWindowContext_android.cpp diff --git a/tools/viewer/sk_app/android/RasterWindowContext_android.cpp b/tools/sk_app/android/RasterWindowContext_android.cpp index 101e51ef42..101e51ef42 100644 --- a/tools/viewer/sk_app/android/RasterWindowContext_android.cpp +++ b/tools/sk_app/android/RasterWindowContext_android.cpp diff --git a/tools/viewer/sk_app/android/VulkanWindowContext_android.cpp b/tools/sk_app/android/VulkanWindowContext_android.cpp index a7d8aa7ea1..a7d8aa7ea1 100644 --- a/tools/viewer/sk_app/android/VulkanWindowContext_android.cpp +++ b/tools/sk_app/android/VulkanWindowContext_android.cpp diff --git a/tools/viewer/sk_app/android/WindowContextFactory_android.h b/tools/sk_app/android/WindowContextFactory_android.h index 00198da8d3..00198da8d3 100644 --- a/tools/viewer/sk_app/android/WindowContextFactory_android.h +++ b/tools/sk_app/android/WindowContextFactory_android.h diff --git a/tools/viewer/sk_app/android/Window_android.cpp b/tools/sk_app/android/Window_android.cpp index 16ad430ac2..96acfc6564 100644 --- a/tools/viewer/sk_app/android/Window_android.cpp +++ b/tools/sk_app/android/Window_android.cpp @@ -31,7 +31,7 @@ void Window_android::setTitle(const char* title) { fSkiaAndroidApp->setTitle(title); } -void Window_android::setUIState(const Json::Value& state) { +void Window_android::setUIState(const char* state) { fSkiaAndroidApp->setUIState(state); } diff --git a/tools/viewer/sk_app/android/Window_android.h b/tools/sk_app/android/Window_android.h index 791801140e..9e28a8075b 100644 --- a/tools/viewer/sk_app/android/Window_android.h +++ b/tools/sk_app/android/Window_android.h @@ -27,7 +27,7 @@ public: bool attach(BackendType) override; void onInval() override; - void setUIState(const Json::Value& state) override; + void setUIState(const char* state) override; void paintIfNeeded(); diff --git a/tools/viewer/sk_app/android/main_android.cpp b/tools/sk_app/android/main_android.cpp index cb8db6c3b4..cb8db6c3b4 100644 --- a/tools/viewer/sk_app/android/main_android.cpp +++ b/tools/sk_app/android/main_android.cpp diff --git a/tools/viewer/sk_app/android/surface_glue_android.cpp b/tools/sk_app/android/surface_glue_android.cpp index 4fb6c3d9ac..9c734247db 100644 --- a/tools/viewer/sk_app/android/surface_glue_android.cpp +++ b/tools/sk_app/android/surface_glue_android.cpp @@ -71,8 +71,8 @@ void SkiaAndroidApp::setTitle(const char* title) const { fPThreadEnv->DeleteLocalRef(titleString); } -void SkiaAndroidApp::setUIState(const Json::Value& state) const { - jstring jstr = fPThreadEnv->NewStringUTF(state.toStyledString().c_str()); +void SkiaAndroidApp::setUIState(const char* state) const { + jstring jstr = fPThreadEnv->NewStringUTF(state); fPThreadEnv->CallVoidMethod(fAndroidApp, fSetStateMethodID, jstr); fPThreadEnv->DeleteLocalRef(jstr); } diff --git a/tools/viewer/sk_app/android/surface_glue_android.h b/tools/sk_app/android/surface_glue_android.h index 3bbf3af9c3..1dd1f2854a 100644 --- a/tools/viewer/sk_app/android/surface_glue_android.h +++ b/tools/sk_app/android/surface_glue_android.h @@ -57,7 +57,7 @@ struct SkiaAndroidApp { // These must be called in SkiaAndroidApp's own pthread because the JNIEnv is thread sensitive void setTitle(const char* title) const; - void setUIState(const Json::Value& state) const; + void setUIState(const char* state) const; private: pthread_t fThread; diff --git a/tools/viewer/sk_app/ios/GLWindowContext_ios.cpp b/tools/sk_app/ios/GLWindowContext_ios.cpp index 30bacf5cea..30bacf5cea 100644 --- a/tools/viewer/sk_app/ios/GLWindowContext_ios.cpp +++ b/tools/sk_app/ios/GLWindowContext_ios.cpp diff --git a/tools/viewer/sk_app/ios/RasterWindowContext_ios.cpp b/tools/sk_app/ios/RasterWindowContext_ios.cpp index 08b6560510..08b6560510 100644 --- a/tools/viewer/sk_app/ios/RasterWindowContext_ios.cpp +++ b/tools/sk_app/ios/RasterWindowContext_ios.cpp diff --git a/tools/viewer/sk_app/ios/WindowContextFactory_ios.h b/tools/sk_app/ios/WindowContextFactory_ios.h index 09999c4c83..09999c4c83 100644 --- a/tools/viewer/sk_app/ios/WindowContextFactory_ios.h +++ b/tools/sk_app/ios/WindowContextFactory_ios.h diff --git a/tools/viewer/sk_app/ios/Window_ios.cpp b/tools/sk_app/ios/Window_ios.cpp index c1bdeae5fc..c1bdeae5fc 100644 --- a/tools/viewer/sk_app/ios/Window_ios.cpp +++ b/tools/sk_app/ios/Window_ios.cpp diff --git a/tools/viewer/sk_app/ios/Window_ios.h b/tools/sk_app/ios/Window_ios.h index 667fa74e82..667fa74e82 100644 --- a/tools/viewer/sk_app/ios/Window_ios.h +++ b/tools/sk_app/ios/Window_ios.h diff --git a/tools/viewer/sk_app/ios/main_ios.cpp b/tools/sk_app/ios/main_ios.cpp index fe82c46485..fe82c46485 100644 --- a/tools/viewer/sk_app/ios/main_ios.cpp +++ b/tools/sk_app/ios/main_ios.cpp diff --git a/tools/viewer/sk_app/mac/GLWindowContext_mac.cpp b/tools/sk_app/mac/GLWindowContext_mac.cpp index 7f09d54522..7f09d54522 100644 --- a/tools/viewer/sk_app/mac/GLWindowContext_mac.cpp +++ b/tools/sk_app/mac/GLWindowContext_mac.cpp diff --git a/tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp b/tools/sk_app/mac/RasterWindowContext_mac.cpp index 409c49f218..409c49f218 100644 --- a/tools/viewer/sk_app/mac/RasterWindowContext_mac.cpp +++ b/tools/sk_app/mac/RasterWindowContext_mac.cpp diff --git a/tools/viewer/sk_app/mac/WindowContextFactory_mac.h b/tools/sk_app/mac/WindowContextFactory_mac.h index 3adc68bbc2..3adc68bbc2 100644 --- a/tools/viewer/sk_app/mac/WindowContextFactory_mac.h +++ b/tools/sk_app/mac/WindowContextFactory_mac.h diff --git a/tools/viewer/sk_app/mac/Window_mac.cpp b/tools/sk_app/mac/Window_mac.cpp index 8de5b10450..8de5b10450 100644 --- a/tools/viewer/sk_app/mac/Window_mac.cpp +++ b/tools/sk_app/mac/Window_mac.cpp diff --git a/tools/viewer/sk_app/mac/Window_mac.h b/tools/sk_app/mac/Window_mac.h index aa5c8df696..aa5c8df696 100644 --- a/tools/viewer/sk_app/mac/Window_mac.h +++ b/tools/sk_app/mac/Window_mac.h diff --git a/tools/viewer/sk_app/mac/main_mac.cpp b/tools/sk_app/mac/main_mac.cpp index 6dcf5b93f7..6dcf5b93f7 100644 --- a/tools/viewer/sk_app/mac/main_mac.cpp +++ b/tools/sk_app/mac/main_mac.cpp diff --git a/tools/viewer/sk_app/unix/GLWindowContext_unix.cpp b/tools/sk_app/unix/GLWindowContext_unix.cpp index d7a4387880..d7a4387880 100644 --- a/tools/viewer/sk_app/unix/GLWindowContext_unix.cpp +++ b/tools/sk_app/unix/GLWindowContext_unix.cpp diff --git a/tools/viewer/sk_app/unix/RasterWindowContext_unix.cpp b/tools/sk_app/unix/RasterWindowContext_unix.cpp index 6bfa6fd0be..6bfa6fd0be 100644 --- a/tools/viewer/sk_app/unix/RasterWindowContext_unix.cpp +++ b/tools/sk_app/unix/RasterWindowContext_unix.cpp diff --git a/tools/viewer/sk_app/unix/VulkanWindowContext_unix.cpp b/tools/sk_app/unix/VulkanWindowContext_unix.cpp index b2f1ffc763..b2f1ffc763 100644 --- a/tools/viewer/sk_app/unix/VulkanWindowContext_unix.cpp +++ b/tools/sk_app/unix/VulkanWindowContext_unix.cpp diff --git a/tools/viewer/sk_app/unix/WindowContextFactory_unix.h b/tools/sk_app/unix/WindowContextFactory_unix.h index e6d033b4cd..e6d033b4cd 100644 --- a/tools/viewer/sk_app/unix/WindowContextFactory_unix.h +++ b/tools/sk_app/unix/WindowContextFactory_unix.h diff --git a/tools/viewer/sk_app/unix/Window_unix.cpp b/tools/sk_app/unix/Window_unix.cpp index f5ca5ee073..f5ca5ee073 100644 --- a/tools/viewer/sk_app/unix/Window_unix.cpp +++ b/tools/sk_app/unix/Window_unix.cpp diff --git a/tools/viewer/sk_app/unix/Window_unix.h b/tools/sk_app/unix/Window_unix.h index b59f502eb9..b59f502eb9 100644 --- a/tools/viewer/sk_app/unix/Window_unix.h +++ b/tools/sk_app/unix/Window_unix.h diff --git a/tools/viewer/sk_app/unix/main_unix.cpp b/tools/sk_app/unix/main_unix.cpp index 4d9a64d6b6..4d9a64d6b6 100644 --- a/tools/viewer/sk_app/unix/main_unix.cpp +++ b/tools/sk_app/unix/main_unix.cpp diff --git a/tools/viewer/sk_app/win/ANGLEWindowContext_win.cpp b/tools/sk_app/win/ANGLEWindowContext_win.cpp index bfdff5c6f4..bfdff5c6f4 100644 --- a/tools/viewer/sk_app/win/ANGLEWindowContext_win.cpp +++ b/tools/sk_app/win/ANGLEWindowContext_win.cpp diff --git a/tools/viewer/sk_app/win/GLWindowContext_win.cpp b/tools/sk_app/win/GLWindowContext_win.cpp index 17a6b32962..17a6b32962 100644 --- a/tools/viewer/sk_app/win/GLWindowContext_win.cpp +++ b/tools/sk_app/win/GLWindowContext_win.cpp diff --git a/tools/viewer/sk_app/win/RasterWindowContext_win.cpp b/tools/sk_app/win/RasterWindowContext_win.cpp index 85bb65e674..85bb65e674 100644 --- a/tools/viewer/sk_app/win/RasterWindowContext_win.cpp +++ b/tools/sk_app/win/RasterWindowContext_win.cpp diff --git a/tools/viewer/sk_app/win/VulkanWindowContext_win.cpp b/tools/sk_app/win/VulkanWindowContext_win.cpp index 16c527cba0..16c527cba0 100644 --- a/tools/viewer/sk_app/win/VulkanWindowContext_win.cpp +++ b/tools/sk_app/win/VulkanWindowContext_win.cpp diff --git a/tools/viewer/sk_app/win/WindowContextFactory_win.h b/tools/sk_app/win/WindowContextFactory_win.h index 959b529f49..959b529f49 100644 --- a/tools/viewer/sk_app/win/WindowContextFactory_win.h +++ b/tools/sk_app/win/WindowContextFactory_win.h diff --git a/tools/viewer/sk_app/win/Window_win.cpp b/tools/sk_app/win/Window_win.cpp index 10db0ec675..10db0ec675 100644 --- a/tools/viewer/sk_app/win/Window_win.cpp +++ b/tools/sk_app/win/Window_win.cpp diff --git a/tools/viewer/sk_app/win/Window_win.h b/tools/sk_app/win/Window_win.h index 139ab874c6..139ab874c6 100644 --- a/tools/viewer/sk_app/win/Window_win.h +++ b/tools/sk_app/win/Window_win.h diff --git a/tools/viewer/sk_app/win/main_win.cpp b/tools/sk_app/win/main_win.cpp index 4800258973..4800258973 100644 --- a/tools/viewer/sk_app/win/main_win.cpp +++ b/tools/sk_app/win/main_win.cpp diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp index 2108b09cb5..919fac00cf 100644 --- a/tools/viewer/Viewer.cpp +++ b/tools/viewer/Viewer.cpp @@ -1564,7 +1564,7 @@ void Viewer::updateUIState() { state.append(softkeyState); state.append(fpsState); - fWindow->setUIState(state); + fWindow->setUIState(state.toStyledString().c_str()); } void Viewer::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { diff --git a/tools/viewer/Viewer.h b/tools/viewer/Viewer.h index f121c17994..24f68b4964 100644 --- a/tools/viewer/Viewer.h +++ b/tools/viewer/Viewer.h @@ -13,6 +13,7 @@ #include "sk_app/Window.h" #include "gm.h" #include "SkAnimTimer.h" +#include "SkJSONCPP.h" #include "SkTouchGesture.h" #include "Slide.h" |