Commit Graph

61 Commits

Author SHA1 Message Date
Juha
3ec140e266 Move unit ComponentReg from IdeIntf to BuildIntf. 2024-03-15 10:40:41 +02:00
Juha
73bf0767a7 Designer: Simplify and fix minor bugs. Use psSolid for selection line. Issue #40295, patch by n7800. 2023-06-05 16:01:26 +03:00
juha
ce1d8c1014 IDE: Optimize ComponentPalette caches. Index by registered class instead of class name.
git-svn-id: trunk@64182 -
2020-12-08 19:34:40 +00:00
juha
477d5362ae Designer: Optimize ComponentIsInvisible with a cache. Affects the whole designer.
git-svn-id: trunk@64164 -
2020-11-30 19:42:24 +00:00
juha
d99c3b888f Designer: Move code from TComponentPalette.CheckComponentDesignerVisible to function ComponentIsInvisible.
git-svn-id: trunk@64163 -
2020-11-30 19:42:22 +00:00
juha
53ee66450d LazUtils: Move exception and stack trace stuff to new LazTracer. Move function ConvertLineEndings to LazUtilities.
git-svn-id: trunk@58255 -
2018-06-14 09:05:50 +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
5eb469913c ide: rewrite (simplify) High-DPI icon scaling
+ support _150 and _200 variants for component images

git-svn-id: trunk@54946 -
2017-05-17 09:31:43 +00:00
ondrej
be04a6d474 ide, designer: high-DPI: scale non-visual components. Issue #31812
git-svn-id: trunk@54932 -
2017-05-14 19:42:05 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
ondrej
0ba709770d lcl, designer: add and use GetDesignerForm
git-svn-id: trunk@51133 -
2016-01-02 18:20:54 +00:00
mattias
2290274ae7 IDE: checked compiler warnings, clean up
git-svn-id: trunk@48238 -
2015-03-10 16:02:54 +00:00
mattias
ad284bb8ab IDE: debug componentstate
git-svn-id: trunk@44279 -
2014-02-27 12:49:45 +00:00
mattias
73d6a41ca5 IDE: designer: fixed painting of designer items for TControl paint messages
git-svn-id: trunk@39624 -
2012-12-22 21:44:08 +00:00
mattias
c64b628c67 IDE: fixed painting datamodules
git-svn-id: trunk@23103 -
2009-12-12 15:51:01 +00:00
mattias
17ddc6d07d IDE: fixed GetParentFormRelativeTopLeft for nested non visual components
git-svn-id: trunk@23100 -
2009-12-12 12:56:52 +00:00
mattias
57d950f3f9 IDE: fixed GetParentFormRelativeTopLeft for nested non visual components
git-svn-id: trunk@23099 -
2009-12-12 12:56:25 +00:00
paul
39c6ed894c designer: csInline component fixes:
- fix relative coords of non-visual components if their owner has parent
  - clip non-visual components by parent client rectangle

