Commit Graph

960 Commits

Author SHA1 Message Date
Markus Gans a69d38fb1e Bugfix: empty FString() + wchar_t 2020-09-23 23:18:48 +02:00
Markus Gans d10e2888ac Bugfix in FDialog::setSize() 2020-09-22 01:04:36 +02:00
Markus Gans 44d6d8cdb9 Fixes minor bugs 2020-09-20 14:11:35 +02:00
Markus Gans ff2e29b246 FData optimization 2020-09-18 22:40:51 +02:00
Markus Gans 5092244b81 FDataPtr was replaced by the template class FData 2020-09-18 17:13:52 +02:00
Markus Gans ff555baf3b Fixes a problem with mouse input in Cygwin in non-blocking read mode 2020-09-11 00:08:22 +02:00
Markus Gans 51105e7db2 Speed up the reaction time of the gpm mouse 2020-09-08 23:22:52 +02:00
Markus Gans fdd7ff98ec Adding Windows Terminal detection 2020-08-30 22:47:24 +02:00
Markus Gans 28080abb3e first steps documentation changes 2020-08-23 14:00:53 +02:00
Axenow 42854b3c50 Fixed fMenuBar. Left arraw doesn't restore terminal redrawing. 2020-08-23 12:09:06 +02:00
Markus Gans b9042d5a03 Small code and text changes 2020-08-23 00:32:41 +02:00
Markus Gans 2b33c1875a Fix timeout problem in keyboard unit test 2020-08-16 02:01:47 +02:00
Markus Gans 5574104dd9 Fixes high CPU load 2020-08-15 23:42:29 +02:00
Markus Gans c2894b6591 Fixed some minor bugs 2020-08-13 23:58:32 +02:00
Markus Gans 50fc6fdb63 Fixed some minor bugs 2020-08-13 00:34:39 +02:00
Markus Gans b54d1c2f38 Fixed some minor bugs 2020-08-12 22:28:02 +02:00
Markus Gans 6d72168ca4 New callback backend was implemented 2020-08-11 23:04:46 +02:00
Markus Gans 07127634fd Method name changes 2020-07-19 14:15:02 +02:00
Markus Gans 8f383a4def More function declared as const 2020-07-12 19:33:12 +02:00
Markus Gans f07a481d46 More function declared as const 2020-07-12 19:05:29 +02:00
Markus Gans 13dc85860b More function declared as const 2020-07-12 17:54:13 +02:00
Markus Gans d8b35dc1a7 More function declared as const 2020-07-12 17:00:16 +02:00
Markus Gans 361f0e6a14 More function declared as const 2020-07-12 15:25:21 +02:00
Markus Gans 53ba96504f New data wrapper class FData and minor text changes 2020-07-08 21:32:47 +02:00
Markus Gans 219ac28fb7 Add a document that describes how to create user themes 2020-07-06 19:32:01 +02:00
Markus Gans 9845a022a3 Fixed some minor bugs 2020-06-11 23:00:18 +02:00
Markus Gans ccb7eeb3c6 New widget FBusyIndicator 2020-06-11 21:38:33 +02:00
Markus Gans 0ff67da077 Parameter to specify a logging file 2020-06-07 18:21:59 +02:00
Markus Gans c1b2699e53 Simplification of FMouse::createMouseObject() 2020-06-06 22:22:01 +02:00
Markus Gans 3d2a0c6dd2 Lazy terminal initialization on show() 2020-06-06 21:10:06 +02:00
Markus Gans 70eabe93d6 Some methods are marked as 'Override' 2020-05-30 23:27:42 +02:00
Markus Gans f76a9d2114 Added FApplication::setDarkTheme() and FApplication::setDefaultTheme() 2020-05-30 23:02:53 +02:00
Markus Gans 6a20b728ba Adding a dark theme 2020-05-29 00:36:53 +02:00
Markus Gans 1f1c6053a7 Adding a dark theme 2020-05-29 00:27:25 +02:00
Markus Gans df672dfd73 With FColorPalette you can now create your own color palette themes 2020-05-28 01:02:53 +02:00
Markus Gans a0e1115ff6 Added FApplication::processExternalUserEvent() 2020-05-26 21:55:22 +02:00
Markus Gans 45ddbd88d3 With FWidgetColors you can now create your own widget color themes 2020-05-26 21:37:39 +02:00
Markus Gans 59830cbd05 Fixed memory leak in FString move assignment operator 2020-05-24 23:55:08 +02:00
Markus Gans 6c6b70ed9e Fixed a small bug 2020-05-24 02:28:32 +02:00
Markus Gans 9e68344a2b New class FStringStream 2020-05-24 02:15:43 +02:00
Markus Gans f20e036a9e Fixed event queue in FApplication 2020-05-21 14:53:51 +02:00
Markus Gans 5a60794b85 More direct access to the static FTerm functions 2020-05-16 22:24:36 +02:00
Markus Gans 379c45efb5 A little more clean code 2020-05-14 01:22:45 +02:00
Markus Gans 923822ca25 New class FLogger for logging 2020-05-13 23:47:14 +02:00
Markus Gans 4a8b863238 Cygwin build fix 2020-05-03 13:45:47 +02:00
Markus Gans 87777ad27c macOS build fix 2020-05-02 17:26:58 +02:00
Markus Gans d69b414094 macOS build fix 2020-05-02 17:18:40 +02:00
Markus Gans 5f447e8267 FTermcap is now null pointer resistant 2020-05-02 16:54:22 +02:00
Markus Gans 0be377a94a Moving all termcap functions into FTermcap 2020-05-02 05:28:30 +02:00
Markus Gans deccb4b74c Moving all termcap functions into FTermcap 2020-05-02 04:56:12 +02:00
Markus Gans a90cd1ad55 const type qualifiers and list initialization 2020-05-02 00:07:35 +02:00
Markus Gans 0fd6439f5a Static code for the special built-in key sequences 2020-04-29 02:24:48 +02:00
Markus Gans 4840978273 Static code for the special built-in key sequences 2020-04-29 00:37:29 +02:00
Markus Gans 1c3c687878 Adding the missing method getClientSize() 2020-04-28 01:46:26 +02:00
Markus Gans 0de0676092 A few inline and const changes 2020-04-26 20:45:57 +02:00
Markus Gans 159d086af4 macOS build fix 2020-04-25 02:32:33 +02:00
Markus Gans 2b1774e578 More internal use of const char* strings 2020-04-24 00:34:26 +02:00
Markus Gans 803e54d456 Further small code improvements 2020-04-20 01:01:20 +02:00
Markus Gans 88667f2cbb Fix for macOS build 2020-04-19 20:57:28 +02:00
Markus Gans 9da4f00115 Further small code improvements 2020-04-19 20:40:49 +02:00
Markus Gans d08dd8e9f4 Further small code improvements 2020-04-19 20:38:52 +02:00
Markus Gans 136b57eac6 Correction of some virtual methods 2020-04-18 13:33:42 +02:00
Markus Gans 6de04a3edd CWE-478: Addition of missing default case in the Switch statement 2020-04-17 10:53:47 +02:00
Markus Gans defc1714e4 CERT, OOP50-CPP: Avoids calling a virtual function from the constructor 2020-04-17 02:49:33 +02:00
Markus Gans fd92d7f4d8 Update comments for the copy assignment operator 2020-04-15 23:44:08 +02:00
Markus Gans 7d4de8e46f Improved event handling code 2020-04-15 23:17:42 +02:00
Markus Gans 1ff34f64e1 Better support of general arrow keys 2020-04-15 10:55:23 +02:00
Markus Gans 7a520dc944 Add destructor 2020-04-15 01:01:16 +02:00
Markus Gans 90b389035e Several small code improvements 2020-04-14 23:46:42 +02:00
Markus Gans 3bb001677f Several small code improvements 2020-04-13 12:40:11 +02:00
Markus Gans ac1ebfefad minor fixes 2020-04-10 22:13:13 +02:00
Markus Gans 20c3cf218e Dialogs can now be displayed without a border 2020-04-09 12:38:35 +02:00
Markus Gans bb52b6fd7e Correction of methods that were unnecessarily declared as virtual 2020-04-04 20:58:47 +02:00
Markus Gans 53f1059312 Minor bug fixes 2020-04-02 09:59:34 +02:00
Markus Gans 4c0404ac60 A small benchmakt test was added to the Rotozoomer example 2020-03-22 21:53:27 +01:00
Markus Gans 45218b0f61 Fixes keyboard input buffer problem when opening a modal dialog 2020-03-08 12:52:04 +01:00
Markus Gans b58936a6a2 Exit the move-resize-mode when the close confirmation dialog is displayed 2020-03-07 22:38:26 +01:00
Markus Gans 77638fcaa0 Fixes keyboard input buffer problem when opening a modal dialog 2020-03-07 21:32:18 +01:00
Markus Gans 925f106846 Unbuffered reading of keystrokes for better latency 2020-03-05 21:30:54 +01:00
Markus Gans e5902a6ee6 New command line switch "--no-terminal-data-request" 2020-02-25 23:42:31 +01:00
Markus Gans 3723d071a3 Updated Debian and rpm package files 2020-02-23 20:57:51 +01:00
Markus Gans b23974858e SGRoptimizer improved 2020-02-20 00:06:39 +01:00
Markus Gans 164487096c Some small code improvements 2020-02-19 21:59:13 +01:00
Markus Gans a33a9e1b6b Printing FStyle object to change attributes 2020-02-16 00:01:36 +01:00
Markus Gans 43bda37f71 Rename setTransShadow() to setColorOverlay() 2020-02-13 08:21:48 +01:00
Markus Gans 83a6ee497b Fix collapse() and expand() in FListViewItem() 2020-02-11 00:29:58 +01:00
Markus Gans dd625e0822 Adding a tty check for stdin 2020-02-09 21:58:17 +01:00
Markus Gans b810b51e65 Fix in FListViewIterator 2020-02-05 08:57:13 +01:00
Markus Gans 057c295af6 Fix uncaught exception 2020-02-02 23:57:18 +01:00
Markus Gans 60009d8f4b clear() and remove() were added to FListView 2020-02-02 22:34:27 +01:00
Markus Gans 06d65ed676 Fix metadata 2020-01-20 21:40:00 +01:00
Markus Gans eeac24aef2 Methods setText() and clearText() for FComboBox 2020-01-09 20:20:37 +01:00
Markus Gans c0b1dc5924 Add setCurrentItem() to the FComboBox widget class 2020-01-09 19:21:16 +01:00
Markus Gans fc1b9ebdf3 Small code improvements 2020-01-03 01:33:18 +01:00
Markus Gans d126c4996a Adding an ANSI X3.64 SGR optimizer 2019-12-31 06:32:51 +01:00
Markus Gans 23ddf5d6f2 Correction for height and width alignment in adjustSize() 2019-12-23 14:20:31 +01:00
Markus Gans 3a391f5fe5 Better setSize() implementation in some widgets 2019-12-23 03:53:32 +01:00
Markus Gans b7639f5301 Fixed the drawing of FLabel widget with the default size of 1×1 character 2019-12-20 19:36:18 +01:00
Markus Gans 867dabf637
Merge pull request #42 from grendello/fspinbox-inlines
Make FSPinBox::get{Prefix,Suffix} functions inline
2019-12-16 11:47:48 +01:00
Markus Gans 74d8585561 New widget class FComboBox to provide a dropdown list with an input field 2019-12-16 11:14:24 +01:00
Marek Habersack d34e839f83 Make FSPinBox::get{Prefix,Suffix} functions inline
Otherwise, if more than one file includes the header, we will have
duplicate symbols during link time.
2019-12-15 20:32:36 +01:00
Markus Gans cbe1179443 clang++ compile fix 2019-11-18 16:43:07 +01:00
Markus Gans 3de8e73281 Revision of FString number input stream 2019-11-18 01:18:15 +01:00
Markus Gans 8c434777bc Revision of FString number input stream 2019-11-17 22:06:07 +01:00
Markus Gans 5bb3f1ac9b Fixes the numerical streaming value for FLineEdit and FLabel 2019-11-16 22:33:21 +01:00
Markus Gans 7ba294c496 Fixes the numerical streaming value for FLineEdit and FLabel 2019-11-16 21:48:59 +01:00
Markus Gans 4540a6f455 Fixes the numerical streaming value for FLineEdit and FLabel 2019-11-16 19:57:45 +01:00
Markus Gans b3c367a168 Fixes the numerical streaming value for FLineEdit and FLabel 2019-11-16 19:10:08 +01:00
Markus Gans dedc1f3410 New Widget class FSpinBox to provide spin boxes 2019-11-16 15:16:44 +01:00
Markus Gans 18ec10ffd1 Update Travis CI coverity scan test 2019-11-07 02:48:27 +01:00
Markus Gans d76dcf2e9c Small NewFont midline fixes 2019-11-06 20:09:45 +01:00
Markus Gans 88d5c0d050 Improved display of the NewFont midline 2019-11-06 02:40:47 +01:00
Markus Gans b116fa5930 Newfont specialization for 8x16 and 9x16 pixel character 2019-11-03 23:34:47 +01:00
Markus Gans 1671a5ff3e Unicode support for 8x16graph font 2019-10-29 01:42:10 +01:00
Markus Gans ff39c85a33 Coverity scan compiler fix 2019-10-21 03:17:29 +02:00
Markus Gans 38d4fea995 Fix iterator container mismatch 2019-10-21 02:48:29 +02:00
Markus Gans 5ceee8b4c8 New method setInputType() in FLineEdit that allows to obscure password entries 2019-10-20 20:06:33 +02:00
Markus Gans 5e4a71dc0d Version 0.6.0 2019-10-17 01:13:18 +02:00
Markus Gans 7499f424dc Compile fix for some architectures 2019-10-14 01:44:24 +02:00
Markus Gans b0080b00cf More code cleanups 2019-10-08 04:37:19 +02:00
Markus Gans 937654710b Code cleaning 2019-10-06 22:35:00 +02:00
Markus Gans 66ff1ba208 Small fixes 2019-10-06 00:36:58 +02:00
Markus Gans a279a0981a Internal redesign of the callback call 2019-10-05 23:20:07 +02:00
Markus Gans 298755a0fe Replacing null-terminated wide strings with FString objects 2019-10-01 23:14:00 +02:00
Markus Gans 6b9336d6c1 Streaming into an FTextView() object 2019-09-29 22:28:58 +02:00
Markus Gans 8c67f64db4 Support for displaying full-width characters 2019-09-28 03:13:06 +02:00
Markus Gans e15f1a344a Minor code changes 2019-09-09 19:13:38 +02:00
Markus Gans bc3afa6235 Remove #pragma pack() directive lines 2019-09-08 02:04:24 +02:00
Markus Gans 81e00a22d3 Outsourcing the initialization data to a separate struct 2019-09-06 08:21:10 +02:00
Markus Gans d1fedfec9f Cygwin and Linux console do not use cp437 character encoding by default 2019-09-04 23:57:31 +02:00
Markus Gans 69db7417ad Removing public + protected data members from classes 2019-09-01 23:29:27 +02:00
Markus Gans 9a40890026 More use of direct initializations 2019-08-25 22:21:01 +02:00
Markus Gans 37ed970319 More use of direct initializations 2019-08-25 22:16:00 +02:00
Markus Gans 43de8d6150 add missing override 2019-08-18 21:46:38 +02:00
Markus Gans 8c90cd2a4c Fixes print() << FPoint() behavior in FScrollView 2019-08-18 21:36:10 +02:00
Markus Gans 248cf8a0ba Update VTerm information only in case of changes 2019-08-18 21:35:36 +02:00
Markus Gans ad2766e706 Solved problem detecting terminal size on quick changes 2019-08-18 02:04:44 +02:00
Markus Gans 44e157e493 Converts getHotkeyPos() for sharing into a non-member function 2019-08-11 20:07:39 +02:00
Markus Gans 5a43a018cf FRect has now got a scaleBy() method 2019-08-11 18:15:57 +02:00
Markus Gans bd81fdb069 set OpenBSD pitch and duration of the system speaker 2019-08-10 20:14:44 +02:00
Markus Gans 3c5c2aa69e Fixes the Cygwin build 2019-08-07 11:47:03 +02:00
Markus Gans 5257beb73a Small cleanups 2019-08-06 23:45:28 +02:00
Markus Gans 77b76b7a2a Reduce the number of interface parameters 2019-08-04 23:38:47 +02:00
Markus Gans aac2231898 remove debug output from code 2019-08-01 00:28:36 +02:00
Markus Gans 0e12be93cc Unit test for the move assignment operator and move constructor in FPoint, FSize and FRect 2019-07-31 23:57:35 +02:00
Markus Gans 92c120b79e The FTermFreeBSD unit test has been extended 2019-07-29 15:52:23 +02:00
Markus Gans 0ba913a23e small fixes 2019-07-29 02:34:58 +02:00
Markus Gans f78aba0395 Add unit test for the FTermFreeBSD class 2019-07-28 23:12:01 +02:00
Markus Gans 2b9c64a445 Reduce include entries in the header files 2019-07-21 23:31:21 +02:00
Markus Gans 8d9e92023a minor fixes 2019-07-14 23:21:49 +02:00