Page 1 of 1
4DSystem gLCD BackGround Issue
Posted: Tue Feb 12, 2013 12:20 am
by ProtonLaser
Hi
Having worked for a while with this gLCD 4DSystem, i can work out most of the component(Print, DrawCircle, Touch) macro but seem to not get response when using the:
1)SetBackColor
2)SetForeColor
No change is detected no matter what range of RGB i use....
--The only way i can change the color is changing the default settings--
Any light on the issue, any one with the same issues???
Thank you guys....
Re: 4DSystem gLCD BackGround Issue
Posted: Tue Feb 12, 2013 1:25 am
by JonnyW
Can you post a sample program to see how you are working this/
The Set***Color() functions do not change the screen, they set the colour for subsequent operations. Have you tried setting the foreground colour then drawing rectangles in that colour?
Cheers,
Jonny
Re: 4DSystem gLCD BackGround Issue
Posted: Wed Feb 13, 2013 10:46 pm
by ProtonLaser
Hi
In the simple program i am posting i would expect the colour to change to Blue, but it isnt...
May be im not doing the correct action to get blue...
As for the way i manage the touch actions in the screen, is this the correct way or is there a more elegant manner to do it?
Thanxs
Re: 4DSystem gLCD BackGround Issue
Posted: Fri Feb 15, 2013 10:11 am
by JonnyW
Hi.
It may help to think of SetForeColor() to be like picking up a pen of that colour. It doesn't mean everything changes to that colour, but whatever you draw from then on will be with that pen and hence in that colour.
Try moving the SetForeColor() above your drawing calls and see if this has set the colour of the shapes you draw:
Good luck,
Jonny
Re: 4DSystem gLCD BackGround Issue
Posted: Sat Feb 23, 2013 7:21 pm
by ProtonLaser
Hi Jonny sorry for the late response... yes actually it works perfect.
***I have a doubt concerning the 4D_DisplayImageFromFilePicaso(X, Y, Filename, PosH, PosL).
1) Could i download an image from my PC into an sd-card, name it "mypic" and call it from the above MACRO like:
4D_DisplayImageFromFilePicaso(20,20, "mypic", PosH, PosL)
What should i do with PosH,and PosL, how do i get the info on this??
Is there something else to do before beeing able to display images on the screen?
Thank you
Sorry if the question are a bit basics or incoherent but i am new to this.
Re: 4DSystem gLCD BackGround Issue
Posted: Sat Feb 23, 2013 7:57 pm
by medelec35
Hi ProtonLaser,
have you looked at example2 within EB076 - Example Files:
http://www.matrixmultimedia.com/product ... 076-LCD32T
Ben's example shows how all the functions work including loading an images
Re: 4DSystem gLCD BackGround Issue
Posted: Sat Mar 16, 2013 7:19 pm
by ProtonLaser
Thanks for the replies,
Finally i dedicated some time learning to use the software that 4Dsystems gives for free for customizing the screen. Great!!
Did some neat job.
Simple and easy.
The software name is just in case anybody wants it is: Workshop V3.0.
Thanks