From c800b43950c12ea4ca2f4023adcb473f05fab681 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 13 May 2019 09:49:33 -0600 Subject: [PATCH] Update a README --- graphics/twm4nx/README.txt | 14 ++++++-------- graphics/twm4nx/src/ctwm4nx.cxx | 2 ++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/graphics/twm4nx/README.txt b/graphics/twm4nx/README.txt index 9f7246e89..ca18e4c36 100644 --- a/graphics/twm4nx/README.txt +++ b/graphics/twm4nx/README.txt @@ -53,21 +53,19 @@ STATUS The Icon Manager window can be grabbed by the toolbar title and moved about on the window (the movement is not very smooth on the particular hardware that I am working with). - 2019-05-10: A left click on the background brings up the main menu. At + 2019-05-10: A left click on the background brings up the main menu. At present there are only two options: "Desktop" which will iconify all windows and "Twm4Nx Icon Manager" which will de-configy and/or raise the Icon Manager window to the top of the hierarchy. That latter option is only meaningful when the desktop is very crowded. - - Further progress depends upon getting a some additional applications - in place in the main menu in place. NxTerm is needed as is probably - a clock. These would provide good illustrations of how to hook in an - arbitrary application. + 2019-05-13: Added the NxTerm application. If enabled via + CONFIG_TWM4XN_NXTERM, there will now be a "NuttShell" enty in the Main + Menu. When pressed, this will bring up an NSH session in a Twm4Nx + window. Some known bugs yet-to-fixed. Surely there are more as will be revealed by additional testing: - 1. The is a small artifact in the upper lefthand corner. I am not sure - exactly what that is. + 1. There is no way to resize a window 2. The logic to move an icon on the desk top does not work. 3. There is no calibration screen for touchscreen calibration. diff --git a/graphics/twm4nx/src/ctwm4nx.cxx b/graphics/twm4nx/src/ctwm4nx.cxx index 7a681d192..5762071cf 100644 --- a/graphics/twm4nx/src/ctwm4nx.cxx +++ b/graphics/twm4nx/src/ctwm4nx.cxx @@ -711,6 +711,7 @@ int twm4nx_main(int argc, char *argv[]) // needs to be a more flexible method if adding applications at run // time. +#ifdef CONFIG_TWM4NX_NXTERM CNxTermFactory factory; success = factory.initialize(twm4nx); if (!success) @@ -718,6 +719,7 @@ int twm4nx_main(int argc, char *argv[]) twmerr(" ERROR: Failed to initialize CNxTermFactory\n"); return EXIT_FAILURE; } +#endif // Start the Twm4Nx event loop