Commit Graph

274 Commits

Author SHA1 Message Date
Markus Gans 2a06915f1c Use constexpr for fixed values 2018-12-26 23:41:49 +01:00
Markus Gans 9a694ab267 New event FUserEvent for user-defined events 2018-12-24 18:11:16 +01:00
Markus Gans ac9ed260f5 some fixes 2018-12-22 15:33:23 +01:00
Markus Gans cef13611d1 Use of the C++11 auto specifier in the program code 2018-12-15 00:50:09 +01:00
Markus Gans 6ce8c5cb27 Use nullptr instead of 0 to initialize a pointer values 2018-12-10 01:48:26 +01:00
Markus Gans 7ef9b154b9 Better handling of the scrollbar maximum 2018-12-09 18:24:31 +01:00
Markus Gans 9ba1b77069 Easier handling of fc::SpecialCharacter 2018-12-06 02:28:24 +01:00
Markus Gans 3537152c28 Use delegated constructors and in-class default member initializers 2018-12-03 03:22:36 +01:00
Markus Gans 4046f05a0c Switched to the language standard C++11 2018-12-02 14:13:52 +01:00
Markus Gans c15cb0ba24 memory management + handling environment variables with numbers 2018-11-24 23:43:09 +01:00
Markus Gans 6c4ba7af89 fkeyboard_test fix 2018-11-24 03:22:47 +01:00
Markus Gans ca90fb64bd Improved Sun Microsystems workstation console quirks 2018-11-24 02:59:56 +01:00
Markus Gans 820ef81377 bad_alloc_str in now usable in the entire namespace finalcut 2018-11-22 21:51:32 +01:00
Markus Gans f6df9585f5 The integer type of FPoint and FRect changed from short to int 2018-11-21 22:15:14 +01:00
Markus Gans 1f64843fb6 New type FKey for key inputs 2018-11-21 20:07:08 +01:00
Markus Gans 3109189b1c Remove testing line "return;" 2018-11-07 22:30:59 +01:00
Markus Gans cd8e4f78ae Use new type FColor for color values 2018-11-07 22:06:58 +01:00
Markus Gans 9fc1910c18 strncpy boundary 2018-11-06 01:27:08 +01:00
Markus Gans 70f3598b62 Moved FTerm debug access methods to FTermDebugData 2018-11-02 01:28:33 +01:00
Markus Gans d35c3c0cdc Setting the value can_change_color_palette in FTermcapQuirks 2018-10-29 21:12:03 +01:00
Markus Gans c96af1d3a2 Fix FString unit test 2018-10-29 01:06:11 +01:00
Markus Gans 98bff1e45b Adding the capacity() method to the FString class 2018-10-27 00:13:31 +02:00
Markus Gans 96edb762c7 Building Fix for a negative value check for gcc < 4.8 2018-10-26 07:43:23 +02:00
Markus Gans c4e333bc8b Fix the build on CentOS 6 2018-10-24 08:51:38 +02:00
Markus Gans 3678d52766 Small code fixes 2018-10-22 01:26:24 +02:00
Markus Gans cfc1c4ef25 change from int to std::size_t for width or height 2018-10-14 06:25:33 +02:00
Markus Gans fea78841b9 FKeyboard now uses references for keyboard buffer passing 2018-10-11 03:46:37 +02:00
Markus Gans b854224eb5 Terminal detection for newer vte libraries (>= 0.53.0) 2018-10-09 16:04:21 +02:00
Markus Gans 0b51df32b5 Move all termcap code into FTermcap 2018-10-08 04:14:20 +02:00
Markus Gans 9662c09618 empty string test fix 2018-10-05 06:19:52 +02:00
Markus Gans 8e2c32ebdc Remove redundant program code from FString 2018-10-05 05:15:54 +02:00
Markus Gans c8abcce79a dding a unit test for the FTermData class 2018-10-04 00:44:21 +02:00
Markus Gans d5e345ab68 Reduce the use of the new operators in the examples 2018-10-03 22:23:55 +02:00
Markus Gans f19b4811ae Small optimizations 2018-10-02 01:03:44 +02:00
Markus Gans 8407a9d2b6 Extract FTerm data members into the data class FTermData 2018-10-01 22:27:54 +02:00
Markus Gans 851e3db49c FListView now has the ability to sort by columns 2018-09-28 06:45:02 +02:00
Markus Gans 64c525fc79 Add time event processing unit test 2018-09-27 03:53:51 +02:00
Markus Gans 11ba43fa0f Move time event processing from FApplication to FObject 2018-09-27 03:02:07 +02:00
Markus Gans 9671586be0 Build fix for non linux in FKeyboard::keyCorrection 2018-09-26 18:01:44 +02:00
Markus Gans 4ad8335556 Stricter use of the keyword virtual 2018-09-24 04:02:35 +02:00
Markus Gans be7e8072fe autoconf settings 2018-09-22 01:11:05 +02:00
Markus Gans 4df1aafcd0 Makefile modification 2018-09-21 07:06:18 +02:00
Markus Gans a00f052e4d First CppUnit tests implemented 2018-02-25 21:42:18 +01:00
Markus Gans 81e585e299 Add test directory 2018-02-24 19:37:20 +01:00
Markus Gans ab26baa47c All include files were moved to a separate directory 2017-09-17 21:30:04 +02:00
Markus Gans 4df0418aee FObject has received the iterator child access methods begin() and end() 2017-09-17 01:50:41 +02:00
Markus Gans 0e4ba28544 Fix byte access in data type char_data 2017-09-15 01:31:02 +02:00
Markus Gans 0ce3868e74 Fix handling of negative numbers in FString::toLong() 2017-09-11 22:50:07 +02:00
Markus Gans dc3c5d19e4 Some code improvements 2017-09-11 03:06:02 +02:00
Markus Gans 1cd1e521c3 Wrong UTF-8 string length fixed when attaching to FString 2017-09-09 22:03:17 +02:00
Markus Gans f941da79e7 Type definition exported into a separate header file 2017-09-07 23:35:24 +02:00
Markus Gans 5f7737bf64 Improve code readability through spaces between the operands and the operators 2017-08-27 09:50:30 +02:00
Markus Gans 3f8b9d774b Rename fapp.{cpp,h} to fapplication.{cpp,h} 2017-08-24 00:47:35 +02:00
Markus Gans 48e737818c Some code changes for GCC 7 2017-08-11 10:50:39 +02:00
Markus Gans 55070bfc39 Advanced streaming functionality for FTermBuffer and FVTerm::print() 2017-08-06 17:02:19 +02:00
Markus Gans ba17c529ff New methods to set and get FListViewItem and FListView text for a column 2017-08-01 00:56:12 +02:00
Markus Gans 0240d782ca Possibility for a FListView column to set the alignment 2017-07-28 22:18:42 +02:00
Markus Gans d8c41b879d New Widget class FListView to allow a multi-column data view 2017-07-18 23:50:51 +02:00
Markus Gans b0b5282c9a FString::rtrim() and FString::left() now return an FString object with the correct character length 2017-06-26 23:35:34 +02:00
Markus Gans b4b95f7b45 Recalculate the horizontal FListBox scroll bar size on lazy conversion 2017-05-20 22:43:55 +02:00
Markus Gans baea344b3c FListBox: Import of data from a container via "lazy conversion" during item print 2017-05-19 22:47:13 +02:00
Markus Gans b3505af040 FListBox: Import of data from a container via "lazy conversion" during item print 2017-05-19 22:16:50 +02:00
Markus Gans ca7ba6ae7e Data import from a standard container in FListBox 2017-04-23 18:54:46 +02:00
Markus Gans a7a11083d5 FString allocates no new memory if the size sufficient 2017-04-17 22:49:42 +02:00
Markus Gans c6dba0b4ac Rename preprocessor macro names with leading underscore 2017-04-09 20:08:53 +02:00
Markus Gans 7ead64f2b8 Looking in /etc/ttys for the type of terminal 2017-04-08 02:40:22 +02:00
Markus Gans 7f134ccada New Method setInsertCursorStyle() 2017-04-05 22:25:20 +02:00
Markus Gans 6b5f033b7b Replace non-printable chars for Tera Term and Cygwin 2017-04-05 00:30:52 +02:00
Markus Gans 0e5b1dfebd Remap meta key to left alt on FreeBSD console 2017-04-02 13:30:23 +02:00
Markus Gans d5b2c9dc99 Improved alternate character set for FreeBSD console 2017-03-28 08:50:37 +02:00
Markus Gans 48b2e6a816 compiles now under FreeBSD 2017-03-26 20:40:04 +02:00
Markus Gans ef5ca7d5f8 Add the "mouse" example 2017-03-19 17:18:07 +01:00
Markus Gans e66171ee73 More constant character pointers 2017-03-17 23:22:13 +01:00
Markus Gans 05c61f1901 More constant character pointers 2017-03-17 22:59:06 +01:00
Markus Gans 06ec274d00 Corrects directly the input cursor position on window moving 2017-03-12 20:29:10 +01:00
Markus Gans 4107227119 on-demand scroll bars for FButtonGroup 2017-03-12 00:29:56 +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 a67eeaa94f Small makefile fix 2017-02-06 02:21:40 +01:00
Markus Gans dbbf811993 Better monochrome support in scrollview example 2017-01-28 23:20:38 +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 b2e4a59f54 FScrollView provides a scrollable viewport to change area 2017-01-02 08:07:46 +01:00
Markus Gans 628bec0b29 Reduce public methods in FVTerm 2016-12-28 16:29:49 +01:00
Markus Gans 386e91563a Add the ability to stream text into a widget's virtual window with print() or *this 2016-12-26 01:15:32 +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 33c03cf6fc Optimized the terminal clear screen 2016-11-26 18:40:50 +01:00
Markus Gans 1895dc001b Optimized the terminal clear screen 2016-11-26 18:15:31 +01:00
Markus Gans 8beed7b330 Add the opti-move test program 2016-11-26 15:18:44 +01:00
Markus Gans 5530c99d22 Increase speed on cygwin terminals 2016-11-20 21:15:43 +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 e66f00ea92 Determine xterm maximum number of colors via OSC 4 2016-11-05 23:12:05 +01:00
Markus Gans 75b452bf52 The class declaration now has a consistent order 2016-11-02 00:37:58 +01:00