mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-13 11:32:29 +00:00
feat(console): animate console open and close
This commit is contained in:
parent
56092c6700
commit
df1ab32267
6 changed files with 55 additions and 2 deletions
|
|
@ -3,6 +3,7 @@
|
|||
static int32_t s_active;
|
||||
static int32_t s_consoleAccessEnabled;
|
||||
static KEY s_consoleKey = KEY_TILDE;
|
||||
static CONSOLERESIZESTATE s_consoleResizeState = CS_NONE;
|
||||
|
||||
int32_t ConsoleAccessGetEnabled() {
|
||||
return s_consoleAccessEnabled;
|
||||
|
|
@ -20,6 +21,10 @@ KEY ConsoleGetHotKey() {
|
|||
return s_consoleKey;
|
||||
}
|
||||
|
||||
CONSOLERESIZESTATE ConsoleGetResizeState() {
|
||||
return s_consoleResizeState;
|
||||
}
|
||||
|
||||
void ConsoleSetActive(int32_t active) {
|
||||
s_active = active;
|
||||
}
|
||||
|
|
@ -27,3 +32,7 @@ void ConsoleSetActive(int32_t active) {
|
|||
void ConsoleSetHotKey(KEY hotkey) {
|
||||
s_consoleKey = hotkey;
|
||||
}
|
||||
|
||||
void ConsoleSetResizeState(CONSOLERESIZESTATE state) {
|
||||
s_consoleResizeState = state;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue