mirror of
https://github.com/leozide/leocad
synced 2024-12-28 22:23:35 +01:00
25 lines
791 B
C
25 lines
791 B
C
#ifndef _LC_SHORTCUTS_H_
|
|
#define _LC_SHORTCUTS_H_
|
|
|
|
#include "lc_commands.h"
|
|
|
|
#define LC_SHORTCUT_LENGTH 32
|
|
|
|
struct lcKeyboardShortcuts
|
|
{
|
|
char Shortcuts[LC_NUM_COMMANDS][LC_SHORTCUT_LENGTH];
|
|
};
|
|
|
|
extern lcKeyboardShortcuts gKeyboardShortcuts;
|
|
|
|
void lcLoadDefaultKeyboardShortcuts();
|
|
void lcSaveDefaultKeyboardShortcuts();
|
|
void lcResetDefaultKeyboardShortcuts();
|
|
|
|
void lcResetKeyboardShortcuts(lcKeyboardShortcuts& Shortcuts);
|
|
bool lcSaveKeyboardShortcuts(const QString& FileName, const lcKeyboardShortcuts& Shortcuts);
|
|
bool lcSaveKeyboardShortcuts(lcFile& File, const lcKeyboardShortcuts& Shortcuts);
|
|
bool lcLoadKeyboardShortcuts(const QString& FileName, lcKeyboardShortcuts& Shortcuts);
|
|
bool lcLoadKeyboardShortcuts(lcFile& File, lcKeyboardShortcuts& Shortcuts);
|
|
|
|
#endif // _LC_SHORTCUTS_H_
|