- Use a separate icon for minimizing windows.

- Add new icon

svn path=/trunk/; revision=20489
This commit is contained in:
Ged Murphy
2005-12-31 17:27:25 +00:00
parent f9048f833e
commit e3dd268bed
6 changed files with 5 additions and 1 deletions
@@ -393,6 +393,7 @@ void IconCache::init()
_icons[ICID_COMPUTER] = Icon(ICID_COMPUTER, IDI_COMPUTER);
_icons[ICID_LOGOFF] = Icon(ICID_LOGOFF, IDI_LOGOFF);
_icons[ICID_BOOKMARK] = Icon(ICID_BOOKMARK, IDI_DOT_TRANS);
_icons[ICID_MINIMIZE] = Icon(ICID_MINIMIZE, IDI_MINIMIZE);
}
@@ -163,6 +163,7 @@ IDI_ARROW_UP ICON DISCARDABLE "res/arrow_up.ico"
IDI_ARROW_DOWN ICON DISCARDABLE "res/arrow_dwn.ico"
IDI_NOTIFY_L ICON DISCARDABLE "res/notify_l.ico"
IDI_NOTIFY_R ICON DISCARDABLE "res/notify_r.ico"
IDI_MINIMIZE ICON DISCARDABLE "res/minimize.ico"
#endif // Neutral resources
/////////////////////////////////////////////////////////////////////////////
+1
View File
@@ -81,6 +81,7 @@ enum ICON_ID {
ICID_COMPUTER,
ICID_LOGOFF,
ICID_BOOKMARK,
ICID_MINIMIZE,
ICID_DYNAMIC
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

@@ -116,6 +116,7 @@
#define IDI_NOTIFY_R 169
#define IDB_MDI 170
#define IDB_SDI 171
#define IDI_MINIMIZE 172
#define ID_VIEW_NAME 401
#define ID_VIEW_ALL_ATTRIBUTES 402
#define ID_VIEW_SELECTED_ATTRIBUTES 403
@@ -121,7 +121,7 @@ void QuickLaunchBar::AddShortcuts()
COLORREF bk_color = GetSysColor(COLOR_BTNFACE);
HBRUSH bk_brush = GetSysColorBrush(COLOR_BTNFACE);
AddButton(ID_MINIMIZE_ALL, g_Globals._icon_cache.get_icon(ICID_LOGOFF/*@@*/).create_bitmap(bk_color, bk_brush, canvas), ResString(IDS_MINIMIZE_ALL), NULL);
AddButton(ID_MINIMIZE_ALL, g_Globals._icon_cache.get_icon(ICID_MINIMIZE/*@@*/).create_bitmap(bk_color, bk_brush, canvas), ResString(IDS_MINIMIZE_ALL), NULL);
AddButton(ID_EXPLORE, g_Globals._icon_cache.get_icon(ICID_EXPLORER).create_bitmap(bk_color, bk_brush, canvas), ResString(IDS_TITLE), NULL);
TBBUTTON sep = {0, -1, TBSTATE_ENABLED, BTNS_SEP, {0, 0}, 0, 0};