aboutsummaryrefslogtreecommitdiff
path: root/RadTerminal.h
diff options
context:
space:
mode:
Diffstat (limited to 'RadTerminal.h')
-rw-r--r--RadTerminal.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/RadTerminal.h b/RadTerminal.h
new file mode 100644
index 0000000..382871b
--- /dev/null
+++ b/RadTerminal.h
@@ -0,0 +1,16 @@
+#pragma once
+
+
+#define RADTERM_DEAD WM_USER+1
+#define RADTERM_SETFORECOLOR WM_USER+2 /* WPARAM is color */
+#define RADTERM_SETBKGDCOLOR WM_USER+3 /* WPARAM is color */
+
+#ifndef BUILD_AS_DLL
+#ifdef RADTERM_DLL
+
+__declspec(dllimport) HWND WINAPI CreateTerminalWindowExW(HINSTANCE hInstance, HWND hParent, LPWSTR fontFace, int fontSize, BOOL darkMode);
+__declspec(dllimport) HWND WINAPI CreateTerminalWindowExA(HINSTANCE hInstance, HWND hParent, LPCSTR fontFace, int fontSize, BOOL darkMode);
+__declspec(dllimport) HWND WINAPI CreateTerminalWindow(HINSTANCE hInstance, HWND hParent, BOOL darkMode);
+
+#endif
+#endif