Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 1,280 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[Lite-C] alpha < 50 & overlay = panel invisible #157161
09/27/07 11:41
09/27/07 11:41
Joined: Sep 2007
Posts: 42
Germany - Braunschweig
deleRium Offline OP
Newbie
deleRium  Offline OP
Newbie

Joined: Sep 2007
Posts: 42
Germany - Braunschweig
Hi.

A few days ago I posted my problem in the "Lite-C Scripting" Forum. I didn't get any usable answers, so I try it here:

Code:
PANEL* pConsole = {
bmap = bConsole;
layer = 1;
flags = TRANSLUCENT;
alpha = 30;
}

...

pConsole.pos_x = 1;
pConsole.pos_y = 1;
set(pConsole,OVERLAY);
set(pConsole,VISIBLE);



When it's set visible, it doesn't appear. But if i set the alpha to a value above 50, it appears. All alpha-values above 50 lets the transparency in- and decrease normaly.

Without the OVERLAY flag, everything works fine!

Lite-C Free-Edition V1.05.5
Direct X 9.0c
Old TNT2 (don't know the exact specs)

Link to my executable: http://rapidshare.com/files/57552769/panel_bug.rar
Link to original post: http://www.coniserver.net/ubbthreads/showflat.php/Cat/0/Number/787868/an/0/page/0#Post787868

Re: [Lite-C] alpha < 50 & overlay = panel invisibl [Re: deleRium] #157162
09/27/07 14:19
09/27/07 14:19
Joined: Jul 2000
Posts: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
Frankfurt
Yes, overlays get 'holes' on transparent parts - that's just what the OVERLAY flag is used for. You can adjust this through:

http://manual.conitec.net/d3d_alpharef.htm

Re: [Lite-C] alpha < 50 & overlay = panel invisibl [Re: jcl] #157163
09/27/07 15:45
09/27/07 15:45
Joined: Sep 2007
Posts: 42
Germany - Braunschweig
deleRium Offline OP
Newbie
deleRium  Offline OP
Newbie

Joined: Sep 2007
Posts: 42
Germany - Braunschweig
Thx, works now

Re: [Lite-C] alpha < 50 & overlay = panel invisibl [Re: deleRium] #209875
06/06/08 11:54
06/06/08 11:54
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline
Senior Member
Clemens  Offline
Senior Member

Joined: Sep 2003
Posts: 303
Germany
You should add this information as a hint for OVERLAY to the manual! Spares searching time wink


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1