Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
flutter::testing::WmDeadCharInfo 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
 

Detailed Description

Definition at line 165 of file wm_builders.h.

Member Function Documentation

◆ Build()

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

Definition at line 69 of file wm_builders.cc.

69 {
70 LPARAM lParam = (repeat_count << 0) | (scan_code << 16) | (extended << 24) |
71 (context << 30) | (prev_state << 30) | (transition << 31);
72 return Win32Message{
73 .message = WM_DEADCHAR,
74 .wParam = char_code,
75 .lParam = lParam,
76 .expected_result = expected_result,
77 };
78}
WmFieldTransitionState transition
Definition: wm_builders.h:174
LONG_PTR LPARAM
Definition: windows_types.h:60

Member Data Documentation

◆ char_code

uint32_t flutter::testing::WmDeadCharInfo::char_code

Definition at line 166 of file wm_builders.h.

◆ context

WmFieldContext flutter::testing::WmDeadCharInfo::context

Definition at line 176 of file wm_builders.h.

◆ extended

WmFieldExtended flutter::testing::WmDeadCharInfo::extended

Definition at line 170 of file wm_builders.h.

◆ prev_state

WmFieldPrevState flutter::testing::WmDeadCharInfo::prev_state

Definition at line 172 of file wm_builders.h.

◆ repeat_count

uint16_t flutter::testing::WmDeadCharInfo::repeat_count = 1

Definition at line 178 of file wm_builders.h.

◆ scan_code

uint8_t flutter::testing::WmDeadCharInfo::scan_code

Definition at line 168 of file wm_builders.h.

◆ transition

WmFieldTransitionState flutter::testing::WmDeadCharInfo::transition

Definition at line 174 of file wm_builders.h.


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