Flutter Engine
The Flutter Engine
|
#include <Window_ios.h>
Public Member Functions | |
Window_ios () | |
~Window_ios () override | |
bool | initWindow () |
void | setTitle (const char *) override |
void | show () override |
bool | attach (BackendType) override |
void | onInval () override |
UIWindow * | uiWindow () |
Public Member Functions inherited from sk_app::Window | |
virtual | ~Window () |
virtual void | setTitle (const char *)=0 |
virtual void | show ()=0 |
virtual void | setUIState (const char *) |
virtual const char * | getClipboardText () |
virtual void | setClipboardText (const char *) |
void | inval () |
virtual bool | scaleContentToFit () const |
virtual bool | attach (BackendType)=0 |
void | detach () |
void | pushLayer (Layer *layer) |
void | onBackendCreated () |
bool | onChar (SkUnichar c, skui::ModifierKey modifiers) |
bool | onKey (skui::Key key, skui::InputState state, skui::ModifierKey modifiers) |
bool | onMouse (int x, int y, skui::InputState state, skui::ModifierKey modifiers) |
bool | onMouseWheel (float delta, int x, int y, skui::ModifierKey modifiers) |
bool | onTouch (intptr_t owner, skui::InputState state, float x, float y) |
bool | onFling (skui::InputState state) |
bool | onPinch (skui::InputState state, float scale, float x, float y) |
void | onUIStateChanged (const SkString &stateName, const SkString &stateValue) |
void | onPaint () |
void | onResize (int width, int height) |
void | onActivate (bool isActive) |
int | width () const |
int | height () const |
virtual float | scaleFactor () const |
virtual const DisplayParams & | getRequestedDisplayParams () |
virtual void | setRequestedDisplayParams (const DisplayParams &, bool allowReattach=true) |
int | sampleCount () const |
int | stencilBits () const |
GrDirectContext * | directContext () const |
skgpu::graphite::Context * | graphiteContext () const |
skgpu::graphite::Recorder * | graphiteRecorder () const |
Static Public Member Functions | |
static void | PaintWindow () |
static Window_ios * | MainWindow () |
Static Public Member Functions inherited from sk_app::Window | |
static Window * | CreateNativeWindow (void *platformData) |
Additional Inherited Members | |
Public Types inherited from sk_app::Window | |
enum | BackendType { kRaster_BackendType , kLast_BackendType = kRaster_BackendType } |
enum | { kBackendTypeCount = kLast_BackendType + 1 } |
Protected Member Functions inherited from sk_app::Window | |
Window () | |
virtual void | onInval ()=0 |
void | markInvalProcessed () |
void | visitLayers (const std::function< void(Layer *)> &visitor) |
bool | signalLayers (const std::function< bool(Layer *)> &visitor) |
Protected Attributes inherited from sk_app::Window | |
SkTDArray< Layer * > | fLayers |
DisplayParams | fRequestedDisplayParams |
bool | fIsActive = true |
std::unique_ptr< skwindow::WindowContext > | fWindowContext |
bool | fIsContentInvalidated = false |
Definition at line 19 of file Window_ios.h.
|
inline |
Definition at line 21 of file Window_ios.h.
|
inlineoverride |
Definition at line 24 of file Window_ios.h.
|
overridevirtual |
Implements sk_app::Window.
Definition at line 80 of file Window_ios.mm.
bool sk_app::Window_ios::initWindow | ( | ) |
Definition at line 44 of file Window_ios.mm.
|
inlinestatic |
Definition at line 39 of file Window_ios.h.
|
overridevirtual |
Implements sk_app::Window.
Definition at line 117 of file Window_ios.mm.
|
static |
Definition at line 113 of file Window_ios.mm.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inline |
Definition at line 37 of file Window_ios.h.