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
Prep for 2019 release
[fanfix.git]
/
src
/
jexer
/
TRadioButton.java
diff --git
a/src/jexer/TRadioButton.java
b/src/jexer/TRadioButton.java
index da077037daec96a0474406fc9158a47a76072a58..b4170ba82cbd579494e2967f0055e5ecedfe09ac 100644
(file)
--- a/
src/jexer/TRadioButton.java
+++ b/
src/jexer/TRadioButton.java
@@
-3,7
+3,7
@@
*
* The MIT License (MIT)
*
*
* The MIT License (MIT)
*
- * Copyright (C) 201
7
Kevin Lamonte
+ * Copyright (C) 201
9
Kevin Lamonte
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@
-158,15
+158,14
@@
public class TRadioButton extends TWidget {
radioButtonColor = getTheme().getColor("tradiobutton.inactive");
}
radioButtonColor = getTheme().getColor("tradiobutton.inactive");
}
-
getScreen().
putCharXY(0, 0, '(', radioButtonColor);
+ putCharXY(0, 0, '(', radioButtonColor);
if (selected) {
if (selected) {
- getScreen().putCharXY(1, 0, GraphicsChars.CP437[0x07],
- radioButtonColor);
+ putCharXY(1, 0, GraphicsChars.CP437[0x07], radioButtonColor);
} else {
} else {
-
getScreen().
putCharXY(1, 0, ' ', radioButtonColor);
+ putCharXY(1, 0, ' ', radioButtonColor);
}
}
-
getScreen().
putCharXY(2, 0, ')', radioButtonColor);
-
getScreen().
putStringXY(4, 0, label, radioButtonColor);
+ putCharXY(2, 0, ')', radioButtonColor);
+ putStringXY(4, 0, label, radioButtonColor);
}
// ------------------------------------------------------------------------
}
// ------------------------------------------------------------------------