Commit Graph

69776 Commits

Author SHA1 Message Date
zeljan1
9d0d6b229a Gtk3: TCustomControl should start without scrollbars by any meaning, so it uses correct size setted up by lcl. Scrollbar sizes are loaded dynamically now. issue #41338 2025-01-20 21:36:24 +01:00
zeljan1
46142a240f Gtk3: fixed compilation with define gtk3debugsize. 2025-01-20 20:43:27 +01:00
dsiders
0e90435602 Docs: LCL/comctrls. Updates TCustomTreeView hot-tracking topics for changes in e897d845. Issue #41290.
* TCustomTreeView.MouseMove
* TCustomTreeView.HotTrack
* TCustomTreeView.HotTrackColor
2025-01-20 14:16:15 -05:00
zeljan1
984b837034 LCL: added gtk3lclframe.inc to the package. 2025-01-20 19:40:32 +01:00
zeljan1
fd3a20f5c9 Gtk3: Fixed sizing of group box and relatives checkgroup and radiogroup, fixed radiobutton gtk asserts because of HiddenRadioButton 2025-01-20 19:23:41 +01:00
Maxim Ganetsky
0d73603378 LCL: updated Russian translation 2025-01-20 17:15:53 +03:00
mattias
448d4b0a28 lcl: added TCustomDateTimePicker.ShowCalendarForm 2025-01-20 11:43:23 +01:00
wp_xyz
e897d845ea LCL/TreeView: Avoid flicker when hot-tracking is active. Based on patch by @d7_2_laz, issue #41290. 2025-01-20 11:37:25 +01:00
zeljan1
baef5a1511 Gtk3: fixed ownerdraw combobox. 2025-01-19 21:38:31 +01:00
zeljan1
24bf163157 Gtk3: Implemented LCLGtkSpinButton to fix sizing of GtkSpinButton, especially autosize. 2025-01-19 20:22:04 +01:00
wp_xyz
14cab142ef LCL/ShellCtrls: Change internal format string for displaying GB file sizes in TShellListView. 2025-01-19 19:17:13 +01:00
zeljan1
834f380863 Gtk3: applied scrollbars size to client rect if overlay scrolling is enabled. 2025-01-19 17:52:15 +01:00
zeljan1
46023f7b4b Gtk3: removed hardcoded min_size values since they're problematic with environments with dpi > 96 2025-01-19 17:48:05 +01:00
zeljan1
7cd24ecf35 Gtk3: implemented OverlayScrolling property at the widgetset part to help extractint scrolling control client rect and scroll info. 2025-01-19 17:46:40 +01:00
wp_xyz
8e3b710abb LCL/ShellCtrl: ShellListView can display file size in GB. 2025-01-19 16:40:41 +01:00
wp_xyz
8c094c3349 LCL/ShellCtrls: For folders in TShellListView, show generic file type "Folder" and hide value in Size column. 2025-01-19 10:55:59 +01:00
zeljan1
75191de4f0 Gtk3: simplify TGtk3WidgetSet.ReleaseCapture(). 2025-01-19 01:28:43 +01:00
zeljan1
7a1413e616 Gtk3: implemented TGtk3WidgetSet.PaintRgn(). 2025-01-19 01:22:57 +01:00
zeljan1
98f5b86bb3 Gtk3: implemented TGtk3WidgetSet.OffsetRgn() 2025-01-19 01:09:26 +01:00
zeljan1
b329b331ff Gtk3: fixed TGtk3WidgetSet.GetRgnBox(). 2025-01-19 00:54:28 +01:00
zeljan1
560a692e29 Gtk3: optimize ScrollWindowEx(). 2025-01-19 00:44:49 +01:00
Werner Pamler
548a2cf2d1 Merge branch 'main' into 'main'
TShellListView Added FileSortType, OnSortCompare

See merge request freepascal.org/lazarus/lazarus!421
2025-01-18 23:23:55 +00:00
zeljan1
0c0b6882c0 Gtk3: Fixed button sizing/autosizing by introducing LCLGtkButton class, fixed SetScrollInfo, fixed GetClientRect for all scrollable widgets. 2025-01-18 23:33:42 +01:00
zeljan1
b230dabbd3 Gtk3: removed unused code. 2025-01-17 22:57:59 +01:00
zeljan1
a8cbc7ff3c Gtk3: if bRedraw param of setScrollInfo = true, update widget. 2025-01-17 22:33:35 +01:00
zeljan1
f7049dfe01 Gtk3: gtk3int, add LazLogger after LCLProc. 2025-01-17 22:29:08 +01:00
zeljan1
6022d3d881 Gtk3: connect proper methods to value-changed of scrollbars. 2025-01-17 21:42:18 +01:00
zeljan1
f35e1cc8ec Gtk3: Create TMainMenu handle (menubar) on demand, needed when TMainMenu is created dynamically at runtime, eg Lazarus IDE. 2025-01-17 19:59:43 +01:00
zeljan1
fd05614958 Gtk3: use TLMessage instead of TLMMouse. 2025-01-17 19:32:59 +01:00
zeljan1
11d421735f Gtk3: fixed TGtk3Button OnClick 2025-01-17 18:47:10 +01:00
zeljan1
acd16b6b41 Gtk3: use new LCLGtkComboBox and LCLGtkEntry classes, reorganized code, now all pure gtk3 callbacks are static class methods. 2025-01-17 18:29:33 +01:00
zeljan1
c880fb149e Gtk3: less hints. 2025-01-17 18:25:34 +01:00
zeljan1
0f12e6894a Gtk3: overrided GtkComboBox and GtkEntry, needed for proper sizing and autosizing of those controls. 2025-01-17 18:25:00 +01:00
zeljan1
62c808ee25 Gtk3: use LazLogger for debugging. 2025-01-17 18:22:51 +01:00
zeljan1
5c0a927279 Gtk3: use LazLogger for debugging. 2025-01-17 18:18:36 +01:00
mattias
1a0fb4c487 codetools: start test forward decl pointer resolve 2025-01-16 15:33:12 +01:00
mattias
232bb74dd3 lcl: clean up 2025-01-16 15:33:12 +01:00
mattias
eab78cf044 lcl: gtk2: fixed close popup menu, issue #41315 2025-01-16 15:33:12 +01:00
zeljan1
4c39c0d55f Gtk3: added more system metrics. 2025-01-16 13:25:22 +01:00
zeljan1
1f5b7cdd2f Gtk3: implemented system metrics SM_CYMENU, SM_CXMENUSIZE, SM_CYMENUSIZE, SM_CXMENUCHECK, SM_CYMENUCHECK, SM_CXHSCROLL, SM_CYHSCROLL, SM_CXVSCROLL and SM_CYVSCROLL. 2025-01-16 13:00:01 +01:00
zeljan1
efd17f0d68 Gtk3: use LazLogger. 2025-01-16 07:36:30 +01:00
zeljan1
318f3825b7 Gtk3: fixed crash in TGtk3ScrolledWin. 2025-01-15 22:33:07 +01:00
zeljan1
b90ac329b3 Gtk3: implemented basic TGtk3WidgetSet.ScrollWindowEx. 2025-01-15 22:25:41 +01:00
zeljan1
f0e7cbe936 Gtk3: added helper functions to convert cairo rect to TRect and vice versa. 2025-01-15 22:24:01 +01:00
zeljan1
2592b7e842 Gtk3: apply ScrollX & ScrollY to cairo and mouse pos. 2025-01-15 21:56:47 +01:00
zeljan1
7cff16a42a Gtk3: fixed moving by mouse selected widget in designer. 2025-01-15 17:09:14 +01:00
Massimo Magnano
b6b298978f TShellListView Added FileSortType, OnSortCompare 2025-01-15 16:16:58 +01:00
zeljan1
69b940b0c3 Gtk3: fixed build ws with define GTK3DEBUGEVENTS. 2025-01-15 13:47:02 +01:00
zeljan1
cae5c79b47 Gtk3: reduce paint triggering at design time. 2025-01-15 13:36:28 +01:00
zeljan1
54f6671b01 Gtk3: IsDesignerDC should return false for gtk because it can paint outside of paint event. 2025-01-15 13:30:19 +01:00