devlephant / sizectrl Goto Github PK
View Code? Open in Web Editor NEWTSizeCtrl v8.2
TSizeCtrl v8.2
Flipping control, when its sizes is too small (Changing position + resizing)
Add support for FMX (it's very,very,very painful!)
Check compatibility with other platforms
Any test results from specific platforms (Mac OS, kali linu... khm ubuntu 16) will help
Add Frame, which specifies on showing original object positions.
Add properties:
DisplaySourceRect (active/unactive)
SourceRectMethod => TSourceRectMethod
Property is used to enable/disable grid aligning for components
Draw FocusRect instead of layer it on the components, with inheritance from TCustomForm...
AlphaBlending can be added with Byte Adding ( pDest[x, y] := pDest[x,y]^ (pLayer[x,y] * (1-AlphaBlend/255)) ) method
Regenerate Frame topmost settings(Add FrameOnTop property, e.g make the TMovePanel parent the same as TSizeBtn parent, if needed) [Delphi]
Add aligning lines support (i clearly do not understand how to make such complicated function to work on any platform)
Do something (or maybe ask about what i can use to do that) to prevent project from lagging, when transparency is needed.
[ TSizeBtn => TForm => TCustomForm now..., and, it must be like TSIzeBtn=>TCustomControl ]
PreventEscape function is a set of properties, which target is to make control stay in the visible range
Add custom tag support, to limit or to allow some different actions for the controls with the specified tag
Add color animations support, from my own class/library or from the one's the most famous!
[I have lib for Cs|PHP, so, i can port it to Delphi, without any specific problems - math things only:)]
Limit resizing when control is inserted in aligned or when control contains both aligned and unaligned sub-ctrls (childs)
Create GetOffsetRect macros for getting real component x,y + w,h rect pos-s
WIth gtk it doesn't handles the WM_KEY messages...
[Reason: fActiveControl:=nil cannot be done on GTK]
=> Key moving is not supported
Add editing history, with methods:
<=TSizeCtrlHistory=>
Methods:
BeginUndoBlock
EndUndoBlock
Undo
Restore (Undoes all of the actions)
UndoIndex(index:integer;method: TSizeCtrlIndexShift) (Undoes specified action, slices or merges all of others)
Redo
Clear
Property:
Indexes: TArray
TSizeCtrlIndexShift = (szcsSlice, szcsMerge) //if the method is Slice, the discarded action will be just like a step back to the previous state, in case of Merging - it will be offsetted by calculation of all next steps
including the discarding step's Initial Positions.
TSizeCtrlIndexType = (eMoveLeft, eMoveTop, eMoveRight, eMoveDown,
eMoveLeftTop, eMoveLeftDown, eMoveRightTop, eMoveRightDown,
eResizeLeft, eResizeTop, eResizeRight, eResizeBottom,
eResizeLeftTop, eResizeLeftBottom, eResizeRightTop, eResizeRightBottom);
TSizeCtrlHistoryIndex = record
IsMove: boolean;
EditType: TSizeCtrlIndexType read GetType;//(compares original and destination(result,final) properties to give the correct result)
DX, DY, DW, DH: integer; //
X, Y, W, H: integer;// can be realized as virtual, by getting previous index from parent TSizeCtrlHistory<?+->
Add addRecursively, registerRecursively, removeRecursively, unregisterRecursively
Add component mirroring to draw component like in portal manner[s]
Also, as an option(property)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.