Notes from Daily Encounters with Technology RSS 2.0
 
# Sunday, September 17, 2000

Blitz Basic is a simple but powerful programming language for Amiga. At this time a version for Windows is also available but it unfortunately isn't be compatible on the source code level because of different libraries and design decisions. If you're still programming for Amiga in Blitz Basic, here are some routines and techniques which might be of use to you.

ActiveWindow (ActiveWindow.zip (12.32 KB)): This source code demonstrates how to open a window which automaticaly activates itself as long as its screen is the front one. The routine is particularily useful in cases where you open your own screen and a window on it which then receives all the events through IDCMP messages and also changes the pointer. By using this routine you can always know when your screen is the front one and you can activate the window without the user having to intervene.

BitmapPrint (BitmapPrint.zip (16.12 KB)): This is a function for printing text on any bitmap using standard intuition fonts. All font styles are supported and also the shadow and outline effects are available.

ScrollText (ScrollText.zip (45.56 KB)): This is a ready to use scrolling text routine. With it you can add a scrolling text to your program almost without any programming. The code can easily be modified to personal needs. A special font creator program along with an example is also included in the program.

ShapesFix (ShapesFix.zip (18.34 KB)): This archive contains two functions meant as a replacement for the buggy built-in commands CopyShape and Scale which trash the image when its size exceeds 32 KB. You can use these functions safely as long as the size of the single bitplane doesn't exceed 32 KB. In case it does you'll probably have to rewrite the blit functions, too.

Sunday, September 17, 2000 1:41:18 PM (Central European Daylight Time, UTC+02:00)  #    Comments [1] - Trackback
Downloads | Sources
Sponsored Ads

About Me

Damir Arh

Microsoft Certified Professional

View Damir Arh's profile on LinkedIn

Profile for ExAmigan

ExAmigan

Twitter
On my way to Celje today I've seen parhelion (sundog) for the first time http://imgur.com/NssST http://digs.by/dm1TUQ 13 hours ago
How to setup WinMerge as compare tool in Total Commander: http://digs.by/bquumI 2 days ago
Damir's Corner: EventLogTraceListener Can Cause an Application to Crash http://goo.gl/fb/bxEGC 2 days ago
How to debug .NET Framework Source in VS2010 http://digs.by/dr382h 2 days ago
And a list of SQL Server Agent stored procedures for editing data http://digs.by/ch701Z 3 days ago
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

All Content © 2010, Damir Arh, M. Sc. Send mail to the author(s) - Privacy Policy - Sign In
Based on DasBlog theme 'Business' created by Christoph De Baene (delarou)