Elaztek Developer Hub
Blamite Game Engine - Keystone  00402.09.29.23.0627.blamite
A library that enables the use of Qt in Blamite's editing tools.
utils.cpp File Reference
#include "utils.h"
#include <qpixmap.h>
#include <qgraphicsitem.h>
#include <qevent.h>
#include <map>
#include <sdl2/SDL.h>
#include "components/editor_data/editor_data.h"
#include "components/ui/shared/dialogs/error_dialog/error_dialog.h"
#include "components/ui/shared/dialogs/message_box/qt_message_box.h"
+ Include dependency graph for utils.cpp:

Functions

void add_virt_key (int qt_key, int sdl_key)
 
void add_scancode (int qt_key, int sdl_key)
 
void load_virtkey_conversions ()
 
void load_scancode_conversions ()
 

Variables

std::map< int, int > qt_virtual_key_conversions = std::map<int, int>()
 
std::map< int, int > qt_scancode_conversions = std::map<int, int>()
 

Function Documentation

◆ add_scancode()

void add_scancode ( int  qt_key,
int  sdl_key 
)
+ Here is the caller graph for this function:

◆ add_virt_key()

void add_virt_key ( int  qt_key,
int  sdl_key 
)
+ Here is the caller graph for this function:

◆ load_scancode_conversions()

void load_scancode_conversions ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ load_virtkey_conversions()

void load_virtkey_conversions ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ qt_scancode_conversions

std::map<int, int> qt_scancode_conversions = std::map<int, int>()

◆ qt_virtual_key_conversions

std::map<int, int> qt_virtual_key_conversions = std::map<int, int>()