git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stubs for TFileOpenBox, cleanup putStringXY
[fanfix.git]
/
src
/
jexer
/
TButton.java
diff --git
a/src/jexer/TButton.java
b/src/jexer/TButton.java
index ce04f5c79a51de37c935b71bd74e99043aa3dc49..0fc36a2de2afac6f682e44af5e930289c9cbb60a 100644
(file)
--- a/
src/jexer/TButton.java
+++ b/
src/jexer/TButton.java
@@
-158,11
+158,11
@@
public final class TButton extends TWidget {
if (inButtonPress) {
getScreen().putCharXY(1, 0, ' ', buttonColor);
if (inButtonPress) {
getScreen().putCharXY(1, 0, ' ', buttonColor);
- getScreen().putStrXY(2, 0, mnemonic.getRawLabel(), buttonColor);
+ getScreen().putStr
ing
XY(2, 0, mnemonic.getRawLabel(), buttonColor);
getScreen().putCharXY(getWidth() - 1, 0, ' ', buttonColor);
} else {
getScreen().putCharXY(0, 0, ' ', buttonColor);
getScreen().putCharXY(getWidth() - 1, 0, ' ', buttonColor);
} else {
getScreen().putCharXY(0, 0, ' ', buttonColor);
- getScreen().putStrXY(1, 0, mnemonic.getRawLabel(), buttonColor);
+ getScreen().putStr
ing
XY(1, 0, mnemonic.getRawLabel(), buttonColor);
getScreen().putCharXY(getWidth() - 2, 0, ' ', buttonColor);
getScreen().putCharXY(getWidth() - 1, 0,
getScreen().putCharXY(getWidth() - 2, 0, ' ', buttonColor);
getScreen().putCharXY(getWidth() - 1, 0,