Juha, no I mean this, reflecting this, the old way the OI handled changes:
http://cache.getlazarus.org/videos/drag-inspector.mp4
The lag is visceral. Whenever an item index changes, the entire OI is
invalidated. My change repaints 2 items, the previous row, and the new row.
It's must faster.
--
2018-04-05 12:33 GMT+02:00 Anthony Walter :
> As a side enhancement, it would display information about the top, left,
> width, and height of the changes inside the overlay as you dragged. Also it
> might display the name and class of the control centered within the
> overlay.
Maceij, I get the same lag both in the docked form designer and the normal
form designer when it comes to dragging controls around the form. My idea
is to create a bit, and not actually move the controls when you are
dragging, but rather move or resize an overlay window previewing the new
shape.
2018-04-05 12:16 GMT+02:00 Anthony Walter via Lazarus <
lazarus@lists.lazarus-ide.org>:
> Next I might tackle the lagginess in drag moving controls on the form
> designer. Does that seem like a laggy problem to anyone else?
>
Probably you mean : https://bugs.freepascal.org/view.php?id=33486
I
About the patch, I am still making some changes, but what I've done is the
this. Currently the object inspector draws every row even if it doesn't
need redrawing. I modified the SetItemIndex method to InvalidateRect the
OldIndex and NewIndex, then only redraw those two rows in DoPaint. I added
a
On Thu, 5 Apr 2018 02:04:15 -0400
Anthony Walter via Lazarus wrote:
> I finally got an acceptable darked themed version of Lazarus setup.
>
> http://cache.getlazarus.org/images/lazarus-dark.png
>
> Running Linux Cinnamon
> Theme is named Arc Darkest
> Maxmimus
2018-04-05 8:04 GMT+02:00 Anthony Walter via Lazarus <
lazarus@lists.lazarus-ide.org>:
> I finally got an acceptable darked themed version of Lazarus setup.
>
Looks good for me :) any link to patch/tests?
--
Best regards,
Maciej Izak
--
___
Lazarus
I finally got an acceptable darked themed version of Lazarus setup.
http://cache.getlazarus.org/images/lazarus-dark.png
Running Linux Cinnamon
Theme is named Arc Darkest
Maxmimus extension added to remove titlebars
Code editor colors mostly ripped from VS Code
Btw, if anyone runs Linux Gtk2