Commit Graph

229 Commits

Author SHA1 Message Date
Bart
f186f03d2d LCL: some changes to comments of enums in Buttons and ComCtrls unit. No functional changes. Patch by Alexey Torgashin, slightly modified by me. Part of Issue #41365. 2025-02-27 13:51:05 +01:00
wp_xyz
0cbb6646f7 LCL/all units with controls: stream events at the end. 2023-08-12 14:55:46 +02:00
Maxim Ganetsky
50e7d46c66 LCL: cleaned up some unused variables, issue #40414 2023-07-31 02:44:43 +03:00
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
Ondrej Pokorny
da539c7b9c IDE: load High-DPI images 2022-09-29 00:59:16 +02:00
Ondrej Pokorny
dc374c1447 Buttons: LoadGlyphFromResource, GetButtonImageIndex 2022-09-29 00:24:20 +02:00
Juha
72fda31b81 LCL: Delete TCustomSpeedButton.DoMouseUp. Part of merge request !21. 2022-06-03 12:52:45 +03:00
mattias
ebc1ea2655 lcl: protected TControl.DoMouseUp/Down 2022-05-07 20:39:15 +02:00
wp_xyz
1f92d4fde1 LCL/TSpeedButton: New property Alignment for left/right aligned or centered caption. 2022-02-07 16:04:47 +01:00
wp_xyz
6e2454530b LCL: Add properties Hot/Disabled/Pressed/SelectedImageIndex to TBitBtn and TSpeedButton. Issue #33299. 2021-12-26 18:06:53 +01:00
wp
7c856f001b LCL/Buttons: Publish DragCursor, DragKind and DragMode for TBitBtn and TSpeedButton. Addendum to issue #38891.
git-svn-id: trunk@65155 -
2021-05-30 19:42:44 +00:00
wp
649d8f7484 LCL/TSpeedButton: Publish drag-and-drop events. Issue #38891.
git-svn-id: trunk@65115 -
2021-05-14 09:27:50 +00:00
wp
a693251026 Publish OnContextPopup and OnResize for some controls to improve Delphi compatibility or compatibility with related controls. Issue #38453, based on patch by Reinhard Kalinke.
git-svn-id: trunk@64513 -
2021-02-09 18:40:00 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
juha
7d90e95e0b LCL: Propogate TAction.ImageIndex to TSpeedButton.ImageIndex. Issue #38135, patch from Anton Kavalenka.
git-svn-id: trunk@64165 -
2020-11-30 20:21:17 +00:00
juha
909fb619f4 LCL: Reset TBitBtn.Caption when DefaultCaption=True. Issue #37472, patch from Joeny Ang.
git-svn-id: trunk@63692 -
2020-08-04 20:10:17 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
ondrej
1687a7b56a Qt, Qt5: fix crash if glyph is available but hidden with ShowMode
git-svn-id: trunk@57921 -
2018-05-13 12:28:28 +00:00
ondrej
6a5a329a91 LCL: editbtn: use LCLGlyphName
git-svn-id: trunk@57767 -
2018-05-02 07:29:27 +00:00
ondrej
6f336ddac4 LCL: button glyph: use property LCLGlyphName for LCLGlyphs
git-svn-id: trunk@57766 -
2018-05-02 06:51:28 +00:00
ondrej
2f9cdb4f2d LCL: move+rename Buttons.LCLBtnGlyphs to ImgList.LCLGlyphs
git-svn-id: trunk@57761 -
2018-05-01 13:53:54 +00:00
ondrej
09e4e6bd2e LCL: buttons: fix FPC 3.0.x compilation
git-svn-id: trunk@57724 -
2018-04-26 10:14:14 +00:00
ondrej
aab1ffcedf LCL: buttons: make TLCLBtnGlyphs.GetImageIndex simpler. Use ResourceName/GlyphName as key.
git-svn-id: trunk@57721 -
2018-04-26 09:57:29 +00:00
ondrej
a0ce80eb98 LCL: buttons: rewrite TLCLBtnGlyphs so that it can register arbitrary images
git-svn-id: trunk@57715 -
2018-04-26 07:40:52 +00:00
ondrej
733714a9cb LCL: TBitBtn: fix GlyphShowMode handling when image list is assigned. Issue #33645
git-svn-id: trunk@57714 -
2018-04-26 05:38:10 +00:00
ondrej
769fe27b8f LCL: remove compatibility todos. Issue #33645
git-svn-id: trunk@57710 -
2018-04-25 11:35:17 +00:00
ondrej
1412bf4f4a LCL: TSpeedButton, TBitBtn: ImageIndex with combo box. Issue #33645
git-svn-id: trunk@57708 -
2018-04-25 10:56:32 +00:00
ondrej
6635b81023 LCL: TBitBtn: support high-resolution Kind images. Issue #33645
git-svn-id: trunk@57706 -
2018-04-25 09:50:58 +00:00
ondrej
d856bc3d36 LCL: TSpeedButton, TBitBtn: publish new Image* properties. Issue #33645
git-svn-id: trunk@57701 -
2018-04-25 07:03:45 +00:00
ondrej
135231e273 LCL: add support for image list to TSpeedButton and TBitBtn. Issue #33645
git-svn-id: trunk@57695 -
2018-04-25 05:39:33 +00:00
mattias
e6f5e26e7c LCL: formatting
git-svn-id: trunk@47543 -
2015-01-27 08:33:20 +00:00
mattias
bd1a801f5d LCL: TCustomSpeedButton: do not store Glyph in lfm when Action provides the Glyph, issue #27357, from BBaz
git-svn-id: trunk@47542 -
2015-01-27 08:31:53 +00:00
juha
51ab663b7f LCL: Publish events OnMouseWheel, OnMouseWheelDown and OnMouseWheelUp for yet more controls. Issue #26781, patch from Sandro Cumerlato.
git-svn-id: trunk@46338 -
2014-09-26 21:40:47 +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
paul
102a858398 lcl, ide: redo LoadGlypFromResource to LoadGlyphFromResourceName with ability to pass an Instance handle
git-svn-id: trunk@42972 -
2013-09-27 08:44:38 +00:00
paul
88f15398f4 lcl: move edit button images from Lazarus to FPC resources
git-svn-id: trunk@42963 -
2013-09-27 03:52:44 +00:00
paul
6c44c5a938 lcl: add LoadGlyphFromResource similar to LoadGlyphFromLazarusResource
git-svn-id: trunk@42959 -
2013-09-27 03:15:50 +00:00
paul
9c3cd46cff lcl: load button icons from FPC resources instead of Lazarus resources
git-svn-id: trunk@42957 -
2013-09-27 02:48:55 +00:00
zeljko
b03327f896 LCL: TCustomBitBtn.Spacing default changed to 4 to be delphi compatibile.issue #24541
git-svn-id: trunk@41509 -
2013-06-03 11:37:30 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
sekelsenmat
b6fd6f59e1 Large patch from Giuliano Colla: Adds pallete images to CD controls, improves TCDButton to be more similar to TBitBtn, improves the speed of mouse/resize message handling in LCL-CustomDrawn-X11 and starts implementing MessageDlg in LazDialogs
git-svn-id: trunk@38612 -
2012-09-11 08:04:30 +00:00
mattias
fe2701f866 lcl gtk2: using translated button captions if resourcestrings translated, bug #22623
git-svn-id: trunk@38243 -
2012-08-14 21:37:27 +00:00
mattias
5957631f25 LCL: fixed visibility of implemented interfaces
git-svn-id: trunk@37067 -
2012-04-28 18:16:59 +00:00
mattias
1d8586a848 gtk2: clean up
git-svn-id: trunk@36791 -
2012-04-15 11:46:16 +00:00
mattias
774703c6a9 lcl: TSpeedButton: implemented AutoSize=true
git-svn-id: trunk@34398 -
2011-12-25 00:05:58 +00:00
sekelsenmat
5e67d91117 applies patch from bug #20252: [Patch] BitBtn with Kind<>bkCustom should not save Caption to LFM but be translated via lclstrconsts
git-svn-id: trunk@32648 -
2011-10-03 08:55:56 +00:00
paul
be294f7218 lcl: set ModalResult to mrClose if BitBtn.Kind = bkClose (issue #0019197)
git-svn-id: trunk@30380 -
2011-04-19 08:04:05 +00:00
blikblum
f5d51f780f lcl: simplify LoadGlyphFrom*
git-svn-id: trunk@30345 -
2011-04-17 12:19:56 +00:00
mattias
c7d2d778a0 LCL: TSpeedButton: started AutoSize, added parameter Drawing to GetGlyphSize and GetTextSize
git-svn-id: trunk@29122 -
2011-01-19 12:53:12 +00:00
paul
d5cb0e2fbe lcl: redo MouseEnter/MouseLeave notifications:
- move application mouse events notification from various message handlers to the WND proc of TWinControl
  - don't assume that control at mouse is the current control which has mouse events. If some control has a mouse capture set then it has the mouse messages and not the control at mouse
  - don't perform a control search in TApplication.DoBeforeMouseMessage - it already has an argument which contains the new mouse control (fixes bug #0016715)
  - fix CM_MOUSEENTER, CM_MOUSELEAVE message handlers so Parent controls will always get CM_ notification before the event handler and inspite of who is the message owner

git-svn-id: trunk@27770 -
2010-10-20 08:02:22 +00:00