mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
fix drawing of buttons (bug 2328)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13382 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
368fad3297
commit
a4bdff534b
@ -1,3 +1,8 @@
|
||||
2006-03-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* Painter.C (buttonFrame): draw lines instead of trapezoids; it is
|
||||
simpler and fixes drawing with Qt frontend (bug 2328).
|
||||
|
||||
2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
|
||||
* LyXView.C (updateInset): scroll bar fix
|
||||
|
@ -35,22 +35,14 @@ void Painter::buttonFrame(int x, int y, int w, int h)
|
||||
int const d = 2;
|
||||
|
||||
fillRectangle(x, y, w, d, LColor::top);
|
||||
fillRectangle(x, (y + h - d), w, d, LColor::bottom);
|
||||
fillRectangle(x, y + h - d, w, d, LColor::bottom);
|
||||
|
||||
// Now a couple of trapezoids
|
||||
int x1[4], y1[4];
|
||||
|
||||
x1[0] = x + d; y1[0] = y + d;
|
||||
x1[1] = x + d; y1[1] = y + h - d;
|
||||
x1[2] = x; y1[2] = y + h;
|
||||
x1[3] = x; y1[3] = y;
|
||||
fillPolygon(x1, y1, 4, LColor::left);
|
||||
|
||||
x1[0] = x + w - d; y1[0] = y + d;
|
||||
x1[1] = x + w - d; y1[1] = y + h - d;
|
||||
x1[2] = x + w; y1[2] = y + h - d;
|
||||
x1[3] = x + w; y1[3] = y;
|
||||
fillPolygon(x1, y1, 4, LColor::right);
|
||||
for (int i = 0 ; i < d ; ++i) {
|
||||
line(x + i, y + i,
|
||||
x + i, y + h - 1 - i, LColor::left);
|
||||
line(x + w - 1 - i, y + i + 1,
|
||||
x + w - 1 - i, y + h - 1 - i, LColor::right);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
14
status.14x
14
status.14x
@ -29,24 +29,26 @@ What's new
|
||||
|
||||
- Fix LaTeX error when \labelitemi was undefined (bug 2053).
|
||||
|
||||
- Translate \verb commands correctly in tex2lyx (bug 2236)
|
||||
- Translate \verb commands correctly in tex2lyx (bug 2236).
|
||||
|
||||
* User Interface:
|
||||
|
||||
- Convert line endings for external copy/paste on OS X (bug 1955)
|
||||
- Convert line endings for external copy/paste on OS X (bug 1955).
|
||||
|
||||
- fix jurabib error with Spanish documents (bug 2365).
|
||||
|
||||
- First change is skipped in "Merge changes..." dialog (bug 2212)
|
||||
- First change is skipped in "Merge changes..." dialog (bug 2212).
|
||||
|
||||
- Improve handling of the labeling environment in KOMA letters (bug 2246).
|
||||
|
||||
- Fix: deleting superscript also deleted subscript (bug 2362)
|
||||
|
||||
- Fix: Mouse click to right of last nestinset in a cell will position cursor
|
||||
to its left
|
||||
- Fix positioning of cursor when clicking to right of last nestinset
|
||||
in a cell.
|
||||
|
||||
- fix cursor positioning in tabulars (bug 2006)
|
||||
- Fix cursor positioning in tabulars (bug 2006).
|
||||
|
||||
- Fix drawing of inset buttons (bug 2328)
|
||||
|
||||
* Configuration/Installation:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user