mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-13 06:12:49 -06:00
.RichEdit cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@2599 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a74e1468c9
commit
16f3ca6c9b
1 changed files with 3 additions and 3 deletions
|
|
@ -105,13 +105,13 @@ void RichEdit::Paint(Draw& w)
|
|||
if(pagesz.cy == INT_MAX) {
|
||||
pw.size.cy = INT_MAX;
|
||||
if(viewborder)
|
||||
DrawFrame(w, tr.left, (int)sb ? -1 : 0, pw.size.cx + 2, 9999, SColorShadow);
|
||||
DrawFrame(w, tr.left - 1, (int)sb ? -1 : 0, pw.size.cx + 4, 9999, SColorShadow);
|
||||
}
|
||||
else
|
||||
if(viewborder)
|
||||
for(int i = 0; i <= py.page; i++)
|
||||
DrawFrame(w, tr.left, i * (pw.size.cy + 3) + 1 - sb,
|
||||
pw.size.cx + 2, pw.size.cy + 2, SColorShadow);
|
||||
DrawFrame(w, tr.left - 1, i * (pw.size.cy + 3) + 1 - sb,
|
||||
pw.size.cx + 4, pw.size.cy + 2, SColorShadow);
|
||||
PaintInfo pi;
|
||||
pi.context = context;
|
||||
pi.zoom = zoom;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue