| Flutter Windows Embedder |

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"`

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"
| static constexpr

Definition at line 14 of file cursor_handler.cc.

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

## ◆ kChannelName

constexpr char kChannelName[] = "flutter/mousecursor"
| static constexpr

Definition at line 12 of file cursor_handler.cc.

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

## ◆ kCreateCustomCursorMethod

constexpr char kCreateCustomCursorMethod[]
| static constexpr

Initial value:
=
"createCustomCursor/windows"

Definition at line 19 of file cursor_handler.cc.

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

## ◆ kCursorError

constexpr char kCursorError[] = "Cursor error"
| static constexpr

Definition at line 45 of file cursor_handler.cc.

## ◆ kCustomCursorBufferKey

constexpr char kCustomCursorBufferKey[] = "buffer"
| static constexpr

Definition at line 24 of file cursor_handler.cc.

## ◆ kCustomCursorHeightKey

constexpr char kCustomCursorHeightKey[] = "height"
| static constexpr

Definition at line 33 of file cursor_handler.cc.

## ◆ kCustomCursorHotXKey

constexpr char kCustomCursorHotXKey[] = "hotX"
| static constexpr

Definition at line 27 of file cursor_handler.cc.

## ◆ kCustomCursorHotYKey

constexpr char kCustomCursorHotYKey[] = "hotY"
| static constexpr

Definition at line 29 of file cursor_handler.cc.

## ◆ kCustomCursorNameKey

constexpr char kCustomCursorNameKey[] = "name"
| static constexpr

Definition at line 22 of file cursor_handler.cc.

## ◆ kCustomCursorWidthKey

constexpr char kCustomCursorWidthKey[] = "width"
| static constexpr

Definition at line 31 of file cursor_handler.cc.

## ◆ kDeleteCustomCursorMethod

constexpr char kDeleteCustomCursorMethod[]
| static constexpr

Initial value:
=
"deleteCustomCursor/windows"

Definition at line 41 of file cursor_handler.cc.

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

## ◆ kKindKey

constexpr char kKindKey[] = "kind"
| static constexpr

Definition at line 15 of file cursor_handler.cc.

## ◆ kSetCustomCursorMethod

constexpr char kSetCustomCursorMethod[] = "setCustomCursor/windows"
| static constexpr

Definition at line 37 of file cursor_handler.cc.

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