PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Visual Designer update  (Read 873 times)

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Visual Designer update
« on: December 10, 2017, 03:04:37 PM »

Here is another visual designer update post.

A tremendous amount of work complete on the internal engine that handles the creation and design of forms and controls. The PropertyList has been started as you can see in the attached animated gif. Likewise, the cut/copy/paste functionality for controls is complete and works very well.

The solid base is making it making is a lot easier to add functionality faster than I could previously. Next step will be to complete the PropertyList and then flush out all of the controls and their associated properties.

Code generation is still a ways off.  :)
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Klaas Holland

  • FireFly3 Registered User
  • Junior FireFly Member
  • *
  • Posts: 93
  • FF3 User
Re: Visual Designer update
« Reply #1 on: December 11, 2017, 07:27:13 AM »

Looks nice.

Can you make a horizontal and a vertical red line when you add a new control to line up with the other controls?
Logged

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Re: Visual Designer update
« Reply #2 on: December 11, 2017, 12:15:16 PM »

Can you make a horizontal and a vertical red line when you add a new control to line up with the other controls?
That is definitely something that I hope to implement. I have seen it in other visual designers and I think it would be helpful in this one also.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Bruce Huber

  • FireFly3 User
  • Little Newbie FireFly
  • *
  • Posts: 15
Re: Visual Designer update
« Reply #3 on: December 11, 2017, 09:44:38 PM »

WinFBE + its Visual Designer + WinFBX could well be the toolset that keeps FreeBASIC alive over the long term!

THANKS!!! Paul and Jose!
Bruce
Logged

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Re: Visual Designer update
« Reply #4 on: December 16, 2017, 05:31:19 PM »

Can you make a horizontal and a vertical red line when you add a new control to line up with the other controls?
That is definitely something that I hope to implement. I have seen it in other visual designers and I think it would be helpful in this one also.

I have been working on this... it's been fun so far. Interesting logic to ensure that the snap works correctly and that the proper closest control is identified to snap to.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8247
  • Windows 10
    • PlanetSquires Software
Re: Visual Designer update
« Reply #5 on: December 19, 2017, 04:04:32 PM »

Here is another update. This one relates to the selection rectangle used to lasso/select controls. Latest versions of Windows do not play nice with drawing selection rectangles using GDI functions like DrawFocusRect when outputting to the Windows Screen DC. I have implemented a very nice looking, alpha blended, selection lasso that draws to a top level window with the WS_EX_LAYERED style. Works well and looks very smooth. Animated gif attached to you can see it in action.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Andrew Lindsay

  • FireFly3 Registered User
  • Junior FireFly Member
  • *
  • Posts: 70
Re: Visual Designer update
« Reply #6 on: December 19, 2017, 07:27:56 PM »

That looks awesome.  I'd love to see something like that under my Christmas tree.
Logged