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
063a6777
Commit
063a6777
authored
Jul 20, 2007
by
Alexander Nicolaysen Sørnes
Committed by
Alexandre Julliard
Aug 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Add bullet points button.
parent
d4ddb7f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
22 deletions
+33
-22
rsrc.rc
programs/wordpad/rsrc.rc
+29
-21
wordpad.c
programs/wordpad/wordpad.c
+4
-1
No files found.
programs/wordpad/rsrc.rc
View file @
063a6777
...
...
@@ -67,9 +67,9 @@ IDB_TOOLBAR BITMAP "toolbar.bmp"
/* BINRES formatbar.bmp */
IDB_FORMATBAR BITMAP "formatbar.bmp"
/* {
'42 4d
7
6 03 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00
6
0 00 00 00 10 00 00 00 01 00 04 00 00 00'
'00 00
0
0 03 00 00 12 0b 00 00 12 0b 00 00 00 00'
'42 4d
f
6 03 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00
7
0 00 00 00 10 00 00 00 01 00 04 00 00 00'
'00 00
8
0 03 00 00 12 0b 00 00 12 0b 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
'00 00 80 80 80 00 c0 c0 c0 00 00 00 ff 00 00 ff'
...
...
@@ -78,48 +78,56 @@ IDB_FORMATBAR BITMAP "formatbar.bmp"
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 00 00 00 00 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'00 00 00 00 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 00'
'00 00 00 00 08 88 88 00 00 00 00 00 00 88 88 88'
'80 00 00 00 00 88 88 80 00 00 00 88 88 88 88 88'
'00 00 08 88 88 88 88 88 80 00 00 08 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 80 08 88 80 08 88 88 88 88'
'80 00 00 00 00 88 84 44 88 88 88 88 88 88 88 80'
'00 00 00 88 88 88 88 88 00 00 08 88 88 88 88 88'
'80 00 00 08 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 84 44'
'88 00 00 00 00 88 88 80 08 88 80 08 88 88 88 88'
'88 08 88 88 88 88 88 88 08 88 88 80 88 88 88 00'
'00 00 08 88 88 88 88 88 80 00 00 08 88 88 88 00'
'00 00 00 00 00 88 88 80 08 88 80 08 88 88 88 88'
'88 08 88 88 88 88 88 88 08 88 88 80 88 88 88 88'
'00 00 00 00 00 88 84 44 88 88 88 88 88 88 88 80'
'08 88 80 08 88 88 88 88 88 08 88 88 88 88 88 88'
'08 88 88 80 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 80 08 88 80 08 88 88 88 88'
'88 08 88 88 88 88 88 88 08 88 88 80 88 88 88 00'
'00 00 00 00 00 88 88 88 00 00 00 00 88 88 88 88'
'88 00 00 00 00 88 88 80 08 88 80 08 88 88 88 88'
'88 80 88 88 88 88 88 88 08 88 88 80 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 00 00 00 00 88 88 88 88 88 88 88 88 88 88 80'
'08 88 80 08 88 88 88 88 88 80 88 88 88 88 88 88'
'08 88 88 80 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 84 44'
'88 88 88 88 88 88 88 80 00 00 00 88 88 88 88 88'
'88 80 88 88 88 88 88 88 08 88 88 80 88 88 88 00'
'00 00 00 08 88 88 88 00 00 00 00 00 00 88 88 88'
'88 88 80 00 00 88 88 80 08 88 80 08 88 88 88 88'
'88 80 88 88 88 88 88 88 08 88 88 80 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 80 00 00 88 84 44 88 00 00 00 00 88 88 80'
'08 88 80 08 88 88 88 88 88 80 88 88 88 88 88 88'
'08 88 88 80 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 84 44'
'88 88 88 88 88 88 88 80 08 88 80 08 88 88 88 88'
'88 88 08 88 88 88 88 88 08 88 88 80 88 88 88 00'
'00 00 00 00 00 88 88 88 00 00 00 00 88 88 88 80'
'00 00 00 00 00 88 88 80 08 88 80 08 88 88 88 88'
'88 88 08 88 88 88 88 88 08 88 88 80 88 88 88 88'
'00 00 00 00 00 88 88 88 88 88 88 88 88 88 88 80'
'08 88 80 08 88 88 88 88 88 88 08 88 88 88 88 88'
'08 88 88 80 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 80 00 00 00 88 88 88 88 88'
'88 00 00 08 88 88 88 88 08 88 88 80 88 88 88 00'
'00 00 00 88 88 88 88 88 80 00 00 08 88 88 88 88'
'88 00 00 00 00 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 00 00 00 00 88 84 44 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 84 44'
'88 00 00 00 00 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 00'
'00 00 00 00 00 88 88 00 00 00 00 00 00 88 88 00'
'00 00 00 00 00 88 88 88 88 88 88 88 88 88 88 88'
'00 00 00 00 00 88 84 44 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88 88 88 88 88 88 88 88 88 88 88'
'88 88 88 88 88 88'
...
...
programs/wordpad/wordpad.c
View file @
063a6777
...
...
@@ -663,7 +663,7 @@ static LRESULT OnCreate( HWND hWnd, WPARAM wParam, LPARAM lParam)
hFormatBarWnd
=
CreateToolbarEx
(
hReBarWnd
,
CCS_NOPARENTALIGN
|
CCS_NOMOVEY
|
WS_VISIBLE
|
TBSTYLE_TOOLTIPS
|
TBSTYLE_BUTTON
,
IDC_FORMATBAR
,
6
,
hInstance
,
IDB_FORMATBAR
,
NULL
,
0
,
16
,
16
,
16
,
16
,
sizeof
(
TBBUTTON
));
IDC_FORMATBAR
,
7
,
hInstance
,
IDB_FORMATBAR
,
NULL
,
0
,
16
,
16
,
16
,
16
,
sizeof
(
TBBUTTON
));
AddButton
(
hFormatBarWnd
,
0
,
ID_FORMAT_BOLD
);
AddButton
(
hFormatBarWnd
,
1
,
ID_FORMAT_ITALIC
);
...
...
@@ -672,6 +672,8 @@ static LRESULT OnCreate( HWND hWnd, WPARAM wParam, LPARAM lParam)
AddButton
(
hFormatBarWnd
,
3
,
ID_ALIGN_LEFT
);
AddButton
(
hFormatBarWnd
,
4
,
ID_ALIGN_CENTER
);
AddButton
(
hFormatBarWnd
,
5
,
ID_ALIGN_RIGHT
);
AddSeparator
(
hFormatBarWnd
);
AddButton
(
hFormatBarWnd
,
6
,
ID_BULLET
);
SendMessageW
(
hFormatBarWnd
,
TB_AUTOSIZE
,
0
,
0
);
...
...
@@ -759,6 +761,7 @@ static LRESULT OnUser( HWND hWnd, WPARAM wParam, LPARAM lParam)
SendMessageW
(
hwndFormatBar
,
TB_CHECKBUTTON
,
ID_ALIGN_CENTER
,
(
pf
.
wAlignment
==
PFA_CENTER
));
SendMessageW
(
hwndFormatBar
,
TB_CHECKBUTTON
,
ID_ALIGN_RIGHT
,
(
pf
.
wAlignment
==
PFA_RIGHT
));
SendMessageW
(
hwndFormatBar
,
TB_CHECKBUTTON
,
ID_BULLET
,
(
pf
.
wNumbering
&
PFN_BULLET
));
return
0
;
}
...
...
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