delorie.com/archives/browse.cgi | search |
From: | "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Bitmaps in the mittle of the screen? |
Date: | Fri, 26 May 2000 23:20:44 +0400 |
Organization: | MTU-Intel ISP |
Lines: | 28 |
Message-ID: | <392ECE8C.44BC7F47@mtu-net.ru> |
References: | <2yyX4.5725$wYl DOT 220424704 AT newsb DOT telia DOT net> |
NNTP-Posting-Host: | ppp96-33.dialup.mtu-net.ru |
Mime-Version: | 1.0 |
X-Trace: | gavrilo.mtu.ru 959368788 40999 212.188.96.33 (26 May 2000 19:19:48 GMT) |
X-Complaints-To: | usenet-abuse AT mtu DOT ru |
NNTP-Posting-Date: | 26 May 2000 19:19:48 GMT |
X-Mailer: | Mozilla 4.72 [en] (Win95; I) |
X-Accept-Language: | ru,en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Don't you think it's too simple to ask such questions here? Have you ever added/subtracted either numbers or lengths of objects? Don't get me wrong. I don't want to offend you. You just don't think of the problem well. Anyway, here goes something that can help you... You need to figure out position depending on screen resolution and bitmap width/height. I think it's easy enough. Any gfx library provides bitblitting to positions other than top-left corner of the screen, just refer to the Allegro FAQ. Good Luck Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru Fredrik Persson wrote: > > Hi.. > > Im just wondering how you should go about to get a bitmap to appear in the > middle of the screen and not in the upper left corner.. > > thanx in advance...
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |