Flutter Windows Embedder
cursor_handler.cc File Reference

Go to the source code of this file.

Namespaces

 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.

Referenced by flutter::testing::TEST_F().

◆ kChannelName

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

Definition at line 13 of file cursor_handler.cc.

Referenced by flutter::testing::TEST_F().

◆ kCreateCustomCursorMethod

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

Definition at line 20 of file cursor_handler.cc.

Referenced by flutter::testing::TEST_F().

◆ 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.

Referenced by flutter::testing::TEST_F().

◆ 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.

Referenced by flutter::testing::TEST_F().