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
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
83a6ee497b
Fix collapse() and expand() in FListViewItem()
2020-02-11 00:29:58 +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
fc1b9ebdf3
Small code improvements
2020-01-03 01:33:18 +01:00
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