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
4637a4ef
Commit
4637a4ef
authored
Dec 14, 2007
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Dec 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Make some functions static.
parent
483e3be2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
editor.h
dlls/riched20/editor.h
+0
-4
wrap.c
dlls/riched20/wrap.c
+6
-4
No files found.
dlls/riched20/editor.h
View file @
4637a4ef
...
...
@@ -211,10 +211,6 @@ ME_Style *ME_GetSelectionInsertStyle(ME_TextEditor *editor);
BOOL
ME_UpdateSelection
(
ME_TextEditor
*
editor
,
const
ME_Cursor
*
pTempCursor
);
/* wrap.c */
void
ME_PrepareParagraphForWrapping
(
ME_Context
*
c
,
ME_DisplayItem
*
tp
);
ME_DisplayItem
*
ME_MakeRow
(
int
height
,
int
baseline
,
int
width
);
void
ME_InsertRowStart
(
ME_WrapContext
*
wc
,
const
ME_DisplayItem
*
pEnd
);
void
ME_WrapTextParagraph
(
ME_Context
*
c
,
ME_DisplayItem
*
tp
);
BOOL
ME_WrapMarkedParagraphs
(
ME_TextEditor
*
editor
);
void
ME_InvalidateMarkedParagraphs
(
ME_TextEditor
*
editor
);
void
ME_SendRequestResize
(
ME_TextEditor
*
editor
,
BOOL
force
);
...
...
dlls/riched20/wrap.c
View file @
4637a4ef
...
...
@@ -32,7 +32,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(richedit);
* - no tabs
*/
ME_DisplayItem
*
ME_MakeRow
(
int
height
,
int
baseline
,
int
width
)
static
ME_DisplayItem
*
ME_MakeRow
(
int
height
,
int
baseline
,
int
width
)
{
ME_DisplayItem
*
item
=
ME_MakeDI
(
diStartRow
);
...
...
@@ -51,7 +51,7 @@ static void ME_BeginRow(ME_WrapContext *wc)
wc
->
pt
.
x
=
0
;
}
void
ME_InsertRowStart
(
ME_WrapContext
*
wc
,
const
ME_DisplayItem
*
pEnd
)
static
void
ME_InsertRowStart
(
ME_WrapContext
*
wc
,
const
ME_DisplayItem
*
pEnd
)
{
ME_DisplayItem
*
p
,
*
row
,
*
para
;
int
ascent
=
0
,
descent
=
0
,
width
=
0
,
shift
=
0
,
align
=
0
;
...
...
@@ -336,7 +336,9 @@ static ME_DisplayItem *ME_WrapHandleRun(ME_WrapContext *wc, ME_DisplayItem *p)
return
p
->
next
;
}
void
ME_WrapTextParagraph
(
ME_Context
*
c
,
ME_DisplayItem
*
tp
)
{
static
void
ME_PrepareParagraphForWrapping
(
ME_Context
*
c
,
ME_DisplayItem
*
tp
);
static
void
ME_WrapTextParagraph
(
ME_Context
*
c
,
ME_DisplayItem
*
tp
)
{
ME_DisplayItem
*
p
;
ME_WrapContext
wc
;
int
dpi
=
GetDeviceCaps
(
c
->
hDC
,
LOGPIXELSX
);
...
...
@@ -379,7 +381,7 @@ void ME_WrapTextParagraph(ME_Context *c, ME_DisplayItem *tp) {
}
void
ME_PrepareParagraphForWrapping
(
ME_Context
*
c
,
ME_DisplayItem
*
tp
)
{
static
void
ME_PrepareParagraphForWrapping
(
ME_Context
*
c
,
ME_DisplayItem
*
tp
)
{
ME_DisplayItem
*
p
,
*
pRow
;
/* remove all items that will be reinserted by paragraph wrapper anyway */
...
...
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