public class MyApplication extends TApplication {
public MyApplication() {
- super();
+ super();
- // Create an editor window that has support for
- // copy/paste, search text, arrow keys, horizontal
- // and vertical scrollbar, etc.
- addEditor();
+ // Create an editor window that has support for
+ // copy/paste, search text, arrow keys, horizontal
+ // and vertical scrollbar, etc.
+ addEditor();
- // Create standard menus for File and Window
- addFileMenu();
- addWindowMenu();
+ // Create standard menus for File and Window
+ addFileMenu();
+ addWindowMenu();
}
public static void main(String [] args) {
- MyApplication app = new MyApplication();
- app.run();
+ MyApplication app = new MyApplication();
+ app.run();
}
}
```
Roadmap
-------
-This is a work in progress. Many tasks remain before calling this
-version 1.0:
+Many tasks remain before calling this version 1.0:
0.0.1:
-- Base classes:
- - TCommand use getters/setters
- - TCommand.Type: switch to int so that subclasses can make more
- kinds of commands
- - TKeypress use getters/setters to make immutable
- - TKeypressEvent use getters/setters to make immutable
- - TMouseEvent use getters/setters to make immutable
-- Get a movable window on screen
- - TWidget
- - TWindow
- - TLabel
+- TCheckbox
+- TDirectoryList
+- TField
+- TMessageBox
+- TProgressBar
+- TTimer
+- TRadioGroup / TRadioButton
+- THScroller / TVScroller
+- TText
+- TTreeView
0.0.2:
-- Port remaining d-tui functionality over
- - All widgets except modal (e.g. messagebox/fileopen)
+- TEditor
+- TFileOpen
+- TTerminal
0.0.3:
-- Get modal messagebox running without fibers (use two reader threads
- with syncronization, don't bother with coroutines)
-- TEditor, fixup keyboard movement
+- Bugs
+ - TSubMenu keyboard mnemonic not working
+ - kbDel assertion failure in TMenu (MID_CLEAR)
+- TEditor
+ - Word wrap
+ - Forward/backward word
+ - Search
+ - Replace
+ - Cut/Copy/Paste
0.0.4: