Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (EternallyCurious, TipmyPip, Quad, AndrewAMD), 904 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
video_border problem ._. #375044
06/23/11 11:51
06/23/11 11:51
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
ok.. other problem..

I tried to give the launcher/updater a bit more style - with video_border.

i added it this way:
Code:
includes..
[...]
BMAP* border = "border.tga";

var gamebuild = 0;

FONT* font_led    = "Orator Std#24";

void main()
{
	d3d_antialias = 9;
	wait(1);
	sky_color.red = 1; sky_color.green = 1; sky_color.blue = 1;
	screen_color.red = 1; screen_color.green = 1; screen_color.blue = 1;
	enet_init();
	http_init();
	if (sys_winversion >= 6 && version >= 8)
	{
		video_border(border, 10, 10, 640, 480);
	}
	
	
	mouse_mode = 2;
	mouse_range = 10000;
	
	PANEL* pan_versionsnummer = pan_create("", 9999);
	pan_versionsnummer.bmap = bmap_createblack(640,480,24); //cutout
	pan_setdigits(pan_versionsnummer, 0, 10, 10, "Build: %.0f", font_led, 1, gamebuild);
	set(pan_versionsnummer, SHOW);
	
	while(1)
	{
		vec_set(mouse_pos,mouse_cursor);
		wait(1);
	}
}


BMAP* border is a 32Bit TGA File, without alpha channel.

Problem:
Whenever i click inside the window, the lower window is set active, and the Engine Window stays in the background...

That´s a bt annoying.. cause.. a Launcher without mouse control is a bit ugly ._.

Last edited by Espér; 06/24/11 05:47.

Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: video_border problem ._. [Re: Espér] #375527
06/26/11 09:47
06/26/11 09:47
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline OP
Expert
Espér  Offline OP
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
is there really nobody who can help me? ._.


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<

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