Commit Graph

69899 Commits

Author SHA1 Message Date
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
zeljan1
4f51192d03 Gtk3: implemented GetDCOriginRelativeToWindow. 2025-01-14 10:01:33 +01:00
zeljan1
f7215ec61b Gtk3: fixed GetDC() 2025-01-14 09:55:14 +01:00
zeljan1
31fd0ce4f3 Gtk3: remove GetDesignerDC from gtk3winapih 2025-01-14 09:46:48 +01:00
zeljan1
9bfea88622 Gtk3: create designer if we are design form. 2025-01-14 09:45:34 +01:00
zeljan1
8882e05fe1 Gtk3: implemented GetDesignerDC, IsDesignerDC and ReleaseDesignerDC 2025-01-14 09:44:09 +01:00
zeljan1
6d849e6312 Gtk3: started TGtk3DesignWidget. 2025-01-14 09:43:12 +01:00
zeljan1
4ac3ce43b4 Gtk3: fixed cairo surface when we call constructor with widget without window, fixed memleak. 2025-01-14 09:40:50 +01:00
dsiders
e775aa597e Docs: LazControls/laznumedit. Adds content to TLazIntegerEdit topics, including:
* TLazIntegerEdit.Utf8KeyPress
* TLazIntegerEdit.RealGetText
* TLazIntegerEdit.InitializeWnd
* TLazIntegerEdit.FinalizeWnd
* TLazIntegerEdit.DoExit
* TLazIntegerEdit.EditingDone
* Housekeeping for linked topics.
2025-01-13 23:00:33 -05:00
Maxim Ganetsky
c997937cc3 Merge branch 'IDE/Options/TDesktopOIOptions' into 'main'
IDE: Initializing all fields in the TDesktopOIOptions constructor

See merge request freepascal.org/lazarus/lazarus!420
2025-01-13 22:53:51 +00:00
n7800
95b1568d6c IDE: Initializing all fields in the TDesktopOIOptions constructor 2025-01-13 22:21:56 +00:00
dsiders
c288b1917c Docs: LazControls. Restores explicit import args in build script. 2025-01-13 15:14:18 -05:00
mattias
c92a49b9f9 codetools: test uses vs local precedence 2025-01-13 19:50:54 +01:00
mattias
fe0820345d lcl: gtk2: debug caret 2025-01-13 19:27:56 +01:00