Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
cursor_handler.cc File Reference
#include "flutter/shell/platform/windows/cursor_handler.h"
#include <windows.h>
#include "flutter/shell/platform/common/client_wrapper/include/flutter/standard_method_codec.h"
#include "flutter/shell/platform/windows/flutter_windows_engine.h"
#include "flutter/shell/platform/windows/flutter_windows_view.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 

Functions

HCURSOR flutter::GetCursorFromBuffer (const std::vector< uint8_t > &buffer, double hot_x, double hot_y, int width, int height)
 
void flutter::GetMaskBitmaps (HBITMAP bitmap, HBITMAP &mask_bitmap)
 

Variables

static constexpr char kChannelName [] = "flutter/mousecursor"
 
static constexpr char kActivateSystemCursorMethod [] = "activateSystemCursor"
 
static constexpr char kKindKey [] = "kind"
 
static constexpr char kCreateCustomCursorMethod []
 
static constexpr char kCustomCursorNameKey [] = "name"
 
static constexpr char kCustomCursorBufferKey [] = "buffer"
 
static constexpr char kCustomCursorHotXKey [] = "hotX"
 
static constexpr char kCustomCursorHotYKey [] = "hotY"
 
static constexpr char kCustomCursorWidthKey [] = "width"
 
static constexpr char kCustomCursorHeightKey [] = "height"
 
static constexpr char kSetCustomCursorMethod [] = "setCustomCursor/windows"
 
static constexpr char kDeleteCustomCursorMethod []
 
static constexpr char kCursorError [] = "Cursor error"
 

Variable Documentation

◆ kActivateSystemCursorMethod

constexpr char kActivateSystemCursorMethod[] = "activateSystemCursor"
staticconstexpr

Definition at line 15 of file cursor_handler.cc.

◆ kChannelName

constexpr char kChannelName[] = "flutter/mousecursor"
staticconstexpr

Definition at line 13 of file cursor_handler.cc.

◆ kCreateCustomCursorMethod

constexpr char kCreateCustomCursorMethod[]
staticconstexpr
Initial value:
=
"createCustomCursor/windows"

Definition at line 20 of file cursor_handler.cc.

◆ kCursorError

constexpr char kCursorError[] = "Cursor error"
staticconstexpr

Definition at line 46 of file cursor_handler.cc.

◆ kCustomCursorBufferKey

constexpr char kCustomCursorBufferKey[] = "buffer"
staticconstexpr

Definition at line 25 of file cursor_handler.cc.

◆ kCustomCursorHeightKey

constexpr char kCustomCursorHeightKey[] = "height"
staticconstexpr

Definition at line 34 of file cursor_handler.cc.

◆ kCustomCursorHotXKey

constexpr char kCustomCursorHotXKey[] = "hotX"
staticconstexpr

Definition at line 28 of file cursor_handler.cc.

◆ kCustomCursorHotYKey

constexpr char kCustomCursorHotYKey[] = "hotY"
staticconstexpr

Definition at line 30 of file cursor_handler.cc.

◆ kCustomCursorNameKey

constexpr char kCustomCursorNameKey[] = "name"
staticconstexpr

Definition at line 23 of file cursor_handler.cc.

◆ kCustomCursorWidthKey

constexpr char kCustomCursorWidthKey[] = "width"
staticconstexpr

Definition at line 32 of file cursor_handler.cc.

◆ kDeleteCustomCursorMethod

constexpr char kDeleteCustomCursorMethod[]
staticconstexpr
Initial value:
=
"deleteCustomCursor/windows"

Definition at line 42 of file cursor_handler.cc.

◆ kKindKey

constexpr char kKindKey[] = "kind"
staticconstexpr

Definition at line 16 of file cursor_handler.cc.

◆ kSetCustomCursorMethod

constexpr char kSetCustomCursorMethod[] = "setCustomCursor/windows"
staticconstexpr

Definition at line 38 of file cursor_handler.cc.