Changeset 1391 for trunk/dll/mainwnd.c
- Timestamp:
- Jan 12, 2009, 12:55:53 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/mainwnd.c
r1375 r1391 78 78 03 Jan 09 GKY Check for system that is protectonly to gray out Dos/Win command lines and prevent 79 79 Dos/Win programs from being inserted into the execute dialog with message why. 80 11 Jan 09 GKY Replace font names in the string file with global set at compile in init.c 80 81 81 82 ***********************************************************************/ … … 1003 1004 lxScreen = WinQuerySysValue(HWND_DESKTOP, SV_CXSCREEN); 1004 1005 WinSetWindowULong(hwndBubble, QWL_USER, hwnd); 1005 SetPresParams(hwndBubble, NULL, NULL, NULL, GetPString(IDS_8HELVTEXT)); 1006 //fixme to allow user to change presparams 1-10-09 GKY 1007 SetPresParams(hwndBubble, NULL, NULL, NULL, FNT_8HELVETICA); 1006 1008 hps = WinGetPS(hwndBubble); 1007 1009 p = help; … … 1226 1228 break; 1227 1229 default: 1230 //fixme to allow user to change presparams 1-10-09 GKY 1228 1231 SetPresParams(hwnd, 1229 1232 &RGBGREY, 1230 &RGBBLACK, &RGBGREY, GetPString(IDS_6HELVTEXT));1233 &RGBBLACK, &RGBGREY, FNT_6HELVETICA ); 1231 1234 break; 1232 1235 } … … 1418 1421 DosReleaseMutexSem(hmtxFM2Globals); 1419 1422 //DosExitCritSec(); 1420 SetPresParams(hwndMenu, NULL, NULL, NULL, GetPString(IDS_10SYSPROTEXT)); 1423 //fixme to allow user to change font 1-10-09 GKY 1424 SetPresParams(hwndMenu, NULL, NULL, NULL, FNT_10SYSTEMPROPORT); 1421 1425 if (PopupMenu(hwnd, hwnd, hwndMenu)) 1422 1426 WinShowWindow(hwndMenu, TRUE); … … 1615 1619 SetPresParams(hwndTool, 1616 1620 &RGBGREY, 1617 &RGBBLACK, &RGBGREY, GetPString(IDS_2SYSTEMVIOTEXT));1621 &RGBBLACK, &RGBGREY, FNT_2SYSTEMVIO); 1618 1622 } 1619 1623 } 1620 1624 ctrlxpos += ((tool->flags & T_TEXT) ? 55L : 33L); 1625 //fixme to allow user to change presparams 1-10-09 GKY 1621 1626 SetPresParams(WinWindowFromID(hwndT, tool->id), 1622 NULL, NULL, NULL, GetPString(IDS_8HELVTEXT));1627 NULL, NULL, NULL, FNT_8HELVETICA); 1623 1628 tool = tool->next; 1624 1629 } // while tool … … 1795 1800 memset(&rgb, 0, sizeof(rgb)); 1796 1801 rgb.bRed = (BYTE)128; 1802 //fixme to allow user to change presparams 1-10-09 GKY 1797 1803 SetPresParams(hwnd, 1798 &RGBGREY, &rgb, &RGBGREY, GetPString(IDS_8HELVTEXT));1804 &RGBGREY, &rgb, &RGBGREY, FNT_8HELVETICA); 1799 1805 SetTargetDir(hwnd, TRUE); 1800 1806 } … … 2269 2275 Win_Error2(hwndT, HWND_DESKTOP, pszSrcFile, __LINE__, 2270 2276 IDS_WINCREATEWINDOW); 2271 else { 2277 else { 2278 //fixme to allow user to change presparams 1-10-09 GKY 2272 2279 SetPresParams(hwndB, 2273 2280 &RGBGREY, 2274 &RGBBLACK, &RGBGREY, GetPString(IDS_6HELVTEXT));2281 &RGBBLACK, &RGBGREY, FNT_6HELVETICA); 2275 2282 WinSetWindowPos(hwndB, HWND_BOTTOM, 0, 0, 0, 0, SWP_ZORDER); 2276 2283 } … … 2331 2338 { 2332 2339 MRESULT mr = PFNWPStatic(hwnd, msg, mp1, mp2); 2333 2340 //fixme to allow user to change presparams 1-10-09 GKY 2334 2341 SetPresParams(hwnd, 2335 2342 &RGBGREY, 2336 &RGBBLACK, &RGBGREY, GetPString(IDS_8HELVBOLDTEXT));2343 &RGBBLACK, &RGBGREY, FNT_8HELVETICABOLD); 2337 2344 return mr; 2338 2345 } … … 5618 5625 else { 5619 5626 WinSubclassWindow(WinWindowFromID(hwndFrame, IDM_IDEALSIZE), 5620 IdealButtonProc); 5627 IdealButtonProc); 5628 //fixme to allow user to change presparams 1-10-09 GKY 5621 5629 SetPresParams(WinWindowFromID(hwndFrame, 5622 5630 IDM_IDEALSIZE), 5623 NULL, NULL, NULL, GetPString(IDS_10SYSTEMVIOTEXT));5631 NULL, NULL, NULL, FNT_10SYSTEMVIO); 5624 5632 } 5625 5633 … … 5721 5729 if (!hwndDrivelist) 5722 5730 Win_Error2(hwnd, hwnd, pszSrcFile, __LINE__, IDS_WINCREATEWINDOW); 5731 //fixme to allow user to change presparams 1-10-09 GKY 5723 5732 SetPresParams(hwndDrivelist, 5724 NULL, NULL, NULL, GetPString(IDS_10SYSTEMMONOTEXT));5733 NULL, NULL, NULL, "10.System Monospaced"); 5725 5734 hwndButtonlist = WinCreateWindow(hwndFrame, 5726 5735 WC_COMBOBOX,
Note:
See TracChangeset
for help on using the changeset viewer.