106 Commits

Author SHA1 Message Date
Markus Gans
3a391f5fe5 Better setSize() implementation in some widgets 2019-12-23 03:53:32 +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
Markus Gans
88d5c0d050 Improved display of the NewFont midline 2019-11-06 02:40:47 +01:00
Markus Gans
b0080b00cf More code cleanups 2019-10-08 04:37:19 +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
69db7417ad Removing public + protected data members from classes 2019-09-01 23:29:27 +02:00
Markus Gans
37ed970319 More use of direct initializations 2019-08-25 22:16:00 +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
2b9c64a445 Reduce include entries in the header files 2019-07-21 23:31:21 +02:00
Markus Gans
52c5b412f7 Fixes problem with scroll bar view after first draw 2019-06-12 11:37:34 +02:00
Markus Gans
7c46d52ef4 Avoid drawing the scroll bars if the widget is non-visible 2019-06-02 19:11:17 +02:00
Markus Gans
c93c0b6e33 Further segfault bug fixes in FListView 2019-05-27 09:55:29 +02:00
Marek Habersack
c4d9b33628 Fix a segfault when processing input to empty FListView
If the application has a list view with no items and the user clicks the widget
or sends any key (space, plus, minus etc) which acts on the items, the
application will segfault as the item returned from `getCurrentItem()` is
`nullptr` and there's no check made for this condition.

Instead of checking whether current item `!= nullptr` just check whether the
item list is empty and avoid running any code at all in such case.
2019-05-26 23:35:39 +02:00
Markus Gans
439b8310ef Add a "scroll view" chapter to the first steps document 2019-03-24 20:15:17 +01:00
Markus Gans
2270f4cde5 Three new methods in FLineEdit 2019-02-24 00:25:36 +01:00
Markus Gans
d91cd10311 Printing FColorPair to change foreground and background color 2019-01-30 12:17:48 +01:00
Markus Gans
96cdaa2450 Print function can set the cursor position with an FPoint 2019-01-27 13:44:13 +01:00
Markus Gans
eeb32bd66e More accurate interfaces through the strict use of FPoint() and FSize() 2019-01-21 03:42:18 +01:00
Markus Gans
cb090e8aff A bit of refactoring 2019-01-12 09:11:22 +01:00
Markus Gans
016f15c860 Generalize hide() method 2019-01-11 22:16:59 +01:00
Markus Gans
60e64be37b Better widget visibility handling with the methods hide() and show() 2019-01-09 20:05:29 +01:00
Markus Gans
2b110d87d8 Use of initializer_list for FListBox, FListView and FTextView 2019-01-05 22:58:06 +01:00
Markus Gans
0d1f6a5e51 Cygwin compiled fix for C++11 2018-12-30 04:24:46 +01:00
Markus Gans
250c04cefd Small data type changes 2018-12-28 22:57:43 +01:00
Markus Gans
831e9fe05e Global use of FDataPtr for void* 2018-12-27 00:14:46 +01:00
Markus Gans
2a06915f1c Use constexpr for fixed values 2018-12-26 23:41:49 +01:00
Markus Gans
81a4e72916 bool on -> bool enable 2018-12-22 23:50:10 +01:00
Markus Gans
f6c21db7e7 Use of smart pointers 2018-12-20 01:41:04 +01:00
Markus Gans
554d26ca00 Reactivate the event queue 2018-12-17 02:06:22 +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
c3847b6b05 Correct vertical scrollbar position after sorting in FListView 2018-11-27 01:32:21 +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
1f64843fb6 New type FKey for key inputs 2018-11-21 20:07:08 +01:00
Markus Gans
167b7c97bc install fix with final/ftermdata.h 2018-11-20 21:11:04 +01:00
Markus Gans
2cb08ce928 checkable FListViewItem now shows the input cursor 2018-11-18 22:48:55 +01:00
Markus Gans
3953dc19fa FListViewItem now provides checkable list view items 2018-11-18 01:15:38 +01:00
Markus Gans
e40a233d64 FColor fix 2018-11-13 02:51:41 +01:00
Markus Gans
9b3f30f006 Clicking on the column header in FListView now changes the sort order 2018-11-12 23:22:45 +01:00
Markus Gans
b451f0047a Clicking on the column header in FListView now changes the sort order 2018-11-12 22:40:16 +01:00
Markus Gans
d39e85d4c5 FListView now has a sort indicator (▼/▲) to display the sort order 2018-11-10 00:53:57 +01:00