Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
flutter::testing::WmCharInfo Struct Reference

#include <wm_builders.h>

Public Member Functions

Win32Message Build (LRESULT expected_result=kWmResultDontCheck)
 

Public Attributes

uint32_t char_code
 
uint8_t scan_code
 
WmFieldExtended extended
 
WmFieldPrevState prev_state
 
WmFieldTransitionState transition
 
WmFieldContext context
 
uint16_t repeat_count = 1
 
bool bit25 = 0
 

Detailed Description

Definition at line 97 of file wm_builders.h.

Member Function Documentation

◆ Build()

Win32Message flutter::testing::WmCharInfo::Build ( LRESULT  expected_result = kWmResultDontCheck)

Definition at line 33 of file wm_builders.cc.

33 {
34 LPARAM lParam = (repeat_count << 0) | (scan_code << 16) | (extended << 24) |
35 (bit25 << 25) | (context << 29) | (prev_state << 30) |
36 (transition << 31);
37 return Win32Message{
38 .message = WM_CHAR,
39 .wParam = char_code,
40 .lParam = lParam,
41 .expected_result = expected_result,
42 };
43}
WmFieldTransitionState transition
WmFieldPrevState prev_state
LONG_PTR LPARAM

Member Data Documentation

◆ bit25

bool flutter::testing::WmCharInfo::bit25 = 0

Definition at line 115 of file wm_builders.h.

◆ char_code

uint32_t flutter::testing::WmCharInfo::char_code

Definition at line 98 of file wm_builders.h.

◆ context

WmFieldContext flutter::testing::WmCharInfo::context

Definition at line 108 of file wm_builders.h.

◆ extended

WmFieldExtended flutter::testing::WmCharInfo::extended

Definition at line 102 of file wm_builders.h.

◆ prev_state

WmFieldPrevState flutter::testing::WmCharInfo::prev_state

Definition at line 104 of file wm_builders.h.

◆ repeat_count

uint16_t flutter::testing::WmCharInfo::repeat_count = 1

Definition at line 110 of file wm_builders.h.

◆ scan_code

uint8_t flutter::testing::WmCharInfo::scan_code

Definition at line 100 of file wm_builders.h.

◆ transition

WmFieldTransitionState flutter::testing::WmCharInfo::transition

Definition at line 106 of file wm_builders.h.


The documentation for this struct was generated from the following files: