dragboard v0.04
parent
fcbb05753b
commit
1bc9329014
|
|
@ -1,3 +1,4 @@
|
|||
0.01: New App!
|
||||
0.02: Added some missing code.
|
||||
0.03: Made the code shorter and somewhat more readable by writing some functions. Also made it work as a library where it returns the text once finished. The keyboard is now made to exit correctly when the 'back' event is called. The keyboard now uses theme colors correctly, although it still looks best with dark theme. The numbers row is now solidly green - except for highlights.
|
||||
0.04: Now displays the opened text string at launch.
|
||||
|
|
|
|||
|
|
@ -44,12 +44,6 @@ exports.input = function(options) {
|
|||
g.fillRect(NUMPADDING, g.getHeight()-rectHeight*4/3, g.getWidth()-NUMPADDING, g.getHeight()-rectHeight*2/3);
|
||||
}
|
||||
|
||||
function initMarker() {
|
||||
g.setColor(0.5,0,0);
|
||||
g.fillRect(3,4+20,11,13+20);
|
||||
g.setColor(HLCOLOR);
|
||||
}
|
||||
|
||||
function updateTopString() {
|
||||
"ram"
|
||||
g.setColor(BGCOLOR);
|
||||
|
|
@ -64,7 +58,7 @@ exports.input = function(options) {
|
|||
|
||||
drawAbcRow();
|
||||
drawNumRow();
|
||||
initMarker();
|
||||
updateTopString();
|
||||
|
||||
var abcHL;
|
||||
var abcHLPrev = -10;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ "id": "dragboard",
|
||||
"name": "Dragboard",
|
||||
"version":"0.03",
|
||||
"version":"0.04",
|
||||
"description": "A library for text input via swiping keyboard",
|
||||
"icon": "app.png",
|
||||
"type":"textinput",
|
||||
|
|
|
|||
Loading…
Reference in New Issue