Commit 442343a3 authored by Erich Hoover's avatar Erich Hoover Committed by Alexandre Julliard

hhctrl.ocx: Use separate icons for 'Hide' and 'Show' toolbar buttons based on…

hhctrl.ocx: Use separate icons for 'Hide' and 'Show' toolbar buttons based on the HIST_VIEWTREE icon.
parent 54bb7bc5
......@@ -810,8 +810,8 @@ static void TB_AddButtonsFromFlags(HHInfo *pHHInfo, TBBUTTON *pButtons, DWORD dw
if (dwButtonFlags & HHWIN_BUTTON_EXPAND)
{
TB_AddButton(pButtons, (*pdwNumButtons)++, IDTB_EXPAND, nHistBitmaps + HIST_VIEWTREE);
TB_AddButton(pButtons, (*pdwNumButtons)++, IDTB_CONTRACT, nHistBitmaps + HIST_VIEWTREE);
TB_AddButton(pButtons, (*pdwNumButtons)++, IDTB_EXPAND, nHHBitmaps + HHTB_EXPAND);
TB_AddButton(pButtons, (*pdwNumButtons)++, IDTB_CONTRACT, nHHBitmaps + HHTB_CONTRACT);
if (pHHInfo->WinType.fNotExpanded)
pButtons[1].fsState |= TBSTATE_HIDDEN;
......
dlls/hhctrl.ocx/hhtoolbar.bmp

9.12 KB | W: | H:

dlls/hhctrl.ocx/hhtoolbar.bmp

13.6 KB | W: | H:

dlls/hhctrl.ocx/hhtoolbar.bmp
dlls/hhctrl.ocx/hhtoolbar.bmp
dlls/hhctrl.ocx/hhtoolbar.bmp
dlls/hhctrl.ocx/hhtoolbar.bmp
  • 2-up
  • Swipe
  • Onion skin
......@@ -38,4 +38,6 @@
#define HHTB_REFRESH 1
#define HHTB_HOME 2
#define HHTB_SYNC 3
#define HHTB_NUMBITMAPS HHTB_SYNC
#define HHTB_CONTRACT 4
#define HHTB_EXPAND 5
#define HHTB_NUMBITMAPS HHTB_EXPAND
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment