Commit Graph

69612 Commits

Author SHA1 Message Date
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
zeljan1
3b3556640e Gtk3: fixed crash - wrong cast. 2025-01-14 23:39:49 +01:00
zeljan1
f3573ad638 Gtk3: implemented cairo based TGtk3WidgetSet.DrawGrid(). 2025-01-14 23:33:54 +01:00
zeljan1
d7aa102b72 Gtk3: fixed ExtTextOut, if OPAQUE in params we must call fillRect with BkColor brush before text is drawn. 2025-01-14 21:35:28 +01:00
zeljan1
6e243ea04b Gtk3: fixed drawing text in case when BkMode = OPAQUE, but currentBrush.style = BS_NULL 2025-01-14 19:40:16 +01:00
zeljan1
67c1be1fc6 Gtk3: fixed various brush bugs. 2025-01-14 17:56:14 +01:00
zeljan1
6e2d780497 Gtk3: fix fillRect() if currentBrush.style = BS_NULL. 2025-01-14 14:06:19 +01:00
zeljan1
b8df3cbaa3 Gtk3: we must save and restore BkMode when brush fill with opaque color is enabled. 2025-01-14 13:24:52 +01:00
zeljan1
0cb1196d34 Gtk3: fixed crash with pattern brush. 2025-01-14 12:12:53 +01:00
zeljan1
e0ae1a927a Gtk3: cleanup. 2025-01-14 12:00:32 +01:00
zeljan1
0cf93bfab9 Gtk3: cleanup 2025-01-14 11:48:34 +01:00
zeljan1
7bd95e5168 Gtk3: stop enter/leave notify events while designing because it calls repaints. 2025-01-14 11:41:51 +01:00
zeljan1
8a8026c0c8 Gtk3: better check if cairo is valid. 2025-01-14 11:24:16 +01:00
dsiders
2a59941a59 Docs: DateTimeCtrls. Syncs CSS, build scripts. 2025-01-14 04:57:33 -05:00
zeljan1
f59489a32a Gtk3: create DC from window if possible. 2025-01-14 10:25:44 +01:00