diff options
Diffstat (limited to 'src/de/mud/terminal')
-rw-r--r-- | src/de/mud/terminal/SoftFont.java | 5 | ||||
-rw-r--r-- | src/de/mud/terminal/VDUBuffer.java | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/src/de/mud/terminal/SoftFont.java b/src/de/mud/terminal/SoftFont.java index 5f13f28..bd25a60 100644 --- a/src/de/mud/terminal/SoftFont.java +++ b/src/de/mud/terminal/SoftFont.java @@ -1104,15 +1104,14 @@ public class SoftFont { switch (fontdata[entry][SF_TYPE]) { case SF_BITMAP: + p.setStrokeWidth(0); for (h=0;h<fontheight;h++) { for (w=0;w<fontwidth;w++) { //FIXME: 8 bit max currently... if (0!=(fontdata[entry][h+SF_DATA] & (1<<(7-w)))) { - g.drawRect( + g.drawPoint( x+(int)(w*dw), y+(int)(h*dh), - ((int)((w+1)*dw))-(int)(w*dw), - ((int)((h+1)*dh))-(int)(h*dh), p ); } diff --git a/src/de/mud/terminal/VDUBuffer.java b/src/de/mud/terminal/VDUBuffer.java index 7f203e6..a4f8244 100644 --- a/src/de/mud/terminal/VDUBuffer.java +++ b/src/de/mud/terminal/VDUBuffer.java @@ -548,6 +548,14 @@ public class VDUBuffer { } /** + * Check whether the cursor is currently visible. + * @return visibility + */ + public boolean isCursorVisible() { + return showcursor; + } + + /** * Puts the cursor at the specified position. * @param c column * @param l line |