git-svn-id: trunk@23082 -
2009-12-11 07:25:18 +00:00
paul
3a13c17161 designer: fix getting offsets of non-visual ancestor components
git-svn-id: trunk@22817 -
2009-11-27 04:10:25 +00:00
paul
b255bc1884 designer: correctly calculate non-visual component offsets for the designer form
git-svn-id: trunk@22815 -
2009-11-27 02:36:03 +00:00
paul
76f31481a3 designer: fix TDesignerDeviceContext.GetFormOrigin
git-svn-id: trunk@21927 -
2009-09-30 07:48:46 +00:00
paul
45e4016cdd designer: traverse component using keyboard (tab and arrow keys)
git-svn-id: trunk@21749 -
2009-09-17 12:59:14 +00:00
mattias
2d33a670e1 IDEIntf: designer mediator: added ComponentIsIcon
git-svn-id: trunk@21637 -
2009-09-09 20:16:48 +00:00
mattias
a288977d4c IDE: designer: using Left,Top properties if available for non TControl forms
git-svn-id: trunk@21619 -
2009-09-08 11:15:16 +00:00
paul
f5b7d75df5 ide, designer: allow negative left and top for non-visual components (also fixes bug #0013468)
git-svn-id: trunk@21561 -
2009-09-04 03:25:05 +00:00
paul
61ae96cde3 designer: cleanup, formatting
git-svn-id: trunk@21223 -
2009-08-14 16:55:11 +00:00
paul
7dd0bd8b77 ide, designer: fix compilation after recent fpc 2.3.1 change - r13320 #54190edc5b
git-svn-id: trunk@20725 -
2009-06-24 01:29:12 +00:00
paul
0a20153a4d designer: fix painting (visible only on windows)
- use symmetric DC.Restore for all DC.Save calls
  - set control for designer DC since it is not always possible to retrieve control from DC (especially it is impossible on windows)
  - if GetDCOriginRelativeToWindow return False use another approach to retrieve this origin (using known DC control)
  - formatting

git-svn-id: trunk@19064 -
2009-03-22 16:00:04 +00:00
paul
1fdf7aac12 designer: improve look of non-visual components
git-svn-id: trunk@18805 -
2009-02-23 08:34:04 +00:00
paul
f6ffc3b079 formatting
git-svn-id: trunk@18518 -
2009-01-31 13:11:39 +00:00
paul
942fc72cd3 designer: formatting, + add misc debugLn
git-svn-id: trunk@16858 -
2008-10-03 09:26:48 +00:00
paul
ed30a967a5 - increase component button with/height
- redirect all dependencies to component *image* width/height instead of *button* width/height

git-svn-id: trunk@13186 -
2007-12-07 00:07:26 +00:00
mattias
cdde9e222b IDE: fixed updating statusbar on source editor page change via keyboard, fixed typo
git-svn-id: trunk@13110 -
2007-12-01 23:47:14 +00:00
mattias
0154d0a518 gtk2 intf: fixed setting callbacks if no combobox items count=0, gtk2 intf: not setting gtk accelerators for buttons, gtk2 intf: fixed GetClientOrigin for TNoteBook
git-svn-id: trunk@11241 -
2007-05-31 17:34:17 +00:00
mattias
9fdf9fcfdf gtk intf: made creation/freeing of GDI objects more consistent and more strict. gtk2 intf: brush and pen are now created on demand
git-svn-id: trunk@11128 -
2007-05-11 16:52:05 +00:00
mattias
0fdb95d4a6 improved Delphi project converter with reading .dof and .cfg file, multiple retries and fixing include filenames in .lpr
git-svn-id: trunk@8868 -
2006-03-05 23:55:40 +00:00
mattias
c03e8cd810 added DefineRectProperty
git-svn-id: trunk@8811 -
2006-02-23 16:29:43 +00:00
mattias
54f8a04166 fixed a few fpc over warnings from Andrew Haines
git-svn-id: trunk@7284 -
2005-06-25 15:34:03 +00:00
mattias
93cb3ed38c implemented auto add on double click on component palette
git-svn-id: trunk@6358 -
2004-12-10 19:22:28 +00:00
mattias
8fb1867a6b removed obsolete unit vclglobals
git-svn-id: trunk@5814 -
2004-08-18 09:31:21 +00:00
mattias
21b270c41c fixed compilation for fpc 1.0.10
git-svn-id: trunk@5745 -
2004-08-06 06:51:15 +00:00
mattias
add76d4e8b completed new TToolBar
git-svn-id: trunk@5226 -
2004-02-23 18:24:38 +00:00
mattias
9bcc3289ba implemented generic function to hide TComponents without page in designer
git-svn-id: trunk@5164 -
2004-02-04 13:55:08 +00:00
mattias
e00eb8fd1a implemented TMenuItem.Clear
git-svn-id: trunk@5044 -
2004-01-10 18:09:38 +00:00
mattias
5daf16f5cd fixed GetWindowOrgEx, added GetDCOriginRelativeToWindow
git-svn-id: trunk@5043 -
2004-01-10 18:00:42 +00:00
mattias
9605ba5354 deactivated EraseBackGound for TOIPropertyGrid and TTreeView
git-svn-id: trunk@5042 -
2004-01-10 17:09:20 +00:00
mattias
e6a056de16 fixed DestroyComponent
git-svn-id: trunk@5038 -
2004-01-10 00:46:46 +00:00
mattias
711c426a9c workaround for gtk1 invalidate bug
git-svn-id: trunk@4783 -
2003-11-08 22:53:11 +00:00
mattias
5e5c1122a7 renamed LCLLinux to LCLIntf
git-svn-id: trunk@4637 -
2003-09-18 09:21:03 +00:00
marc
bbec34165b * Changed GetCaretPos into GetCursorPos in GetFormRelativeMousePosition
git-svn-id: trunk@4429 -
2003-07-27 17:10:43 +00:00