| 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"`
`#include "flutter/shell/platform/windows/flutter_windows_view.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 15 of file cursor_handler.cc.

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

## ◆ kChannelName

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

Definition at line 13 of file cursor_handler.cc.

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

## ◆ kCreateCustomCursorMethod

constexpr char kCreateCustomCursorMethod[]
| static constexpr

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

Definition at line 46 of file cursor_handler.cc.

## ◆ kCustomCursorBufferKey

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

Definition at line 25 of file cursor_handler.cc.

## ◆ kCustomCursorHeightKey

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

Definition at line 34 of file cursor_handler.cc.

## ◆ kCustomCursorHotXKey

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

Definition at line 28 of file cursor_handler.cc.

## ◆ kCustomCursorHotYKey

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

Definition at line 30 of file cursor_handler.cc.

## ◆ kCustomCursorNameKey

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

Definition at line 23 of file cursor_handler.cc.

## ◆ kCustomCursorWidthKey

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

Definition at line 32 of file cursor_handler.cc.

## ◆ kDeleteCustomCursorMethod

constexpr char kDeleteCustomCursorMethod[]
| static constexpr

Initial value:
=
"deleteCustomCursor/windows"

Definition at line 42 of file cursor_handler.cc.

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

## ◆ kKindKey

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

Definition at line 16 of file cursor_handler.cc.

## ◆ kSetCustomCursorMethod

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

Definition at line 38 of file cursor_handler.cc.

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