Commit Graph

187 Commits

Author SHA1 Message Date
juha
aa364c1cfc LCL-GTK3: Fix TPanel paint. Issue #38562, patch from Anton Kavalenka.
git-svn-id: trunk@64740 -
2021-03-03 15:45:13 +00:00
juha
91293d82bb LCL-GTK3: Fix empty form resize and some housekeeping. Issue #38447, patch from Anton Kavalenka.
git-svn-id: trunk@64511 -
2021-02-08 21:04:48 +00:00
juha
25f463a798 LCL-GTK3: Make drawtext use proper default color etc. Issue #38335, patch from Anton Kavalenka.
git-svn-id: trunk@64368 -
2021-01-09 20:41:22 +00:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
juha
dc642ae69d LCL-GTK3: Redesign Hint window support. Issue #37351, patch from Anton Kavalenka.
git-svn-id: trunk@64067 -
2020-10-24 12:29:35 +00:00
juha
610353511b LCL-GTK3: Housekeeping with minor fixes. Rename TGtk3DeviceContext Widget to pcr (pointer to Cairo). Issue #37933, patch from Anton Kavalenka.
git-svn-id: trunk@64031 -
2020-10-16 20:10:32 +00:00
juha
935b33a771 LCL-GTK3: Implement ApplicationProperties.OnActivate/OnDeactivate. Issue #37867, patch from Anton Kavalenka.
git-svn-id: trunk@63957 -
2020-10-04 19:12:11 +00:00
juha
5d144b780e LCL-GTK3: Improve handling of ascii chars, improve code readability. Issue #37826, patch from Anton Kavalenka.
git-svn-id: trunk@63948 -
2020-10-03 09:30:59 +00:00
juha
36dd059fc3 LCL-GTK3: Fix calling button handler. Issue #37804, patch from Anton Kavalenka.
git-svn-id: trunk@63919 -
2020-09-24 09:07:03 +00:00
juha
86323528a8 LCL-GTK3: Implement TextHint for TCustomEdit. Issue #37802, patch from Anton Kavalenka.
git-svn-id: trunk@63911 -
2020-09-23 19:19:26 +00:00
juha
2e27713e66 LCL-GTK3: Improve menu position and RadioItems. Issue #37740, patch from Anton Kavalenka.
git-svn-id: trunk@63896 -
2020-09-20 09:56:38 +00:00
juha
2f35763ff4 LCL-GTK3: Implement Button.OnClick handler. Fix Tab behavior. Issue #37718, patch from Anton Kavalenka.
git-svn-id: trunk@63874 -
2020-09-08 14:37:01 +00:00
ondrej
ef8d6a825e ComboBox: implement TComboBoxStyle.IsOwnerDrawn and .IsVariable and use them instead of the in [] syntax
git-svn-id: trunk@63228 -
2020-05-26 22:25:15 +00:00
ondrej
1c63f54328 ComboBox: more fixes with TComboBoxStyle.HasEditBox
git-svn-id: trunk@63225 -
2020-05-26 21:53:31 +00:00
juha
8813eb52b3 LCL-GTK3: Deal with GDK_KEY_Escape. Remove a duplicate test for nil Widget.
git-svn-id: trunk@63186 -
2020-05-20 15:20:21 +00:00
zeljko
256824fdd6 Gtk3: implemented scrollbar events. Patch by Anton Kavalenka. issue #36964
git-svn-id: trunk@63057 -
2020-04-24 15:26:26 +00:00
zeljko
b089104119 Gtk3: implemented TCustomForm.BorderStyle, TCustomForm.BorderIcons and TCustomForm.AlphaBlend. Patch by Anton Kavalenka. issue #36944
git-svn-id: trunk@63045 -
2020-04-21 15:20:03 +00:00
juha
4952e8e45f LCL-GTK3: Improve TShiftState with MouseDown. Issue #36930, patch from Anton Kavalenka.
git-svn-id: trunk@63039 -
2020-04-20 23:12:55 +00:00
zeljko
6c9c260885 Gtk3: fixed TGroupBox visible status at runtime. Patch by Anton Kavalenka. issue #36938
git-svn-id: trunk@63037 -
2020-04-20 17:21:26 +00:00
zeljko
9f35847ffc Gtk3: fixed setting of radio menuitems. issue #36937
git-svn-id: trunk@63036 -
2020-04-20 15:53:19 +00:00
mattias
1cdc2c2c29 lcl: fixed perms
git-svn-id: trunk@63024 -
2020-04-19 21:13:17 +00:00
zeljko
29baf5cbce gtk3: additional fix for gtk3 dialogs. Patch by Anton Kavalenka. issue #36416
git-svn-id: trunk@63020 -
2020-04-19 13:33:54 +00:00
zeljko
ed5d93546e Gtk3: implemented color/font dialogs. Patch by Anton Kavalenka. issue #36416
git-svn-id: trunk@63008 -
2020-04-17 17:02:28 +00:00
juha
1bc57e8667 LCL-GTK3: Refactor GetObject winapi wrapper in OO-style. Issue #36888, patch from Anton Kavalenka.
git-svn-id: trunk@62923 -
2020-04-09 15:51:45 +00:00
juha
2c0071a131 LCL-GTK3: Improve autoSizing controls. Issue #36826, patch from Anton Kavalenka.
git-svn-id: trunk@62916 -
2020-04-08 14:57:25 +00:00
juha
01082a807d LCL-GTK3: Update for swapped R/B colors. Issue #36374, patch from Anton Kavalenka.
git-svn-id: trunk@62842 -
2020-04-01 10:43:20 +00:00
juha
b4312b6446 LCL-GTK3: Improve resizing of TGtk3Window. Makes TSplitter work. Issue #36256, patch from Anton Kavalenka.
git-svn-id: trunk@62694 -
2020-03-05 11:28:33 +00:00
juha
af1924d230 LCL-GTK3: Implement menu icons. TMenuitem.UpdateImage must be made visible (public). Issue #36607, patch from Anton Kavalenka.
git-svn-id: trunk@62586 -
2020-01-24 19:41:19 +00:00
juha
146d5408d0 LCL-GTK3: Cleanup for TGtk3Panel. Issue #36586, patch from CudaText man.
git-svn-id: trunk@62570 -
2020-01-17 22:55:34 +00:00
dmitry
5a402d6cdc gtk3: implementation for listview sortindication. Patch by Anton Kavalenka. bug #36596
git-svn-id: trunk@62569 -
2020-01-17 19:36:58 +00:00
juha
9a9605685f LCL-GTK3: Fixes for TPanel. Issue #36586, patch from CudaText man.
git-svn-id: trunk@62564 -
2020-01-16 16:15:01 +00:00
juha
6efe880c7b LCL-GTK3: TextOut with filled background. Issue #36569, patch from CudaText man.
git-svn-id: trunk@62563 -
2020-01-16 16:14:55 +00:00
juha
86dc1c8b72 LCL-GTK3: Show icons in ToolButton style tbsCheck. Issue #36465, patch from Anton Kavalenka and CudaText man.
git-svn-id: trunk@62445 -
2019-12-25 11:26:33 +00:00
juha
a896e7f941 LCL-GTK3: Implement OpenGL Control. Issue #36448, patch from Ryan Joseph.
git-svn-id: trunk@62412 -
2019-12-18 18:25:47 +00:00
juha
5f84d21266 LCL-GTK3: Group RadioButtons also outside a RadioGroup. Issue #36445, patch from CudaText man.
git-svn-id: trunk@62402 -
2019-12-15 21:26:10 +00:00
zeljko
5a05f2845f Gtk3: fixed TTrackBar TickStyle tsNone still shows numeric label. Patch by CudaText man. issue #36435
git-svn-id: trunk@62385 -
2019-12-14 13:19:19 +00:00
juha
6808420bc4 LCL-GTK3: Check if function GetControl returns Nil. Simplify the function itself. Issue #36436.
git-svn-id: trunk@62383 -
2019-12-13 21:55:52 +00:00
juha
0bd01ab2ed LCL-GTK3: Improve canvas operations. Issue #36374, patch from Alexey Tor.
git-svn-id: trunk@62380 -
2019-12-12 13:53:41 +00:00
juha
04fae0e9d6 LCL-GTK3: Reduce typecasts in methods of TGtk3WSOpenDialog.
git-svn-id: trunk@62334 -
2019-12-07 17:30:58 +00:00
zeljko
7d7fd26ec7 gtk3: fixed accelerator char on togglebutton. issue #36255
git-svn-id: trunk@62191 -
2019-11-04 14:35:36 +00:00
zeljko
a68352f396 gtk3: fixed accelerators chars. Patch by Alexey Tor. issue #36255
git-svn-id: trunk@62190 -
2019-11-04 09:22:53 +00:00
zeljko
d071cb3d7a gtk3: fixed panel background painting. Patch by Alexey Tor. issue #36259
git-svn-id: trunk@62189 -
2019-11-04 09:20:01 +00:00
zeljko
a60c336c4d gtk3: fixed toolbar buttons appear. Patch by Anton Kavalenka. issue #35667
git-svn-id: trunk@62164 -
2019-11-03 15:09:06 +00:00
juha
ba9f2d75a3 LCL-GTK3: Implement setting Combobox caption. Issue #35685, patch from Anton Kavalenka.
git-svn-id: trunk@62101 -
2019-10-21 19:16:20 +00:00
juha
aad625b25e LCL-GTK2&3: Add more "const" modifiers for string parameters for better performance.
git-svn-id: trunk@61370 -
2019-06-12 19:43:11 +00:00
michl
ac8db2aede LCL: GTK3: Prevent SIGSEGV in Gtk3ScrolledWindowScrollEvent because of bug in GTK3. See https://stackoverflow.com/questions/11775161/gtk3-get-mouse-scroll-direction
git-svn-id: trunk@59904 -
2018-12-23 23:13:04 +00:00
juha
a14d6e5c9a LCL: Change constant $20000000 to MK_ALT. Issue #34481, patch from AlexeyT.
git-svn-id: trunk@59393 -
2018-10-30 11:04:08 +00:00
juha
f1335e9e8a LCL-GTK3: Fix Splitter and its related code. Issue #34106, patch from Anton Kavalenka.
git-svn-id: trunk@59339 -
2018-10-22 18:23:55 +00:00
juha
82083bfa92 LCL-GTK3: Fix TRadioGroup. It did not work at all. Issue #34396, patch from Anton Kavalenka.
git-svn-id: trunk@59262 -
2018-10-07 08:35:55 +00:00
juha
27955d5237 LCL-GTK3: Reduce warnings. Formatting.
git-svn-id: trunk@59261 -
2018-10-07 08:35:48 +00:00
juha
ec579d65bc LCL-GTK3: Fix menu radio group. Issue #34350, patch from Anton Kavalenka.
git-svn-id: trunk@59191 -
2018-09-30 11:32:10 +00:00
michl
c17527dd30 LCL: Revert revision 58448 #9733fa84ab, 58497 #1a0431a7ad and follows: Set Enabled state after creation of handle, not in flags to ensure child windows have the correct state too.
git-svn-id: trunk@58912 -
2018-09-08 20:04:47 +00:00
michl
5ac8647a65 LCL: GTK3: Show controls disabled when Enabled = False. Regression from revision 58448 #9733fa84ab.
git-svn-id: trunk@58759 -
2018-08-22 20:56:14 +00:00
zeljko
11c3b18b53 gtk3: make TCanvas.TextRect useable on coordinates <> 0,0. patch by Anton Kavalenka. issue #31933
git-svn-id: trunk@58592 -
2018-07-22 07:12:11 +00:00
ondrej
c68b93c58e lcl: combo box: add new styles csOwnerDrawEditableFixed and csOwnerDrawEditableVariable as replacement for the old ReadOnly property
git-svn-id: trunk@55245 -
2017-06-05 19:27:43 +00:00
zeljko
e2c35dd6d1 gtk3: implemented Gtk3MouseWheel() event
git-svn-id: trunk@55105 -
2017-05-26 13:49:35 +00:00
zeljko
4eb46c28f3 gtk3widgets: cleanup
git-svn-id: trunk@55103 -
2017-05-26 13:09:43 +00:00
zeljko
812fe391ea gtk3: TGtk3Notebook implemented getPagesCount, do not send change events when page is deleted.
git-svn-id: trunk@55102 -
2017-05-26 12:49:33 +00:00
zeljko
c4540692a0 gtk3: fixed assertions in TGtk3Notebook, implemented GetTabRect GetTabIndex
git-svn-id: trunk@55099 -
2017-05-26 12:00:19 +00:00
zeljko
f849bd1bab Gtk3: focus message is not needed under gtk3 since it is organized in different way. Regression from r55062 #09f9152b29
git-svn-id: trunk@55063 -
2017-05-23 16:03:27 +00:00
zeljko
09f9152b29 gtk2,gtk3: gtk should always send LM_SETFOCUS before mouse messages, like Qt and Win32 does. issue #31900
git-svn-id: trunk@55062 -
2017-05-23 15:39:42 +00:00
mattias
74a0685b73 lcl: gtk3: TGtk3ListView.ItemGetState: use StrToIntDef, from Alexey
git-svn-id: trunk@54647 -
2017-04-20 07:09:46 +00:00
juha
24ed61d2db LCL-GTK3: Free memory block after use. Issue #31638, patch from Anton Kavalenka.
git-svn-id: trunk@54646 -
2017-04-19 19:40:50 +00:00
zeljko
165a5fce27 Gtk3: use simple changed signal for changed event in gtkentry and other related classes.
git-svn-id: trunk@49117 -
2015-05-20 09:00:18 +00:00
zeljko
fb6111e65f gtk3: started imagelist implementation in TListView.
git-svn-id: trunk@47417 -
2015-01-18 18:17:05 +00:00
zeljko
5cc6396356 gtk3: do not report debug line for GDK_GRAB_BROKEN as unhandled. GDK_GRAB_BROKEN is usually send when popupmenu is activated over widget.
git-svn-id: trunk@47299 -
2015-01-04 19:25:46 +00:00
zeljko
f75635d419 gtk3: implemented LM_CONTEXTMENU and popup menu showing. patch by Cedric, modified by me. issue #27231
git-svn-id: trunk@47298 -
2015-01-04 19:19:28 +00:00
andrew
34e10a5eed gtk3 added note about wrong drawing position inside tpage. added case for gdk_unmap
git-svn-id: trunk@43699 -
2014-01-11 03:43:04 +00:00
andrew
fbc2b77b80 renamed xlib2 to lazxlib2
git-svn-id: trunk@43674 -
2014-01-08 04:03:42 +00:00
andrew
bf725981ef gtk3 Added remove implementation for tpagecontrol
git-svn-id: trunk@43673 -
2014-01-08 03:18:11 +00:00
andrew
9a1fb28534 gtk3 fixed tpages caption being set on create
git-svn-id: trunk@43672 -
2014-01-08 02:37:48 +00:00
andrew
3751b5d0a1 Added function to retrieve TNotebook Tab text
git-svn-id: trunk@43670 -
2014-01-07 22:42:04 +00:00
andrew
de64e0a5e3 added setText for gtk3 TPage. still need to set initial page value correctly
git-svn-id: trunk@43669 -
2014-01-07 05:55:09 +00:00
andrew
733f28950f Set TColortoTGdkRGBA alpha to 1 by default
git-svn-id: trunk@43668 -
2014-01-07 04:33:09 +00:00
andrew
2c26fb1733 Converted some gtk3 color stuff using GdkRGBA
git-svn-id: trunk@43665 -
2014-01-06 22:16:12 +00:00
andrew
be58776d84 added TColorToGdkRGBA and GdkRGBAtoTColor. converted gtk3 code to use the new widget.override_* colors correctly
git-svn-id: trunk@43664 -
2014-01-06 20:34:35 +00:00
andrew
66d5951e59 Updated gtk3 bindings to 3.8.6. Also bindings now include the missing error: PPGError on all needed procedures
git-svn-id: trunk@43663 -
2014-01-06 19:43:08 +00:00
juha
c30eb3edd3 Clean outdated DEFINEs from the code, like old compiler versions and FPC_HAS_CONSTREF.
git-svn-id: trunk@43628 -
2014-01-02 18:16:19 +00:00
zeljko
216a903513 Gtk3: implemented TCustomListView.ItemDelete, fixed crash in gtk3cellrenderer
git-svn-id: trunk@43200 -
2013-10-11 08:17:51 +00:00
zeljko
86dacb6100 Gtk3: use LCLIntfCellRenderer for text rendering in TGtk3CheckListBox, so we can use OwnerDraw modes (OnDrawItem event)
git-svn-id: trunk@42978 -
2013-09-27 09:02:10 +00:00
zeljko
5cffde6483 gtk3: setted up selection mode on TGtk3CheckListBox
git-svn-id: trunk@42975 -
2013-09-27 08:51:28 +00:00
zeljko
d31c6bc623 gtk3: implemented TCheckListBox handle - TGtk3CheckListBox
git-svn-id: trunk@42974 -
2013-09-27 08:47:13 +00:00
zeljko
e6338e1d02 gtk3: Implemented TListView.OnSelectItem
git-svn-id: trunk@42967 -
2013-09-27 06:11:03 +00:00
zeljko
c72e600b5b gtk3: implemented TListView.OnColumnClick
git-svn-id: trunk@42949 -
2013-09-26 18:52:45 +00:00
zeljko
70f963dafe gtk3: setDefault for TGtk3Button
git-svn-id: trunk@41831 -
2013-06-23 15:01:07 +00:00
zeljko
e6ce69ca47 gtk3: implemented standard cursors
git-svn-id: trunk@41812 -
2013-06-23 11:14:04 +00:00
zeljko
3a36ec68a7 gtk3 widgetset added.This is base implementation with alpha status.
git-svn-id: trunk@41811 -
2013-06-23 10:35:00 +00:00