Commit Graph

159 Commits

Author SHA1 Message Date
Markus Gans abd501b558 Add some bad allocation checks 2017-08-12 22:55:29 +02:00
Markus Gans 55070bfc39 Advanced streaming functionality for FTermBuffer and FVTerm::print() 2017-08-06 17:02:19 +02:00
Markus Gans 82869a95b7 Better check at focusNextChild for the last element 2017-06-19 02:12:11 +02:00
Markus Gans bd10bc74c5 initialize next and prev in FWidget 2017-06-14 01:06:48 +02:00
Markus Gans e116197f62 initialize next and prev in FWidget 2017-06-14 01:02:02 +02:00
Markus Gans b1d323ef76 New method FObject::isWidget() 2017-06-11 17:47:50 +02:00
Markus Gans 526e193fb7 The focus and active flag is set centrally in FWidget 2017-06-05 16:11:25 +02:00
Markus Gans c6dba0b4ac Rename preprocessor macro names with leading underscore 2017-04-09 20:08:53 +02:00
Markus Gans 6b5f033b7b Replace non-printable chars for Tera Term and Cygwin 2017-04-05 00:30:52 +02:00
Markus Gans 8de22dc903 Avoid non-printable ASCII codes < 0x1c on FreeBSD 2017-04-02 21:32:48 +02:00
Markus Gans 0e5b1dfebd Remap meta key to left alt on FreeBSD console 2017-04-02 13:30:23 +02:00
Markus Gans 48b2e6a816 compiles now under FreeBSD 2017-03-26 20:40:04 +02:00
Markus Gans 05c61f1901 More constant character pointers 2017-03-17 22:59:06 +01:00
Markus Gans 56df867ef7 Improve input cursor positioning in FScrollView 2017-03-08 23:48:30 +01:00
Markus Gans 7c11ba1707 FListBox saves data pointer in FListBoxItems 2017-02-24 00:30:07 +01:00
Markus Gans 3f8ed6e78e Allows a window to have more than one FScrollView widget 2017-02-18 23:37:10 +01:00
Markus Gans 36bba82e9f Allow to change the focus out from FScrollView 2017-01-28 22:03:15 +01:00
Markus Gans 59189160fd FScrollView now scrolls automatically to the focused widget 2017-01-26 00:31:07 +01:00
Markus Gans 51b1d18a84 FScrollView now allows client widget 2017-01-22 23:04:40 +01:00
Markus Gans 5cb7b77f4e Virtual window gets a preprocessing handler 2017-01-15 19:48:27 +01:00
Markus Gans b9f3be782f Skipping the print of characters without changes 2016-12-18 23:34:11 +01:00
Markus Gans 4012cdb7b0 Version 0.3.0 2016-11-27 19:16:52 +01:00
Markus Gans 4da63ebcac Improvements for ansi terminal emulators 2016-11-27 00:41:34 +01:00
Markus Gans fc8ee51e72 Do not draw shadows on a linux console if not all characters are available 2016-11-13 22:08:40 +01:00
Markus Gans 04a483526f Optimized input cursor positioning for terminals without hidden cursor 2016-11-12 22:59:48 +01:00
Markus Gans 125c4b961b The use of xterm default colors now is configurable 2016-11-06 16:36:21 +01:00
Markus Gans 75b452bf52 The class declaration now has a consistent order 2016-11-02 00:37:58 +01:00
Markus Gans ff6deaf4ab Each virtual window gets its own virtual print cursor 2016-10-15 03:32:30 +02:00
Markus Gans 17b59cf50d Virtual windows can now store their own offset information 2016-10-14 13:02:35 +02:00
Markus Gans cae1a742ea Reduces in the code the number of friend classes 2016-10-13 02:16:51 +02:00
Markus Gans b668f7011c Separate the virtual terminal into a own class vterm 2016-10-11 04:57:36 +02:00
Markus Gans e14cd1af83 Remove some duplicate code 2016-10-09 02:06:06 +02:00
Markus Gans 8328af4132 Add the possibility to scroll text up and down in a virtual window 2016-10-08 02:54:32 +02:00
Markus Gans 605194b69e input cursor is now controlled by the vterm 2016-10-06 23:15:09 +02:00
Markus Gans 1231b9f65d FStatusBar and FMenuBar use now the always-on-top window option 2016-10-02 21:26:25 +02:00
Markus Gans 9ccc5a4f27 New FToolTip widget to show assisted information 2016-10-01 23:18:49 +02:00
Markus Gans c25ee14fe7 Move or resize a window with the arrow keys 2016-09-30 04:55:28 +02:00
Markus Gans c43a7f9bad The window size is now changeable with the mouse 2016-09-29 04:29:12 +02:00
Markus Gans 7369ed1a10 FLabel now transmits the Click events to the parent widget 2016-09-27 00:46:05 +02:00
Markus Gans 9475f34499 Replacing the widget position variables by FRect objects 2016-09-25 23:53:48 +02:00
Markus Gans e462db30a9 New zoom interaction-elements to maximize a FDialog 2016-09-11 16:48:39 +02:00
Markus Gans 6749164aca FButton, FDialog, FLineEdit and FProgressbar has now shadow as default 2016-09-04 18:31:31 +02:00
Markus Gans 3d0f046de9 clearFlatBorder() replace now a double flatline with a single flatline 2016-09-03 15:17:48 +02:00
Markus Gans 817e033d57 setGeometry assigns now the full widget size to the double_flatline_mask 2016-09-02 23:06:47 +02:00
Markus Gans 2904ed31b9 new inherit background option for characters 2016-08-27 23:23:42 +02:00
Markus Gans 98fbce5de6 Use the new transparent shadow option in drawShadow() 2016-08-25 01:54:10 +02:00
Markus Gans 7d0cf3383e Add a transparent example program + improve transparent shadow 2016-08-21 21:27:44 +02:00
Markus Gans bbfbde465f Switch back to the own dialog when you closing a dialog menu 2016-08-20 22:27:23 +02:00
Markus Gans b08d064226 Screen characters now have a transparent and a transparent shadow option 2016-08-14 23:27:34 +02:00
Markus Gans 5606d66404 widget clearing updates now only non-covered characters 2016-08-06 21:43:39 +02:00
Markus Gans 0ad1228b1a Fix method setPos in the class FRect 2016-07-31 20:25:25 +02:00
Markus Gans d5685aaafc Remove dialog list item callback from the associated dialog window 2016-07-30 23:00:37 +02:00
Markus Gans 9b7918f2f6 Delete all callbacks from a widget, when it will be destroyed 2016-07-30 14:34:13 +02:00
Markus Gans d3f5979873 Segmentation fault fix 2016-07-28 01:04:27 +02:00
Markus Gans 95f1bdc23a Widget focus at window change 2016-07-27 23:47:12 +02:00
Markus Gans ef201a1a33 Adding a dialog list with the entries in the chronological order of the generation 2016-07-14 23:55:22 +02:00
Markus Gans 2acda53224 Status and menu bar insert accelerator keys into root widget 2016-07-12 23:35:33 +02:00
Markus Gans 9766ee4b6f Better code readability: control structures (if/else, while, switch) are now separated by a blank line. 2016-07-09 00:01:59 +02:00
Markus Gans 71b5b16865 Add the new class FDialogListMenu to switch between dialog menus 2016-07-03 20:08:39 +02:00
Markus Gans 8ffa221e5f Fixes some status bar update issues and focus problems 2016-06-19 23:18:53 +02:00
Markus Gans 7dd7455b23 Fixes some status bar update issues and focus problems 2016-06-19 20:32:03 +02:00
Markus Gans b576b8dcad Add a title bar menu to close dialogs 2016-06-12 23:06:58 +02:00
Markus Gans 6ff2fb0b32 Fix for menus in modal dialogs 2016-05-22 19:18:16 +02:00
Markus Gans dcfd7c6246 Remove duplicate code 2016-05-16 23:36:13 +02:00
Markus Gans 8ca888b063 Don't focus menus with focusFirstChild() and focusLastChild() 2016-05-16 23:26:04 +02:00
Markus Gans 9df9eb5961 Improve adjustSize() 2016-05-16 21:11:32 +02:00
Markus Gans 56e5847d41 Moving widget flags into the class fc 2016-01-24 14:53:09 +01:00
Markus Gans e35340114b Avoid height and width underflow in adjustSize 2016-01-17 23:37:52 +01:00
Markus Gans b21fe6a405 moving events into the class fc 2016-01-17 02:57:08 +01:00
Markus Gans 49629a995a New class FOptiAttr to control video attributes and colors 2016-01-08 01:00:05 +01:00
Markus Gans cc58f61480 Avoid to show menus outside of the screen 2015-12-16 23:57:14 +01:00
Markus Gans 7207eaa0ff Add "menu" example 2015-12-08 21:05:00 +01:00
Markus Gans 4778258364 Add new classes FCheckMenuItem and FRadioMenuItem 2015-11-16 00:43:53 +01:00
Markus Gans 6fd2e7c650 Improve menu accelerator keys 2015-11-12 01:33:16 +01:00
Markus Gans a41de9496f Menu bar navigation without menu drop down 2015-11-05 23:25:21 +01:00
Markus Gans 18a7d991ff First working version of an application menu 2015-11-01 22:45:23 +01:00
Markus Gans 60fe968ce0 Support for the menu key 2015-10-29 21:10:50 +01:00
Markus Gans b9fa26965a Color setting improvements 2015-10-23 23:57:00 +02:00
Markus Gans 7e961d40c3 Make cursor visibility more standards compliant 2015-10-23 00:24:20 +02:00
Markus Gans 56a6878f46 More faster header inline code 2015-10-17 19:40:43 +02:00
Markus Gans 4bef3e8f7b Fixed: calculator behavior for negative values in trigonometric functions 2015-10-17 05:59:09 +02:00
Markus Gans 2435e17b5d Fixed: calculator behavior for negative values in trigonometric functions 2015-10-17 05:56:02 +02:00
Markus Gans 2b3a7d3a4c Fixed: calculator behavior for negative values in trigonometric functions 2015-10-17 05:13:14 +02:00
Markus Gans 62890f6ecc Reduce the number of getParent() function calls for print operations 2015-10-14 04:06:26 +02:00
Markus Gans 70f5b545a5 Better support for monochrom terminals 2015-10-11 21:56:16 +02:00
Markus Gans a41727c4fc Improve attribute setting for bold, reverse and underline output 2015-10-11 04:09:58 +02:00
Markus Gans 6a92b4a956 Deactivate status bar key automatically 2015-10-10 03:14:14 +02:00
Markus Gans e4ec5cb8ff Improve compatibility with initialize_color + better TeraTerm support 2015-10-06 05:09:18 +02:00
Markus Gans 15379c61fe Fixed setPos in FWidget 2015-09-28 04:31:29 +02:00
Markus Gans 2a44a415f3 Add methods getPos and setPos to FRect and FWidget 2015-09-27 16:00:13 +02:00
Markus Gans 2afa9907ac Add an inheritance diagram in every class header 2015-09-25 21:37:19 +02:00
Markus Gans 26e9f75242 Further code optimizations 2015-09-24 00:41:43 +02:00
Markus Gans a5197c6c64 Some code optimizations 2015-09-22 04:18:20 +02:00
Markus Gans 89f6d718f3 Some code optimizations 2015-09-20 05:44:50 +02:00
Markus Gans 8c7c2fc7a2 config.h.in 2015-09-15 23:07:24 +02:00
Markus Gans b1c8c70391 add vmenubar 2015-08-09 23:44:11 +02:00
Markus Gans 4d67fc73bf Improve focusFirstChild() and focusLastChild() 2015-07-13 00:15:57 +02:00
Markus Gans 058c129742 Improve focusFirstChild() and focusLastChild() 2015-07-12 23:28:45 +02:00
Markus Gans 0485138c33 Improve focusFirstChild() and focusLastChild() 2015-07-12 21:49:30 +02:00
Markus Gans 58bd749463 Better contrast on 8 color terminals 2015-07-09 23:29:51 +02:00