Flutter Engine
The Flutter Engine
|
#include <Window_win.h>
Public Member Functions | |
Window_win () | |
~Window_win () override | |
bool | init (HINSTANCE instance) |
void | setTitle (const char *) override |
void | show () override |
bool | attach (BackendType) override |
void | onInval () override |
void | setRequestedDisplayParams (const DisplayParams &, bool allowReattach) override |
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 |
Additional Inherited Members | |
Public Types inherited from sk_app::Window | |
enum | BackendType { kRaster_BackendType , kLast_BackendType = kRaster_BackendType } |
enum | { kBackendTypeCount = kLast_BackendType + 1 } |
Static Public Member Functions inherited from sk_app::Window | |
static Window * | CreateNativeWindow (void *platformData) |
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 17 of file Window_win.h.
|
inline |
Definition at line 19 of file Window_win.h.
|
override |
Definition at line 53 of file Window_win.cpp.
|
overridevirtual |
Implements sk_app::Window.
Definition at line 350 of file Window_win.cpp.
bool sk_app::Window_win::init | ( | HINSTANCE | instance | ) |
Definition at line 60 of file Window_win.cpp.
|
overridevirtual |
Implements sk_app::Window.
Definition at line 396 of file Window_win.cpp.
|
overridevirtual |
Reimplemented from sk_app::Window.
Definition at line 400 of file Window_win.cpp.
|
overridevirtual |
Implements sk_app::Window.
Definition at line 341 of file Window_win.cpp.
|
overridevirtual |
Implements sk_app::Window.
Definition at line 345 of file Window_win.cpp.