Commit Graph

24411 Commits

Author SHA1 Message Date
zeljan1
b290493023 Gtk3: always pass right widget to the paint proc. 2025-03-26 13:42:54 +01:00
zeljan1
737d206718 Gtk3: removed duplicate call. 2025-03-26 13:18:47 +01:00
zeljan1
81c983adb1 Gtk3: TGtk3Notebook cleanup. select-page and change-current-page are not triggered at all. 2025-03-26 13:17:43 +01:00
zeljan1
eedd4100ce Gtk3: no need to call gtkWindow size under x11, GdkRect values are correct. Related to the issue #41518 2025-03-26 13:14:15 +01:00
zeljan1
9829ddbc02 Gtk3: do not call LCLObject.ClientRectNeedsInterfaceUpdate from TGtk3GroupBox layout if we are updating bounds from lcl. 2025-03-26 11:33:02 +01:00
zeljan1
94fd4b65ea Gtk3: improved code readability 2025-03-26 11:00:22 +01:00
zeljan1
d813203584 Gtk3: improved TGtk3CheckListBox. 2025-03-26 10:42:54 +01:00
zeljan1
5616356a71 Gtk3: cleanup 2025-03-26 10:33:24 +01:00
zeljan1
28bca8c694 Gtk3: scrollingwincontrol should offsetmousepos too. 2025-03-26 10:26:23 +01:00
zeljan1
9ba82ba4e0 Gtk3: update should update only gtklayout of custom control. 2025-03-26 10:04:37 +01:00
zeljan1
d750a3d027 Gtk3: cleanup. 2025-03-26 10:00:23 +01:00
zeljan1
511ca29e93 Gtk3: fixed offset for TScrollingWinControl. related to issue #41513 2025-03-26 09:56:08 +01:00
zeljan1
990f5b1a12 Gtk3: TGtk3Window is actually TGtk3ScrollingWinControl. 2025-03-26 09:28:14 +01:00
zeljan1
1ac65a4547 LCL: added gtk3boxes unit to the lpk 2025-03-26 09:10:03 +01:00
zeljan1
9b5d42ffa5 Qt,Qt5,Qt6: proper initialization of scrolled offset. issue #41513 2025-03-25 18:43:37 +01:00
zeljan1
6f6c363f07 Gtk3: make prompt dialogs really modal. 2025-03-25 14:13:52 +01:00
zeljan1
394a1bd2d0 Gtk3: TGtk3HintWindow uses same constructor as TGtk3Window now, also now scrollbars are available inside THintWindow. 2025-03-25 13:57:39 +01:00
zeljan1
4c2ad63048 Gtk3: use cairo_stroke_preserve() in lineTo(). issue #41523 2025-03-25 11:14:54 +01:00
zeljan1
8aea8f322f Gtk3: remove unneeded size allocation of items pixbuf, now component palette in IDE options works. 2025-03-24 20:48:38 +01:00
zeljan1
89ace0a31f Gtk3: fixed autosizing when innerBorder <> 0. issue #41547 2025-03-24 09:00:21 +01:00
Maxim Ganetsky
1a56b9580d LCL-Gtk2: Fixed WindowFromPoint to return correct result if pointer is over drag-image or other "transparent" window. Patch by Artem Izmaylov, issue #41542. 2025-03-23 23:04:04 +03:00
zeljan1
a19d14529d Gtk3: fixed ClientToScreen() for scrollable widgets. issue #41544 2025-03-21 20:41:12 +01:00
zeljan1
ce1a8db4e7 Gtk3: removed hack. 2025-03-21 18:11:18 +01:00
zeljan1
287fbaaa1a Gtk3: gtk3 is not alpha anymore :) . 2025-03-21 17:45:24 +01:00
zeljan1
6a2333c747 Gtk3: do not call resize_children when adding page since it produce mess with TGtk3Notebook sizing. 2025-03-21 17:25:20 +01:00
zeljan1
ea9c716f85 Gtk3: inform LCL about client size change via size-allocate signal of GtkLayout. 2025-03-21 17:02:02 +01:00
zeljan1
827afa1538 Gtk3: fixed TGtk3Page clientToScreen(). 2025-03-21 16:35:23 +01:00
zeljan1
b306e3be43 Gtk3: fixed mouse offset inside TGtk3GroupBox. 2025-03-21 15:18:34 +01:00
zeljan1
ff5da95cf6 Gtk3: removed code which sets automatic policy for scrollbars. issue #41518 2025-03-21 11:17:55 +01:00
zeljan1
f346019b22 Gtk3: offsetMousePos via global coords rather than use adjustment values, simplified code. 2025-03-21 11:07:33 +01:00
zeljan1
18199d8e8b Gtk3: optimize calling of content resize only when needed, avoid size + scrollbar width/height for gtkLayout. 2025-03-21 10:44:39 +01:00
zeljan1
357feec170 Gtk3: use cached lcl value for page_size 2025-03-21 10:02:12 +01:00
zeljan1
1dd3bb3d01 LCL: reorder evaluation in DragStop. Patch by Artem Izmaylov. issue #41539 2025-03-19 15:40:12 +01:00
wp_xyz
6a6db7e851 LCL/TApplication: ShowHintWindow calls ActivateHint when HintInfo.HintData is nil, otherwise ActivateHintData. 2025-03-17 19:23:15 +01:00
wp_xyz
209c68264b LCL/HintWindow: Removed the out-dated assertion in THintWindow.ActivateHint. Issue #41535. 2025-03-17 19:19:02 +01:00
Maxim Ganetsky
0845474588 LCL-Gtk2: fixed component position issues on bsSingle forms under Xfwm4, issue #41219 2025-03-12 15:29:00 +03:00
Maxim Ganetsky
7e1d786c38 LCL-Gtk2: Fixed pasting text from Combobox to some other application when selecting/middle-clicking.
Makes its behavior consistent with TEdit. Also avoids accessing
uninitialized variables.

