Recent

Author Topic: Lazarus visual components  (Read 5191 times)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: Lazarus visual components
« Reply #15 on: April 01, 2023, 05:37:51 pm »
Cool project. It's using BGRABitmap 9 slice scaling?

Onur2x

  • New Member
  • *
  • Posts: 34
Re: Lazarus visual components
« Reply #16 on: April 01, 2023, 09:26:30 pm »
Yes. for example when drawing controls. top left - top - top right  and bottom left - bottom- bottom right and left - center -right  . drawn in the form. Image is not drawn to the control as it is

Onur2x

  • New Member
  • *
  • Posts: 34
Re: Lazarus visual components
« Reply #17 on: April 01, 2023, 09:33:54 pm »
If he can draw a few pictures with painting skills, we can decorate it with a few skins. Unfortunately, I'm very inept at drawing.
example picture

incendio

  • Sr. Member
  • ****
  • Posts: 269
Re: Lazarus visual components
« Reply #18 on: May 08, 2023, 03:30:52 am »
Hi,

I downloaded the example and tried to installed onur.lpk, but got erros :

Warning: windres: can't open file `panel.png': No such file or directory
Error: Error while compiling resources -> Compile with -vd for more details. Check for duplicates.

Am I missing something?

Onur2x

  • New Member
  • *
  • Posts: 34
Re: Lazarus visual components
« Reply #19 on: May 11, 2023, 01:58:47 am »
If you update the Onur.rc file, it will be fixed.

//panel RCDATA "panel.png"
//skins RCDATA "skins.ini"
//skins XML "skins.xml"
skn RCDATA "skins.osf"

 

TinyPortal © 2005-2018