Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1115e320
Commit
1115e320
authored
Jan 20, 2011
by
Erich Hoover
Committed by
Alexandre Julliard
Jan 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hhctrl.ocx: Add some private toolbar bitmaps (copied from shdocvw).
parent
d127f008
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
5 deletions
+21
-5
Makefile.in
dlls/hhctrl.ocx/Makefile.in
+2
-0
help.c
dlls/hhctrl.ocx/help.c
+10
-5
hhctrl.rc
dlls/hhctrl.ocx/hhctrl.rc
+3
-0
hhtoolbar.bmp
dlls/hhctrl.ocx/hhtoolbar.bmp
+0
-0
hhtoolbar.svg
dlls/hhctrl.ocx/hhtoolbar.svg
+0
-0
resource.h
dlls/hhctrl.ocx/resource.h
+6
-0
No files found.
dlls/hhctrl.ocx/Makefile.in
View file @
1115e320
...
...
@@ -17,4 +17,6 @@ IDL_R_SRCS = hhctrl_tlb.idl
RC_SRCS
=
hhctrl.rc
PO_SRCS
=
hhctrl.rc
SVG_SRCS
=
hhtoolbar.svg
@MAKE_DLL_RULES@
dlls/hhctrl.ocx/help.c
View file @
1115e320
...
...
@@ -773,15 +773,20 @@ static void TB_AddButton(TBBUTTON *pButtons, DWORD dwIndex, DWORD dwID, DWORD dw
static
void
TB_AddButtonsFromFlags
(
HHInfo
*
pHHInfo
,
TBBUTTON
*
pButtons
,
DWORD
dwButtonFlags
,
LPDWORD
pdwNumButtons
)
{
int
nHistBitmaps
=
0
,
nStdBitmaps
=
0
,
nHHBitmaps
=
0
;
HWND
hToolbar
=
pHHInfo
->
WinType
.
hwndToolBar
;
int
nHistBitmaps
=
0
,
nStdBitmaps
=
0
;
TBADDBITMAP
tbAB
;
/* Common bitmaps */
tbAB
.
hInst
=
HINST_COMMCTRL
;
tbAB
.
nID
=
IDB_HIST_LARGE_COLOR
;
nHistBitmaps
=
SendMessageW
(
hToolbar
,
TB_ADDBITMAP
,
0
,
(
LPARAM
)
&
tbAB
);
tbAB
.
nID
=
IDB_STD_LARGE_COLOR
;
nStdBitmaps
=
SendMessageW
(
hToolbar
,
TB_ADDBITMAP
,
0
,
(
LPARAM
)
&
tbAB
);
/* hhctrl.ocx bitmaps */
tbAB
.
hInst
=
hhctrl_hinstance
;
tbAB
.
nID
=
IDB_HHTOOLBAR
;
nHHBitmaps
=
SendMessageW
(
hToolbar
,
TB_ADDBITMAP
,
0
,
(
LPARAM
)
&
tbAB
);
*
pdwNumButtons
=
0
;
...
...
@@ -802,16 +807,16 @@ static void TB_AddButtonsFromFlags(HHInfo *pHHInfo, TBBUTTON *pButtons, DWORD dw
if
(
dwButtonFlags
&
HHWIN_BUTTON_FORWARD
)
TB_AddButton
(
pButtons
,
(
*
pdwNumButtons
)
++
,
IDTB_FORWARD
,
nHistBitmaps
+
HIST_FORWARD
);
/* FIXME: Load the correct button bitmaps */
if
(
dwButtonFlags
&
HHWIN_BUTTON_STOP
)
TB_AddButton
(
pButtons
,
(
*
pdwNumButtons
)
++
,
IDTB_STOP
,
n
StdBitmaps
+
STD_PRINT
);
TB_AddButton
(
pButtons
,
(
*
pdwNumButtons
)
++
,
IDTB_STOP
,
n
HHBitmaps
+
HH_STOP
);
if
(
dwButtonFlags
&
HHWIN_BUTTON_REFRESH
)
TB_AddButton
(
pButtons
,
(
*
pdwNumButtons
)
++
,
IDTB_REFRESH
,
n
StdBitmaps
+
STD_PRINT
);
TB_AddButton
(
pButtons
,
(
*
pdwNumButtons
)
++
,
IDTB_REFRESH
,
n
HHBitmaps
+
HH_REFRESH
);
if
(
dwButtonFlags
&
HHWIN_BUTTON_HOME
)
TB_AddButton
(
pButtons
,
(
*
pdwNumButtons
)
++
,
IDTB_HOME
,
n
StdBitmaps
+
STD_PRINT
);
TB_AddButton
(
pButtons
,
(
*
pdwNumButtons
)
++
,
IDTB_HOME
,
n
HHBitmaps
+
HH_HOME
);
/* FIXME: Load the correct button bitmaps */
if
(
dwButtonFlags
&
HHWIN_BUTTON_SYNC
)
TB_AddButton
(
pButtons
,
(
*
pdwNumButtons
)
++
,
IDTB_SYNC
,
nStdBitmaps
+
STD_PRINT
);
...
...
dlls/hhctrl.ocx/hhctrl.rc
View file @
1115e320
...
...
@@ -90,3 +90,6 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define WINE_PRODUCTVERSION_STR "5.2.3790.2744"
#include "wine/wine_common_ver.rc"
/* @makedep: hhtoolbar.bmp */
IDB_HHTOOLBAR BITMAP hhtoolbar.bmp
dlls/hhctrl.ocx/hhtoolbar.bmp
0 → 100644
View file @
1115e320
6.87 KB
dlls/hhctrl.ocx/hhtoolbar.svg
0 → 100644
View file @
1115e320
This diff is collapsed.
Click to expand it.
dlls/hhctrl.ocx/resource.h
View file @
1115e320
...
...
@@ -31,3 +31,9 @@
#define IDS_SHOWTABS 6
#define MENU_POPUP 1
#define IDB_HHTOOLBAR 1000
/* IDB_HHTOOLBAR bitmaps: */
#define HH_STOP 0
#define HH_REFRESH 1
#define HH_HOME 2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment