mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-14 01:59:14 +03:00
Move TexthookMode enum to config.h
This commit is contained in:
+3
-3
@@ -147,13 +147,13 @@ enum {
|
||||
void texthook_set_mode(TexthookMode mode) {
|
||||
#ifndef __EMSCRIPTEN__
|
||||
switch (mode) {
|
||||
case TEXTHOOK_NONE:
|
||||
case TexthookMode::NONE:
|
||||
handler = &none;
|
||||
break;
|
||||
case TEXTHOOK_PRINT:
|
||||
case TexthookMode::PRINT:
|
||||
handler = &print;
|
||||
break;
|
||||
case TEXTHOOK_COPY:
|
||||
case TexthookMode::COPY:
|
||||
handler = ©
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user