Recent

Author Topic: BGRABitmap - BGRAControls For Dummys  (Read 10028 times)

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: BGRABitmap - BGRAControls For Dummys
« Reply #15 on: July 19, 2017, 08:28:28 pm »
I guess I will need to update to what??  1.6.4?
I would rather wait until a stable 1.8 is released, but may not be able to

Perhaps you will be interested to use fpcudeluxe.
http://wiki.freepascal.org/fpcupdeluxe

I heard a lot of positive mentions about it. I do not use it, when everything is working well I'm lazy to try new thing. My Lazarus is working good.

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: BGRABitmap - BGRAControls For Dummys
« Reply #16 on: July 19, 2017, 08:28:36 pm »
Try to use shortcut [Ctrl]+[Alt]+[P] to "view component" and check if BGRA Controls are listed on it.

Nope... they ain't
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: BGRABitmap - BGRAControls For Dummys
« Reply #17 on: July 19, 2017, 08:32:30 pm »
Nope.... it went perfectly smooth!
I'm really stumped by that. Not dwell too long on it, apparently it seems possible this can happen ...

Note that Lazarus 1.8+ will make this much smoother because of the (integrated) Online Package manager.

Quote
I guess I will need to update to what??  1.6.4?
I would rather wait until a stable 1.8 is released, but may not be able to
Then by all means wait for the 1.8 release (i'm personally waiting for that as well).

Just install an older version of BGRAbitmap/BGRAControls that matches your Lazarus version
(i admit, it is a bit of a stretch if above instructions are actually working as BGRA-author is usually working from Lazarus trunk, but it is worth a shot).

Don't forget to first remove ll remnants from previous BGRAxxxx installations before attempting to install an older version.

Also note that i am assuming that you installed the latest version of BGRA controls, on your Lazarus 1.6 (which as handoko mentioned might not be compatible with 1.6 Lazarus).

I may actually just do that... install version compatible with 1.6 or 1.6.4.
Yes, I did install the latest BGRAControls. Will need to go back it looks like
« Last Edit: July 19, 2017, 08:41:21 pm by technipixel »
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: BGRABitmap - BGRAControls For Dummys
« Reply #18 on: July 19, 2017, 08:35:23 pm »
I was thinking that I may at minimum, at least upgrade my LAZ to 1.6.4 just to be as close to 1.8 as I can without installing 1.8

The upgrading process using the Windows LAZsetup.EXE, is it seamless or do I have to uninstall my entire LAZ first?
I read of conflicting advice (some say keep, some say remove)
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: BGRABitmap - BGRAControls For Dummys
« Reply #19 on: July 19, 2017, 08:41:40 pm »
I personally will make a backup of editoroptions and environmentoption (in the lazarus config folder), because I made some modification of Lazarus options. Then uninstall/remove all and perform a clean installation. If everything working well, then restore those config files back.

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: BGRABitmap - BGRAControls For Dummys
« Reply #20 on: July 19, 2017, 08:45:04 pm »
I personally will make a backup of editoroptions and environmentoption (in the lazarus config folder), because I made some modification of Lazarus options. Then uninstall/remove all and perform a clean installation. If everything working well, then restore those config files back.

Where are the config files stored?
« Last Edit: July 19, 2017, 08:49:10 pm by technipixel »
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: BGRABitmap - BGRAControls For Dummys
« Reply #21 on: July 19, 2017, 08:47:30 pm »
On Linux:
~/.lazarus

I don't know where it is for Windows.

For Linux users, here is how to do clean (re)installation of Lazarus:
http://forum.lazarus.freepascal.org/index.php/topic,36967.msg247084.html#msg247084
« Last Edit: July 19, 2017, 08:49:11 pm by Handoko »

lainz

  • Hero Member
  • *****
  • Posts: 4449
    • https://lainz.github.io/
Re: BGRABitmap - BGRAControls For Dummys
« Reply #22 on: July 19, 2017, 08:57:39 pm »
This is the instructions on that wiki page...

Quote
BGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications. Works only through OpenGL.

That's it!??
 :(

No, that's not true. The controls that works with OpenGL are BGRAControlsFX, that's a separate package. Someone edited the wiki, and now the wiki is wrong.

I wrote the wiki (and did not that wrong edit about OpenGL), but I don't write any tutorial. You drag and drop the controls and change their properties, basically that. There are a lot of demos that comes with the package, go and find them in the downloaded folders of the package.

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: BGRABitmap - BGRAControls For Dummys
« Reply #23 on: July 19, 2017, 08:58:01 pm »
What are the actual names of the cfg files??

I did find a Lazarus folder under my account for the machine.
Quote
C:\Users\****\AppData\Local\lazarus\
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: BGRABitmap - BGRAControls For Dummys
« Reply #24 on: July 19, 2017, 09:03:11 pm »
All the *.xml are config files. But the most important (for me) are editoroptions.xml and environmentoption.xml.

@lainz

Acually the TS has issue installing BGRAControls, not how using it.
« Last Edit: July 19, 2017, 09:06:01 pm by Handoko »

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: BGRABitmap - BGRAControls For Dummys
« Reply #25 on: July 19, 2017, 09:05:11 pm »
This is the instructions on that wiki page...

Quote
BGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications. Works only through OpenGL.

That's it!??
 :(

No, that's not true. The controls that works with OpenGL are BGRAControlsFX, that's a separate package. Someone edited the wiki, and now the wiki is wrong.

I wrote the wiki (and did not that wrong edit about OpenGL), but I don't write any tutorial. You drag and drop the controls and change their properties, basically that. There are a lot of demos that comes with the package, go and find them in the downloaded folders of the package.

Oh no... bummer.

So, what is the deal.
Are there supposed to be visible controls I should be seeing using 1.6?
And I see samples for the BGRABitmap.... but I don't see any examples with those nice fancy controls.
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: BGRABitmap - BGRAControls For Dummys
« Reply #26 on: July 19, 2017, 09:05:50 pm »
All the *.xml are config files. But the most important (for me) are editoroptions.xml and environmentoption.xml.

Yep.... that is what I see!!
Cool.
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: BGRABitmap - BGRAControls For Dummys
« Reply #27 on: July 19, 2017, 09:07:58 pm »
This is the instructions on that wiki page...

Quote
BGRA Controls is a set of graphical UI elements that you can use with Lazarus LCL applications. Works only through OpenGL.

That's it!??
 :(

No, that's not true. The controls that works with OpenGL are BGRAControlsFX, that's a separate package. Someone edited the wiki, and now the wiki is wrong.

I wrote the wiki (and did not that wrong edit about OpenGL), but I don't write any tutorial. You drag and drop the controls and change their properties, basically that. There are a lot of demos that comes with the package, go and find them in the downloaded folders of the package.

Missing etPackage on some of the samples... What is that?
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

Handoko

  • Hero Member
  • *****
  • Posts: 5122
  • My goal: build my own game engine using Lazarus
Re: BGRABitmap - BGRAControls For Dummys
« Reply #28 on: July 19, 2017, 09:13:29 pm »
You really need to try Online Package Manager. Installing new packages never been so easy. ::)

pixelink

  • Hero Member
  • *****
  • Posts: 1260
Re: BGRABitmap - BGRAControls For Dummys
« Reply #29 on: July 19, 2017, 09:16:16 pm »
You really need to try Online Package Manager. Installing new packages never been so easy. ::)

Hmmm... I don't see that. Where is it?
Visual Studio has something similar to this... and I use it.
Can't Type - Forgetful - Had Stroke = Forgive this old man!
LAZ 2.2.0 •  VSSTUDIO(.Net) 2022 • Win10 • 16G RAM • Nvida GForce RTX 2060

 

TinyPortal © 2005-2018