#153968 - anomalous_underdog - Tue Apr 08, 2008 7:17 pm
Hi. If any of you own a Nintendo DS, I made an on-screen keyboard using hex-shaped keys instead of rectangular ones. It uses the QUONG layout made by http://www.strout.net/info/ideas/hexinput.html
If you're familiar with the FUNADY keyboard layout for the palm PDA, its kinda like that.
from the hexinput article:
[Images not permitted - Click here to view it]
[Images not permitted - Click here to view it]
http://anomalousunderdog.blogspot.com/search/label/QuongKeyboard
project page: http://sharesource.org/project/blarghtexteditor/
ok, as for the limitations:
if any of you experience any crashes, tell me.
current release: revision 103
http://dl.sharesource.org/blarghtexteditor/blarghtexteditor.r103.zip
http://www.zshare.net/download/11528400d5b3077e/
the source code is also available (licensed in GPL v3):
http://dl.sharesource.org/blarghtexteditor/blarghtexteditor.src.r103.zip
since I'm lazy I'll just paste the SVN logs that I've put since the last release
Last edited by anomalous_underdog on Sun May 04, 2008 7:57 pm; edited 7 times in total
If you're familiar with the FUNADY keyboard layout for the palm PDA, its kinda like that.
from the hexinput article:
- You can input a letter by tapping it, or by dragging to it from a neighboring letter.
- Letters are arranged in a hexagonal grid so that every one has six neighbors, and all neighbors are equally easy to reach.
- Letters are arranged to optimize text input in a particular language (English, in this case).
[Images not permitted - Click here to view it]
[Images not permitted - Click here to view it]
http://anomalousunderdog.blogspot.com/search/label/QuongKeyboard
project page: http://sharesource.org/project/blarghtexteditor/
ok, as for the limitations:
- its only a demo, you won't be able to save/load the typed text (although I will use this program to make an actual text editor)
- the text cursor doesn't blink yet
- the upper screen is currently used for debug. in the future, that area will be used as non-monospaced text display too
- cut, copy, paste of text not yet implemented
- no unicode support yet
- the other buttons in the gui do not do anything yet; they are conceptual
- no word-wrap yet
if any of you experience any crashes, tell me.
current release: revision 103
http://dl.sharesource.org/blarghtexteditor/blarghtexteditor.r103.zip
http://www.zshare.net/download/11528400d5b3077e/
the source code is also available (licensed in GPL v3):
http://dl.sharesource.org/blarghtexteditor/blarghtexteditor.src.r103.zip
since I'm lazy I'll just paste the SVN logs that I've put since the last release
Quote: |
Revision: 103 Author: anomalous_underdog Date: 2008-May-04 22.25.16 Message: Added placeholder values for cut, copy, paste, home, end, undo, redo, and search. ---- Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/HexGrid.cpp Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/HexGrid.h Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.cpp Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.h Revision: 102 Author: anomalous_underdog Date: 2008-May-04 22.17.34 Message: Added unit tests for the bugs in textbox concerning word-wrapped lines. ---- Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Tests/TestTextBox.cpp Revision: 101 Author: anomalous_underdog Date: 2008-May-04 01.48.29 Message: Bugfix: When backspacing the topleft-most character, the text should scroll upwards. Also updated todo file. ---- Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/TaskCoachFile.tsk Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.cpp Revision: 100 Author: anomalous_underdog Date: 2008-May-04 00.31.11 Message: Bugfix: When inserting a newline while in a word-wrapped line, and the cursor is at the beginning of a display line, the graphical cursor should not move anywhere. Also updated todo file. ---- Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/TaskCoachFile.tsk Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.cpp Revision: 99 Author: anomalous_underdog Date: 2008-May-04 00.17.37 Message: Bugfix: TextBox::mLineData would have elements more than the available display lines. Bugfix: Graphical cursor would move up when inserting new chars when they shouldn't have. Bugfix: Made sure graphical cursor doesn't get stuck to a position somewhere beyond what is possible (when backspacing at the end of a word-wrapped line wherein the backspacing made the line not word-wrapped anymore). (I simply brought back the code removed in r98). Bugfix: Now TextBox::clearLeftOverSpace() is always called on every call to TextBox::refreshTextDisplay(). This is to ensure display lines that should be cleared are cleared. Refactoring: Added private function TextBox::whichDisplayLineCursorIsIn() ---- Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.cpp Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.h Revision: 98 Author: anomalous_underdog Date: 2008-May-03 19.45.23 Message: Bugfix: When inserting a char at the end of text, and the line became word-wrapped because of that newly inserted char, the cursor was not getting updated properly. Additionaly, if that caused a vertical scroll down, the line wouldn't get cleared. Bugfix: When inserting a new char at the beggining of a display line, but that display line is part of word-wrapped line: if the char to insert was thin enough, it would be displayed at the line above, so the cursor should go upwards too, instead it stayed where it was. Bugfix: The first TextLine was not getting the proper offset value if vertical scrolling had occured. Refactoring: TextBox::isCursorInAWordWrappedLine() now uses TextLine data Refactoring: TextBox::moveTextCursorToEndOfPrevLine() has a new override function, one that uses TextLine data. TextBox::moveTextCursorLeft(const s16) makes use of this. TextLine::length now no longer includes the newline in its value ---- Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.cpp Modified : /branches/BLARGHTextEditor-UsingLineData/BLARGHTextEditor/source/Underdog/Gui/TextBox.h |
Last edited by anomalous_underdog on Sun May 04, 2008 7:57 pm; edited 7 times in total