aboutsummaryrefslogtreecommitdiff
path: root/RadTerminal.h
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2021-10-01 10:15:22 -0400
committerJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2021-10-01 10:15:22 -0400
commit7f2c8e1885f8e0cc74a3de206c8cf564b7b54124 (patch)
tree41429264bc80622b51c3f19ee8f78b35c3f014de /RadTerminal.h
parent1f1b1d50f5ea1de76339740711aefe7d116099ba (diff)
downloadRadTerminal-7f2c8e1885f8e0cc74a3de206c8cf564b7b54124.tar.gz
RadTerminal-7f2c8e1885f8e0cc74a3de206c8cf564b7b54124.zip
Added some improved embedded terminal creation routines. Added messages to change foreground and background colors.
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