Sleeping Wombat GUI  0.100
swGUI
Functions | Variables
TestKeyEvents.cpp File Reference
#include "swCommonLib/External/Catch/catch.hpp"
#include "swGUI/TestFramework/TestFramework.h"

Functions

void KeyEventReceived (UIElement *sender, KeyEventArgs *e)
 
void PreviewKeyEventReceivedHandled (UIElement *sender, KeyEventArgs *e)
 
void CheckVectorsContent (const std::vector< input::Keyboard::PhysicalKeys > &testUpKeys, const std::vector< input::Keyboard::PhysicalKeys > &testDownKeys)
 
 TEST_CASE ("KeyUp/KeyDown event")
 

Variables

std::vector< input::Keyboard::PhysicalKeysupKeys
 
std::vector< input::Keyboard::PhysicalKeysdownKeys
 

Function Documentation

void CheckVectorsContent ( const std::vector< input::Keyboard::PhysicalKeys > &  testUpKeys,
const std::vector< input::Keyboard::PhysicalKeys > &  testDownKeys 
)
void KeyEventReceived ( UIElement sender,
KeyEventArgs e 
)
void PreviewKeyEventReceivedHandled ( UIElement sender,
KeyEventArgs e 
)
TEST_CASE ( "KeyUp/KeyDown event"  )

Variable Documentation

std::vector< input::Keyboard::PhysicalKeys > downKeys
std::vector< input::Keyboard::PhysicalKeys > upKeys