#define MAX_LINEINPUT 1024
#define COMPUTE_SCROLL_LINES(height) ((((height) * 2) + 4) / 5)
+
+#define DEFAULT_ICON "DEFAULT_ICON"
\f
typedef struct tagSCREENINFO
{
wndclass.cbClsExtra = 0;
wndclass.cbWndExtra = SCREENEXTRABYTES;
wndclass.hInstance = hInstance;
- wndclass.hIcon = (LoadIcon (hInstance, "SHIELD3_ICON"));
+ wndclass.hIcon = (LoadIcon (hInstance, DEFAULT_ICON));
wndclass.hCursor = (LoadCursor (NULL, IDC_ARROW));
wndclass.hbrBackground = 0;
wndclass.lpszMenuName = 0;
Screen_InitInstance (HANDLE hInstance, int nCmdShow )
{
ghInstance = hInstance;
- ghDefaultIcon = LoadIcon (hInstance, "SHIELD2_ICON");
+ ghDefaultIcon = LoadIcon (hInstance, DEFAULT_ICON);
return TRUE;
}
\f
screen->hWnd = hWnd;
screen->hIcon =
- LoadIcon ((HINSTANCE) GetWindowLong(hWnd,GWL_HINSTANCE), "SHIELD3_ICON");
+ LoadIcon ((HINSTANCE) GetWindowLong(hWnd,GWL_HINSTANCE), DEFAULT_ICON);
screen->chars = NULL;
screen->attrs = NULL;
screen->write_attribute = 0;