Re: [Lazarus] Dark themed lazarus

2018-05-04 Thread Andreas Frieß via Lazarus
Maciej Izak via Lazarus wrote: > 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 : ht

Re: [Lazarus] Dark themed lazarus

2018-04-11 Thread Anthony Walter via Lazarus
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. --

Re: [Lazarus] Dark themed lazarus

2018-04-11 Thread Juha Manninen via Lazarus
On Thu, Apr 5, 2018 at 1:16 PM, Anthony Walter via Lazarus wrote: > So far with this change if you click, hold down the mouse, and drag up/down > quickly in the inspector the lag seems greatly reduced, as well as less CPU > usage. Do you mean to click on a property name in OI, then drag it on top

Re: [Lazarus] Dark themed lazarus

2018-04-10 Thread Maciej Izak via Lazarus
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. Does that sound reas

Re: [Lazarus] Dark themed lazarus

2018-04-05 Thread Anthony Walter via Lazarus
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. On

Re: [Lazarus] Dark themed lazarus

2018-04-05 Thread Maciej Izak via Lazarus
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 wa

Re: [Lazarus] Dark themed lazarus

2018-04-05 Thread Anthony Walter via Lazarus
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 pu

Re: [Lazarus] Dark themed lazarus

2018-04-04 Thread Mattias Gaertner via Lazarus
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 extension added to remove titlebar

Re: [Lazarus] Dark themed lazarus

2018-04-04 Thread Maciej Izak via Lazarus
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 m

[Lazarus] Dark themed lazarus

2018-04-04 Thread Anthony Walter via 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 Laza