Commit Graph

26 Commits

Author SHA1 Message Date
michl
9964bfc872 Sparta: Add warnings about deprecation of packages
git-svn-id: trunk@64533 -
2021-02-11 21:55:57 +00:00
michl
b2881f7b9b SpartaDockedFormEditor: Remove not needed funny button
git-svn-id: trunk@64282 -
2020-12-26 16:37:51 +00:00
michl
2bdfd2f614 SpartaDockedFormEditor: Make form resizable again on Windows after r61997 #a5cca7c662. Issue #36127
git-svn-id: trunk@63218 -
2020-05-25 13:12:58 +00:00
juha
2404e52688 Sparta: Fix a condition testing FPC version.
git-svn-id: trunk@62597 -
2020-01-29 23:43:04 +00:00
juha
b68f02c182 Sparta: Formatting.
git-svn-id: trunk@62080 -
2019-10-18 21:49:33 +00:00
juha
1b50e06c5b Sparta: Rename units in sparta_Generics to avoid name clash with units in FPC sources. Update to latest Generics Collections code. Eliminate USE_GENERICS_COLLECTIONS define.
git-svn-id: trunk@62042 -
2019-10-13 07:24:58 +00:00
juha
76ffb9c721 Sparta docked formeditor: Change visibility of methods so it compiles with FPC trunk. Issue #34816.
git-svn-id: trunk@60119 -
2019-01-20 10:34:39 +00:00
mattias
5f4b92dd6b sparta: less hints
git-svn-id: trunk@58012 -
2018-05-23 13:49:25 +00:00
juha
b36128e0a4 Sparta mdi: Send pBG panel back instead of hiding it. Affects Sparta form designer with TMainMenu. Issue #32200, patch from Anthony Walter.
git-svn-id: trunk@55999 -
2017-10-08 16:58:36 +00:00
hnb
31893afb73 sparta: fix green test color (visible during resize and more problematic for macos). Patch by Anthony Walter (issue #32194).
git-svn-id: trunk@55584 -
2017-07-24 22:20:57 +00:00
hnb
0e58bb1477 sparta: prevent crashing when a TMainMenu is detached (issue #32194).
git-svn-id: trunk@55582 -
2017-07-24 22:11:43 +00:00
hnb
7a619b7316 sparta: better handling of resize cursor at the bottom right to works on all platforms (on mac there is no cursor for crNWSE). Issue #32194.
git-svn-id: trunk@55581 -
2017-07-24 21:53:21 +00:00
hnb
109661082d sparta: fix for designed forms for gtk2. Patch by Anthony Walter (issue #32194). Thanks! :)
git-svn-id: trunk@55580 -
2017-07-24 21:38:13 +00:00
hnb
7ff1c6c057 sparta: don't hack the BorderStyle of designed form for non windows platforms (it has no sense since fake form is not used anymore). It should fix partially issue #32194 (problem with BorderIcons always resetting to [] on non window platforms)
git-svn-id: trunk@55579 -
2017-07-24 21:31:32 +00:00
hnb
6bf088db97 sparta: set DesignTimePPI to default 96DPI for sparta_basicresizeframe.lfm
git-svn-id: trunk@55536 -
2017-07-18 20:33:44 +00:00
hnb
cb38ae5538 sparta: Revert r55523 #8e31460dbb . SIZER_RECT_SIZE is scaled dynamically by LCL. Thanks Michael :)!
git-svn-id: trunk@55535 -
2017-07-18 20:31:20 +00:00
hnb
dce9f97030 sparta: don't use fake design instances for TForm, TDataModule and TFrame. A little clean-up is needed but functionality should be ok. Fix for issues #29615, #29582, #30525, #31127, #31414, #31620
git-svn-id: trunk@55524 -
2017-07-17 21:46:55 +00:00
hnb
8e31460dbb sparta: Make resizer High-DPI aware (again).
git-svn-id: trunk@55523 -
2017-07-17 21:28:19 +00:00
michl
658713d714 Sparta_DockedFormEditor: Fixed drawing of MainMenu after adding the first MenuItem. Issue #31206
git-svn-id: trunk@55433 -
2017-07-03 21:11:47 +00:00
michl
18d999f465 SpartaDockedFormEditor: Scale resizer automatically per LCL.
git-svn-id: trunk@55348 -
2017-06-14 08:27:02 +00:00
michl
3b2c8f1283 SpartaDockedFormEditor: Less warnings and cleanup.
git-svn-id: trunk@55337 -
2017-06-12 12:21:52 +00:00
michl
4f341d6cca SpartaDockedFormEditor: Make resizer High-DPI aware.
git-svn-id: trunk@55335 -
2017-06-12 11:57:05 +00:00
zeljko
aedcce6c20 Sparta, Qt5: fixes for Qt5 ws.
git-svn-id: trunk@53810 -
2016-12-30 17:01:06 +00:00
juha
4f75913e96 Sparta docked form editor: Increase limited width to 5K. Issue #31086, patch from AlexeyT.
git-svn-id: trunk@53702 -
2016-12-16 14:12:07 +00:00
hnb
af3f4f0e1a sparta: better background color theme for designed docked form. Patch from zbyna, thanks!
git-svn-id: trunk@52733 -
2016-07-20 20:29:17 +00:00
hnb
d53cfa9c28 Merged revision(s) 51414, 51448-51450, 51468, 51473, 51477, 51480, 51483, 51486, 51511, 51543-51544, 51638, 52714, 52725-52727 from branches/free-sparta:
sparta: initial commit of "compilable" new sparta package - smart form editor. !NOTE: not for daily usage.
........
sparta: Initial conception for package for MDI: sparta_MDI. Base for sparta_DockedFormEditor package.
........
sparta: Generics.Collections library ( sync with https://github.com/dathox/generics.collections SHA fda586932bd80ef58c08f8ebf5a24316ca4ccca5)
........
sparta: smart form editor adjustment for new sparta_MDI
........
sparta: new class "TFormImpl" for MDI solution (created from TDesignedFormImpl). 
........
sparta: 
-MDI form container "TFormContainer"
-New IResizeFrame interface to handle MDI form moving
-New frame TfrFormBackgroundForMDI
........
sparta: sparta_MDI package modifications:
-new class TMultiplyResizer to menage MDI desktop
-more generic resizer: TAbstractResizer. Base for IDE resizer and TMultiplyResizer
-more advanced IResizeFrame interface


........
sparta: 
-DockedFormEditor adjustment for latest changes in mdi package
-small changes in mdi (visibility of methods).
-OnModified method for IResizeFrame

........
sparta: MDI
-simulate MDI forms order for TMultiplyResizer
-property DesignedForm: IDesignedForm for IResizeFrame
........
sparta:
-IMPORTANT! pixel perfect form resizing (fix for problems for controls with align alLeft, alRight etc on design form).
-Fix problem for windows: wrong design design window width (a little bigger than designed size) TFormImpl.SetRealBounds -> AdjustSize
........
sparta: mdi bug fix for AV in TMultiplyResizer
........
Fix compilation for FPC 3.0 (TRect changes in FPC 3.1 trunk)
........
sparta: Cannot resize the docked form designer, issue #29380 patch from Anthony Walter. Thanks!
........
sparta ToolsAPI: Delphi compatible ToolsAPI/DesignIDE interface at XE2 level (proxy for IDEIntf). Initial commit (no functionality yet), just interfaces and classes without implementation:

designeditors.pas:
-TComponentEditor

designintf.pas:
-Interfaces: IEventInfo, IClass, IActivatable, IDesignObject, IDesignPersistent, IDesignerSelections, IDesigner60, IDesigner70, IDesigner80, IDesigner100, IDesigner, IComponentEditor
-TBaseComponentEditor
-RegisterComponentEditor

designmenus.pas:
-Interfaces: IMenuItems, IMenu, IMainMenu, IPopupMenu, IMenuItem

 
 


........
when form is removed we need to remove all handlers located in collections FFormsStack and FForms. Necessary to avoid AV.
........
sparta: more correct and simpler calculation of form border for Windows
........
sparta: 
  * Fix for loop error for resize. Highly visible problem for docked forms/frames with Align=alClient. 
  * New THookFrame class as new meta class for Frames.
........
updated lpl
........

git-svn-id: trunk@52728 -
2016-07-20 10:40:03 +00:00