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:
-- Get a movable window on screen
- - TWidget
- - TWindow
- - TLabel
+- AWTBackend
0.0.2:
-- Port remaining d-tui functionality over
- - All widgets except modal (e.g. messagebox/fileopen)
+- TTreeView
+- TDirectoryList
+- TFileOpen
0.0.3:
-- Get modal messagebox running without fibers (use two reader threads
- with syncronization, don't bother with coroutines)
-- TEditor, fixup keyboard movement
+- TEditor
+- TTerminal
0.0.4:
-- ECMATerminal
- - Mouse 1006 mode parsing
- Bugs
+ - Bare ESC isn't being returned immediately
+ - TTimer is jittery with I/O
+ - TSubMenu keyboard mnemonic not working
+ - kbDel assertion failure in TMenu (MID_CLEAR)
- TDirectoryList cannot be navigated only with keyboard
- TTreeView cannot be navigated only with keyboard
- RangeViolation after dragging scrollbar up/down
+- TEditor
+ - Word wrap
+ - Forward/backward word
+ - Search
+ - Replace
+ - Cut/Copy/Paste
+
+0.1.0:
+
+- TWindow
+ - "Smart placement" for new windows
+- ECMATerminal
+ - Mouse 1006 mode parsing
Wishlist features (2.0):
- TTerminal
- Handle resize events (pass to child process)
- xterm mouse handling
-- TWindow
- - "Smart placement" for new windows
- Screen
- Allow complex characters in putCharXY() and detect them in putStrXY().
- TComboBox
- TText
- TTerminal
- TComboBox
-- AWTBackend