Commit Graph

649 Commits

Author SHA1 Message Date
Markus Gans bf606f3f23 Close sub-menu on right and middle click 2015-12-19 20:48:08 +01:00
Markus Gans 9cc95d952b Optimize menu example 2015-12-18 21:48:27 +01:00
Markus Gans 6074c78516 More string types for FString relational operators 2015-12-18 21:47:19 +01:00
Markus Gans 0ffe405dd6 little font fix 2015-12-17 00:28:29 +01:00
Markus Gans cc58f61480 Avoid to show menus outside of the screen 2015-12-16 23:57:14 +01:00
Markus Gans 8099c16b57 Improve sub-sub-menu handling 2015-12-12 00:50:59 +01:00
Markus Gans 700c10ef1f Newfont Bullet sign 2015-12-11 06:04:29 +01:00
Markus Gans 7207eaa0ff Add "menu" example 2015-12-08 21:05:00 +01:00
Markus Gans ae62812335 Better handling of empty strings in FLineEdit and FButton + sub-menu example 2015-11-29 15:58:36 +01:00
Markus Gans 70dd5af0fb Small menu improvements 2015-11-25 22:10:23 +01:00
Markus Gans 692f8248e1 Improved mouse and keyboard handling in sub-menus 2015-11-24 23:40:41 +01:00
Markus Gans 53ada3664c Add sub-menu support 2015-11-22 23:54:05 +01:00
Markus Gans 101c9fcc74 Add sub-menu support 2015-11-22 21:41:18 +01:00
Markus Gans 4778258364 Add new classes FCheckMenuItem and FRadioMenuItem 2015-11-16 00:43:53 +01:00
Markus Gans bfac128c3d Add new classes FCheckMenuItem and FRadioMenuItem 2015-11-15 22:31:55 +01:00
Markus Gans 0c0453eb79 Add new classes FCheckMenuItem and FRadioMenuItem 2015-11-15 19:46:33 +01:00
Markus Gans ca60b762a7 Shows accelerator keys on the right side of the FMenu 2015-11-12 23:14:12 +01:00
Markus Gans 6fd2e7c650 Improve menu accelerator keys 2015-11-12 01:33:16 +01:00
Markus Gans df83751be2 Improved the window focus behavior on leave the menu 2015-11-08 21:50:41 +01:00
Markus Gans 98a3a1757b Menu supports newfont 2015-11-08 02:11:55 +01:00
Markus Gans fb8d3df421 Menu supports newfont 2015-11-08 02:01:35 +01:00
Markus Gans b05a20943a Improved menu focus handling 2015-11-07 23:16:09 +01:00
Markus Gans a41de9496f Menu bar navigation without menu drop down 2015-11-05 23:25:21 +01:00
Markus Gans cf9bac4809 Improve keyboard shortcut handling in menus 2015-11-04 05:55:20 +01:00
Markus Gans 8f3fab4bf5 Improve keyboard shortcut handling in menus 2015-11-04 00:14:23 +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 825e7fc959 Color setting improvements 2015-10-24 13:38:58 +02:00
Markus Gans e0246d6d9e Color setting improvements 2015-10-24 00:49:56 +02: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 a478bf6a2a Hidden windows are now non-clickable 2015-10-19 00:07:07 +02:00
Markus Gans 5708ac5699 Newfont characters are now printable in FLabel, FMenuBar and FMenu 2015-10-17 21:05:49 +02:00
Markus Gans c26b84b10a Improve getXTermFont() and getXTermTitle() 2015-10-17 20:41:16 +02:00
Markus Gans 24e52e968e Improve getXTermFont() and getXTermTitle() 2015-10-17 20:39:08 +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 78a1c0cb85 better profiling 2015-10-15 02:37:02 +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 eb05f1c1ed coding style 2015-10-10 04:01:22 +02:00
Markus Gans 6a92b4a956 Deactivate status bar key automatically 2015-10-10 03:14:14 +02:00
Markus Gans a20f3e6ab5 Eliminate duplicate code 2015-10-09 01:23:49 +02:00
Markus Gans e1067ccc22 code optimization 2015-10-07 21:32:30 +02:00
Markus Gans aaf6eeecee code optimization 2015-10-07 02:50:30 +02:00
Markus Gans d13dfbcb9d Refactoring FTerm::init() 2015-10-07 02:36:38 +02:00
Markus Gans e4ec5cb8ff Improve compatibility with initialize_color + better TeraTerm support 2015-10-06 05:09:18 +02:00
Markus Gans 5f86dad265 Update README.md + FString code improvements 2015-10-05 01:01:45 +02:00
Markus Gans e0f87bdaf0 .travis.yml + some code improvements 2015-10-04 19:01:34 +02:00
Markus Gans 46974996c7 Some code improvements 2015-10-04 00:21:08 +02:00
Markus Gans 88f57c0e7e Some code improvements 2015-10-03 23:45:33 +02:00
Markus Gans 391c772922 Some code improvements 2015-10-03 22:41:30 +02:00
Markus Gans 8581b27085 Some code improvements 2015-10-03 22:21:36 +02:00
Markus Gans 29f615141c Some code improvements 2015-10-03 21:58:41 +02:00
Markus Gans 4b2ff8ce75 Some code improvements 2015-10-03 20:48:31 +02:00
Markus Gans a591137f1c Some code improvements 2015-10-03 20:34:37 +02:00
Markus Gans c00e3e3d80 Some code improvements 2015-10-03 19:41:59 +02:00
Markus Gans 5842a74a19 Some code improvements 2015-10-03 19:31:57 +02:00
Markus Gans 5260b87ca0 Some code improvements 2015-10-03 19:01:26 +02:00
Markus Gans d10d6839a2 Some code improvements 2015-10-03 17:01:00 +02:00
Markus Gans a640d8e91f No terminal updates until input data is pending 2015-10-03 01:45:13 +02:00
Markus Gans 976f685ae0 Some code improvements 2015-10-01 05:38:55 +02:00
Markus Gans 9d301213f1 Some code improvements 2015-10-01 05:26:47 +02:00
Markus Gans b24c349204 Some code improvements 2015-10-01 05:08:05 +02:00
Markus Gans 2ba6b0bcf7 Some code improvements 2015-10-01 04:44:26 +02:00
Markus Gans 3ca644669d Some code improvements 2015-10-01 03:48:58 +02:00
Markus Gans fa05774a13 Some code improvements 2015-09-30 22:39:02 +02:00
Markus Gans 15379c61fe Fixed setPos in FWidget 2015-09-28 04:31:29 +02:00
Markus Gans 69e30eae49 Simplify default arguments 2015-09-27 16:45:28 +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 9740350abd Add macro _METHOD_CALLBACK and _FUNCTION_CALLBACK to simplify the use callback functions. The callback data pointer is now predefined with NULL as default argument. 2015-09-24 19:01:27 +02:00
Markus Gans 26e9f75242 Further code optimizations 2015-09-24 00:41:43 +02:00
Markus Gans d0e4b41bbc Fixed a uninitialized value 2015-09-22 22:47:43 +02:00
Markus Gans 3e03f87a6c Add the possibility to hide a virtual window 2015-09-22 22:12:31 +02:00
Markus Gans a5197c6c64 Some code optimizations 2015-09-22 04:18:20 +02:00
Markus Gans 461882ac8e Add comments 2015-09-20 12:27:17 +02:00
Markus Gans 89f6d718f3 Some code optimizations 2015-09-20 05:44:50 +02:00
Markus Gans fea7624124 fixed compile error on 32-bit architectures 2015-09-18 21:38:26 +02:00
Markus Gans 8c7c2fc7a2 config.h.in 2015-09-15 23:07:24 +02:00
Markus Gans 44e31bd115 readme update 2015-08-30 13:11:49 +02:00
Markus Gans fa6666f368 use now the autoconf config.h 2015-08-22 18:53:52 +02:00
Markus Gans adfcd29ee2 add classes FMenu 2015-08-16 20:05:39 +02:00
Markus Gans df6636bf60 Remove setVisibleCursor() from the FToggleButton class constructor 2015-08-11 00:11:07 +02:00
Markus Gans 3cdaff6fe0 Makefile.in 2015-08-10 21:50:27 +02:00
Markus Gans b4ce9a1896 Makefile.in 2015-08-10 00:56:32 +02:00
Markus Gans 543e0a3194 Makefile.in 2015-08-10 00:38:57 +02:00
Markus Gans e570893e8d Preprocessor fix for HAVE_LIBGPM 2015-08-10 00:18:36 +02:00
Markus Gans 8bc6edc018 Preprocessor fix for HAVE_LIBGPM 2015-08-10 00:16:26 +02:00
Markus Gans 1e0f42d3b6 use the return value from read 2015-08-10 00:04:25 +02:00
Markus Gans 31c9d86dba add classes FMenuBar, FMenuList and FMenuItem 2015-08-09 23:47:08 +02:00
Markus Gans b1c8c70391 add vmenubar 2015-08-09 23:44:11 +02:00
Markus Gans d37619b5be add vmenubar to FTerm 2015-08-09 23:39:12 +02:00
Markus Gans b7a0dadd7b * Bug fix in FDialog (use GlobalPos to move)
* Don't check mouse click position on titlebar again while FDialog is in move
2015-08-08 23:40:32 +02:00
Markus Gans 44c8be0224 init() method for the FStatusKey constructor to avoid code duplication 2015-07-26 18:24:10 +02:00
Markus Gans 8c467d0f30 optic 2015-07-18 21:36:57 +02:00
Markus Gans 4ec8a3dda4 Class FLabel: Add multiple lines support 2015-07-18 21:31:26 +02:00
Markus Gans 35a50fdbd7 Class FString: More data types for the + operator 2015-07-18 21:26:27 +02:00
Markus Gans a20a1d8b38 FSwitch member variable switch_offset_pos was not initialized in the first constructor 2015-07-18 21:14:23 +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 9420e2050a Makefile update 2015-07-12 18:54:27 +02:00
Markus Gans 58bd749463 Better contrast on 8 color terminals 2015-07-09 23:29:51 +02:00
Markus Gans 2350242db0 Makefile update 2015-07-09 02:15:12 +02:00
Markus Gans e3983ea8a0 change inactive button foreground color for 8-color-theme 2015-07-09 02:13:47 +02:00
Markus Gans dde6d966ce Makefile update 2015-07-07 23:16:17 +02:00
Markus Gans ab324bb164 Class FString: typecast 2015-07-06 23:30:23 +02:00
Markus Gans 412462d2a9 Makefile.in update 2015-07-06 23:21:44 +02:00
Markus Gans b371ad32f7 Class FSwitch: Hold down the mouse button displays the switch in a different color. 2015-07-06 23:15:34 +02:00
Markus Gans 71050832ac Bug fix disable cursor on focus FSwitch 2015-07-06 22:43:56 +02:00
Markus Gans cef8ec0916 Class FSwitch: disable cursor on focus 2015-07-06 10:50:46 +02:00
Markus Gans 91497fbb4c version 0.1.1 2015-07-04 23:35:34 +02:00
Markus Gans 450225c9c9 Makefile update 2015-07-04 23:18:40 +02:00
Markus Gans a125118845 Add a .gitignore update 2015-07-04 23:10:52 +02:00
Markus Gans e9548d068e Add new class FSwitch 2015-07-04 22:51:47 +02:00
Markus Gans c8a024ddf4 Add a joined right-left-line character to the newfont 2015-07-02 22:27:34 +02:00
Markus Gans 561351cb6a Class FButton: remove one useless line 2015-07-02 00:50:32 +02:00
Markus Gans f4f1629809 Class FButton: use the object timer for the click animation 2015-07-01 22:34:40 +02:00
Markus Gans 65626b98a2 Class FString: improve integer exception handling 2015-06-30 09:29:49 +02:00
Markus Gans 97cefa927f Class FString: improve floating point exception handling 2015-06-30 00:25:36 +02:00
Markus Gans 21e9e0d397 Class FString: improve floating point exception handling 2015-06-30 00:21:50 +02:00
Markus Gans e9a04bcf29 Class FString: add exception handling for toLong() and toULong() 2015-06-28 20:23:39 +02:00
Markus Gans 24091534e5 Simplify Makefile.gcc and Makefile.clang for the example programs 2015-06-28 19:32:03 +02:00
Markus Gans d4df6b700a optic 2015-06-27 23:14:50 +02:00
Markus Gans f9001e59de Class FString: Add toFloat(), toDouble() and setNumber(...) for floating point values 2015-06-27 23:00:12 +02:00
Markus Gans 7d6169fb26 Add the possibility to draw double lines on overlapped flat lines for the 8x16graph font 2015-06-22 00:26:24 +02:00
Markus Gans 215f213bad Add the possibility to draw double lines on overlapped flat lines for the 8x16graph font 2015-06-21 23:27:10 +02:00
Markus Gans 6e1392aa65 Class FButton: mouse click with unsetClickAnimation() works correctly now 2015-06-21 21:53:27 +02:00
Markus Gans 5ac5bf6d31 Add the possibility to change the colors from FButton 2015-06-20 16:14:52 +02:00
Markus Gans 3d9a08dbba Add the possibility to change the colors from FButton 2015-06-19 19:53:30 +02:00
Markus Gans 749e8914c2 Add the possibility to turn off click animation on Fbutton 2015-06-15 22:04:27 +02:00
Markus Gans e87e0ceb94 correction for the modifier letter small x 2015-06-14 19:34:34 +02:00
Markus Gans 1017a220a1 Add Some mathematical signs 2015-06-12 00:00:55 +02:00
Markus Gans 56fb44b8cc Makefile update 2015-06-08 20:42:17 +02:00
Markus Gans 140eb6dbaf mark the implicit conversion constructors 2015-05-28 23:20:51 +02:00
Markus Gans 5ee7d1cf56 more explicit calls 2015-05-28 22:48:15 +02:00
Markus Gans 7789ee4fba Add keyword 'explicit' to some constructors 2015-05-27 02:25:13 +02:00
Markus Gans 1ebd703f05 Remove eol spaces 2015-05-26 23:15:49 +02:00
Markus Gans 5c6a8dfc54 Add a Mandelbrot set program 2015-05-25 23:39:09 +02:00
Markus Gans 475f1011de Add an input field example 2015-05-24 19:15:03 +02:00
Markus Gans 1d940dda14 upload 2015-05-23 13:35:12 +02:00
Markus Gans f0c152095c add .gitignore 2015-05-23 13:30:22 +02:00
Markus Gans f8da6b6743 * Makefile.am update
* add a assertion in FMessageBox
2015-05-20 21:27:08 +02:00
Markus Gans a982670af6 * Remove never read value from code
* Add the possibility to use exec() from FMessageBox to enter and leave the main event loop correctly
* Add a "hello world" example
2015-05-16 00:14:42 +02:00
Markus Gans 11f207a8b2 initial upload 2015-05-03 21:07:50 +02:00