Follow-up of:
18f1d06255
5f8eacc23d
2025-03-12 15:22:24 +03:00
zeljan1
33868eedbb Gtk3: thaw_notify will trigger changed, so removed unneeded gtk_adjustment_changed() 2025-03-12 11:48:14 +01:00
zeljan1
7ed32b4556 Gtk3: fixed wrong calculation of page_size and value, gtk uses different scrollbar calculation than winapi. 2025-03-12 11:15:17 +01:00
zeljan1
fff12f1750 Gtk3: fixed TGtk3Window.GetClientRect, must subtract scrollbar sizes if overlay scrollbars are used. 2025-03-10 20:47:07 +01:00
zeljan1
28a04f2144 Gtk3: fixed signature of RangeChangeValue 2025-03-10 17:09:44 +01:00
zeljan1
ce839dfa76 Gtk3: attach change-value and value-changed to the window, also reimplemented OffsetMousePos() 2025-03-10 15:45:06 +01:00
zeljan1
ec4ad2c184 Gtk3: better guess when scrollbars are logical 2025-03-10 13:10:05 +01:00
Martin
12afdd137b Win32: Prevent Splitter from activating the "resize bar" window. Avoid focus changes to the form, or its components. Issue #41506 Patch by Lipinast Lekrisov 2025-03-10 00:18:10 +01:00
zeljan1
e11d2d5969 Gtk3: cleanup. 2025-03-09 20:24:04 +01:00
zeljan1
c5c4076b98 Gtk3: cleanup. 2025-03-09 20:00:39 +01:00
zeljan1
85ffeaae19 Gtk3: proper cast and checks. 2025-03-09 19:14:46 +01:00
zeljan1
6e8ef84e2b Gtk3: implemented SetScrollInfo() for TGtk3Window. 2025-03-09 18:26:19 +01:00
zeljan1
a21db703fd Gtk3: connect ScrolledLayoutSizeAllocate, create internal adjustments for TGtk3Window. 2025-03-09 18:17:25 +01:00
zeljan1
ccda0b17c4 Gtk3: renamed CustomControlLayoutSizeAllocate to ScrolledLayoutSizeAllocate, moved to TGtk3ScrollableWin class so can be reused later by TGtk3Window. 2025-03-09 18:14:59 +01:00