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
89ef25e2
Commit
89ef25e2
authored
Feb 09, 2004
by
Huw Davies
Committed by
Alexandre Julliard
Feb 09, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the BTNS_* toolbar button style defines rather than the outdated
TBSTYLE_*.
parent
932a102d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
23 deletions
+23
-23
toolbar.c
dlls/comctl32/toolbar.c
+0
-0
filedlg.c
dlls/commdlg/filedlg.c
+9
-9
shlview.c
dlls/shell32/shlview.c
+5
-5
winefile.c
programs/winefile/winefile.c
+9
-9
No files found.
dlls/comctl32/toolbar.c
View file @
89ef25e2
This diff is collapsed.
Click to expand it.
dlls/commdlg/filedlg.c
View file @
89ef25e2
...
@@ -1017,15 +1017,15 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd)
...
@@ -1017,15 +1017,15 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd)
TBBUTTON
tbb
[]
=
TBBUTTON
tbb
[]
=
{
{
{
0
,
0
,
TBSTATE_ENABLED
,
TBSTYLE
_SEP
,
{
0
,
0
},
0
,
0
},
{
0
,
0
,
TBSTATE_ENABLED
,
BTNS
_SEP
,
{
0
,
0
},
0
,
0
},
{
VIEW_PARENTFOLDER
,
FCIDM_TB_UPFOLDER
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
VIEW_PARENTFOLDER
,
FCIDM_TB_UPFOLDER
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
0
,
0
,
TBSTATE_ENABLED
,
TBSTYLE
_SEP
,
{
0
,
0
},
0
,
0
},
{
0
,
0
,
TBSTATE_ENABLED
,
BTNS
_SEP
,
{
0
,
0
},
0
,
0
},
{
VIEW_NEWFOLDER
+
1
,
FCIDM_TB_DESKTOP
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
VIEW_NEWFOLDER
+
1
,
FCIDM_TB_DESKTOP
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
0
,
0
,
TBSTATE_ENABLED
,
TBSTYLE
_SEP
,
{
0
,
0
},
0
,
0
},
{
0
,
0
,
TBSTATE_ENABLED
,
BTNS
_SEP
,
{
0
,
0
},
0
,
0
},
{
VIEW_NEWFOLDER
,
FCIDM_TB_NEWFOLDER
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
VIEW_NEWFOLDER
,
FCIDM_TB_NEWFOLDER
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
0
,
0
,
TBSTATE_ENABLED
,
TBSTYLE
_SEP
,
{
0
,
0
},
0
,
0
},
{
0
,
0
,
TBSTATE_ENABLED
,
BTNS
_SEP
,
{
0
,
0
},
0
,
0
},
{
VIEW_LIST
,
FCIDM_TB_SMALLICON
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
VIEW_LIST
,
FCIDM_TB_SMALLICON
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
VIEW_DETAILS
,
FCIDM_TB_REPORTVIEW
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
VIEW_DETAILS
,
FCIDM_TB_REPORTVIEW
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
,
{
0
,
0
},
0
,
0
},
};
};
TBADDBITMAP
tba
[
2
];
TBADDBITMAP
tba
[
2
];
RECT
rectTB
;
RECT
rectTB
;
...
...
dlls/shell32/shlview.c
View file @
89ef25e2
...
@@ -149,10 +149,10 @@ typedef struct
...
@@ -149,10 +149,10 @@ typedef struct
MYTOOLINFO
Tools
[]
=
MYTOOLINFO
Tools
[]
=
{
{
{
FCIDM_SHVIEW_BIGICON
,
0
,
0
,
IDS_VIEW_LARGE
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
},
{
FCIDM_SHVIEW_BIGICON
,
0
,
0
,
IDS_VIEW_LARGE
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
},
{
FCIDM_SHVIEW_SMALLICON
,
0
,
0
,
IDS_VIEW_SMALL
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
},
{
FCIDM_SHVIEW_SMALLICON
,
0
,
0
,
IDS_VIEW_SMALL
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
},
{
FCIDM_SHVIEW_LISTVIEW
,
0
,
0
,
IDS_VIEW_LIST
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
},
{
FCIDM_SHVIEW_LISTVIEW
,
0
,
0
,
IDS_VIEW_LIST
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
},
{
FCIDM_SHVIEW_REPORTVIEW
,
0
,
0
,
IDS_VIEW_DETAILS
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
},
{
FCIDM_SHVIEW_REPORTVIEW
,
0
,
0
,
IDS_VIEW_DETAILS
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
},
{
-
1
,
0
,
0
,
0
,
0
,
0
}
{
-
1
,
0
,
0
,
0
,
0
,
0
}
};
};
...
@@ -710,7 +710,7 @@ static HMENU ShellView_BuildFileMenu(IShellViewImpl * This)
...
@@ -710,7 +710,7 @@ static HMENU ShellView_BuildFileMenu(IShellViewImpl * This)
mii
.
cbSize
=
sizeof
(
mii
);
mii
.
cbSize
=
sizeof
(
mii
);
mii
.
fMask
=
MIIM_TYPE
|
MIIM_ID
|
MIIM_STATE
;
mii
.
fMask
=
MIIM_TYPE
|
MIIM_ID
|
MIIM_STATE
;
if
(
TBSTYLE
_SEP
!=
Tools
[
i
].
bStyle
)
/* no separator*/
if
(
BTNS
_SEP
!=
Tools
[
i
].
bStyle
)
/* no separator*/
{
{
mii
.
fType
=
MFT_STRING
;
mii
.
fType
=
MFT_STRING
;
mii
.
fState
=
MFS_ENABLED
;
mii
.
fState
=
MFS_ENABLED
;
...
...
programs/winefile/winefile.c
View file @
89ef25e2
...
@@ -3560,7 +3560,7 @@ void show_frame(HWND hwndParent, int cmdshow)
...
@@ -3560,7 +3560,7 @@ void show_frame(HWND hwndParent, int cmdshow)
{
{
TBBUTTON
drivebarBtn
=
{
0
,
0
,
TBSTATE_ENABLED
,
TBSTYLE
_SEP
,
{
0
,
0
},
0
,
0
};
TBBUTTON
drivebarBtn
=
{
0
,
0
,
TBSTATE_ENABLED
,
BTNS
_SEP
,
{
0
,
0
},
0
,
0
};
int
btn
=
1
;
int
btn
=
1
;
PTSTR
p
;
PTSTR
p
;
...
@@ -3571,7 +3571,7 @@ void show_frame(HWND hwndParent, int cmdshow)
...
@@ -3571,7 +3571,7 @@ void show_frame(HWND hwndParent, int cmdshow)
GetLogicalDriveStrings
(
BUFFER_LEN
,
Globals
.
drives
);
GetLogicalDriveStrings
(
BUFFER_LEN
,
Globals
.
drives
);
drivebarBtn
.
fsStyle
=
TBSTYLE
_BUTTON
;
drivebarBtn
.
fsStyle
=
BTNS
_BUTTON
;
#ifndef _NO_EXTENSIONS
#ifndef _NO_EXTENSIONS
#ifdef __WINE__
#ifdef __WINE__
...
@@ -3621,14 +3621,14 @@ void show_frame(HWND hwndParent, int cmdshow)
...
@@ -3621,14 +3621,14 @@ void show_frame(HWND hwndParent, int cmdshow)
{
{
TBBUTTON
toolbarBtns
[]
=
{
TBBUTTON
toolbarBtns
[]
=
{
{
0
,
0
,
0
,
TBSTYLE
_SEP
,
{
0
,
0
},
0
,
0
},
{
0
,
0
,
0
,
BTNS
_SEP
,
{
0
,
0
},
0
,
0
},
{
0
,
ID_WINDOW_NEW
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
0
,
ID_WINDOW_NEW
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
1
,
ID_WINDOW_CASCADE
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
1
,
ID_WINDOW_CASCADE
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
2
,
ID_WINDOW_TILE_HORZ
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
2
,
ID_WINDOW_TILE_HORZ
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
3
,
ID_WINDOW_TILE_VERT
,
TBSTATE_ENABLED
,
TBSTYLE
_BUTTON
,
{
0
,
0
},
0
,
0
},
{
3
,
ID_WINDOW_TILE_VERT
,
TBSTATE_ENABLED
,
BTNS
_BUTTON
,
{
0
,
0
},
0
,
0
},
/*TODO
/*TODO
{4, ID_... , TBSTATE_ENABLED,
TBSTYLE
_BUTTON},
{4, ID_... , TBSTATE_ENABLED,
BTNS
_BUTTON},
{5, ID_... , TBSTATE_ENABLED,
TBSTYLE
_BUTTON},
{5, ID_... , TBSTATE_ENABLED,
BTNS
_BUTTON},
*/
};
*/
};
Globals
.
htoolbar
=
CreateToolbarEx
(
Globals
.
hMainWnd
,
WS_CHILD
|
WS_VISIBLE
,
Globals
.
htoolbar
=
CreateToolbarEx
(
Globals
.
hMainWnd
,
WS_CHILD
|
WS_VISIBLE
,
...
...
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