* * *

Author Topic: BGRA Controls v4.3.2  (Read 63345 times)

lainz

  • Hero Member
  • *****
  • Posts: 1947
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: BGRA-Controls
« Reply #30 on: August 31, 2014, 04:25:03 pm »
Ok.  ::)

Updates in SVN and GitHub:
in bgrascript now you can use let keyword to store values

Code: [Select]
let mynumber 1234
and modify the same way

Code: [Select]
let mynumber 5678
the type doesn't matter, is always stored as string and then converted by the function. you can

Code: [Select]
let mynumber "hello there!"
let mode1 boTransparent
let mode2 dmDrawWithTransparency

example:

Code: [Select]
// "store some values"
let oneh 100

// "Draw rectangles, lines and bitmap"
Rectangle 0,0,oneh,oneh,"rgba(0,0,0,0.6)","rgba(250,250,250,1)","dmDrawWithTransparency"

circular

  • Hero Member
  • *****
  • Posts: 2592
    • Personal webpage
Re: BGRA-Controls
« Reply #31 on: August 31, 2014, 04:46:44 pm »
I checked the rain project. That looks great!  :)

I could not resist but to try to do my own version of the rain. So here is my take on it:
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 1947
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: BGRA-Controls
« Reply #32 on: August 31, 2014, 09:24:13 pm »
Awesome! i'll add it to the bgra test folder.

lainz

  • Hero Member
  • *****
  • Posts: 1947
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: BGRA-Controls
« Reply #33 on: September 02, 2014, 06:59:38 pm »
Added print, input and goto in BGRAScript.

print show a dialog message with a concatenation of strings
input show a input message that stores the result in a variable
goto is usefull to skip lines

CM630

  • Hero Member
  • *****
  • Posts: 703
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: BGRA-Controls
« Reply #34 on: September 08, 2014, 07:53:52 am »
I have added some features to the Knob and the Led from the UE Controls package. These controls are included in the BGRA-Controls. Since the author of UE Controls refuses to accept contributions, I wonder if I should publish my fork on a separate place or maybe my contributions could be added to BGRA-Controls?
Lazarus 1,8,0 RC3;XP 32bit or W7 64bit ;FPC3,0,2;rev 55409

circular

  • Hero Member
  • *****
  • Posts: 2592
    • Personal webpage
Re: BGRA-Controls
« Reply #35 on: September 08, 2014, 07:47:05 pm »
Yes that is a good idea. You could rename them BC or BGRA something. What do you think 007? I don't know if we need an authorisation from the author of UE controls. The thing is if we don't change the name, both controls the original and modified one would collide.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 1947
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: BGRA-Controls
« Reply #36 on: September 09, 2014, 01:29:18 am »
Ok. We can change the code because the controls are open source so I think there's no problem.

paskal try to change all names to bc or bgra, for all if possible, and then we can upload it. If you need it we can give you svn access if is more easy for you.

CM630

  • Hero Member
  • *****
  • Posts: 703
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: BGRA-Controls
« Reply #37 on: September 09, 2014, 07:04:47 am »
Ok. We can change the code because the controls are open source so I think there's no problem.

paskal try to change all names to bc or bgra, for all if possible, and then we can upload it. If you need it we can give you svn access if is more easy for you.
There won't be a problem to change the names, I already did change to something else, I will switch them to BGRA.
I think I won't made changes too often, so I won't need svn acces, a patch or two will do.
But, IMHO it would be better if I do some changes in the icons of the components, to prevent users from confusing them.
BTW, BGRAKnob needs a scale, I will see if I can do something (when the right time comes).


Edit: Any hint for the easiest way to extract an image from a LRS is welcome.
« Last Edit: September 09, 2014, 10:55:31 am by paskal »
Lazarus 1,8,0 RC3;XP 32bit or W7 64bit ;FPC3,0,2;rev 55409

lainz

  • Hero Member
  • *****
  • Posts: 1947
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: BGRA-Controls
« Reply #38 on: September 09, 2014, 07:31:18 pm »

taazz

  • Hero Member
  • *****
  • Posts: 4121
Re: BGRA-Controls
« Reply #39 on: September 09, 2014, 10:59:27 pm »
Edit: Any hint for the easiest way to extract an image from a LRS is welcome.
http://sourceforge.net/projects/lrsexplorer/ my second installation after lazarus was this tool. It manages an lrs file by importing and exporting resources to/from it. I still install it in all my workstations even though I haven't used after I converted everything to rc files.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

CM630

  • Hero Member
  • *****
  • Posts: 703
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: BGRA-Controls
« Reply #40 on: September 10, 2014, 02:13:49 pm »
Enhanced versions of LED and Knob are attached.
Knob is named BGRARKnob, where R stand for "raster", because there is always a scalable knob in the package.

 
http://sourceforge.net/projects/lrsexplorer/ my second installation after lazarus was this tool. It manages an lrs file by importing and exporting resources to/from it.
That is the answer I was looking for. I added a link to the app in the Lazarus Resources wiki.
« Last Edit: September 10, 2014, 02:35:38 pm by paskal »
Lazarus 1,8,0 RC3;XP 32bit or W7 64bit ;FPC3,0,2;rev 55409

lainz

  • Hero Member
  • *****
  • Posts: 1947
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: BGRA-Controls
« Reply #41 on: September 11, 2014, 03:43:29 pm »
Enhanced versions of LED and Knob are attached.
Knob is named BGRARKnob, where R stand for "raster", because there is always a scalable knob in the package.

 
http://sourceforge.net/projects/lrsexplorer/ my second installation after lazarus was this tool. It manages an lrs file by importing and exporting resources to/from it.
That is the answer I was looking for. I added a link to the app in the Lazarus Resources wiki.

Thanks. They're in the lattest svn.

CM630

  • Hero Member
  • *****
  • Posts: 703
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: BGRA-Controls
« Reply #42 on: September 14, 2014, 08:27:54 pm »
I wonder why TDTAnalogGauge and two more widgets have no icons in the Lazarus toolbar?
Lazarus 1,8,0 RC3;XP 32bit or W7 64bit ;FPC3,0,2;rev 55409

lainz

  • Hero Member
  • *****
  • Posts: 1947
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: BGRA-Controls
« Reply #43 on: September 14, 2014, 11:19:38 pm »
I wonder why TDTAnalogGauge and two more widgets have no icons in the Lazarus toolbar?

I have rescued them from oblivion, brought no icon.

TBCXButton control has no icon and is purposely, is a sample control to be extended by the programmer.

lainz

  • Hero Member
  • *****
  • Posts: 1947
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: BGRA-Controls
« Reply #44 on: September 16, 2014, 04:28:30 am »
More than 1000 downloads of BGRA-Controls 3.2, amazing how it grows!

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus