APPLICATIONSCREATION GRAPHIQUE ★ Boxes, Borders & Large Characters ★

Boxes, Borders & Large Characters (The Amstrad User)Applications Creation Graphique
★ Ce texte vous est présenté dans sa version originale ★ 
 ★ This text is presented to you in its original version ★ 
 ★ Este texto se presenta en su versión original ★ 
 ★ Dieser Text wird in seiner Originalfassung präsentiert ★ 

A couple of months ago, Ian Barnes presented two short routines that would produce shadowed and highlighted text, for use in menus or title pages.

I have developed three routines that will add a bit more life to those menus. The three routines are; a box, a border and large characters. They were originally one liners, but have been expanded to make them easier to read.

BOX

This routine simply needs the length, width, x and y coordinates and the colour of the box.

The pen colour is set, the starting location is also set (Line 1100), then the top line of the box is then drawn, including the top right and left comers. The cursor is set to the bottom row and then the bottom line is draw, again including the corners.

The last step in the construction of the box is to draw the two sides this is done by going through a loop (Lines 1130 to 1170).

BORDER

The routine which I use all the time is the border routine, I never write a data base without having a border around every screen. This routine is designed to work in any of the three modes by simply passing the amount of columns into the variable 'xl' and changing into the required mode before passing to the routine. Although the box and border routines are different, the box routine can be used to draw a border, however is much slower in doing so.

LARGE CHARACTERS (Listing 3)

How many times have you seen a double height characters routine? Well personally I have seen three others than this one and all are entirely different. This routine is probably a little difficult to explain, and if you could understand an explanation, you probably wouldn't need one. But take my word for it, it does work. Again you must pass the colour and the x and y coordinates and the message to be printed. The message must be held in the variable 'titles'. The routine starts from line 1140.

TAU

★ PUBLISHER: The Amstrad User (Australia)
★ YEAR: 1987
★ CONFIG: 64K + AMSDOS
★ LANGUAGE:
★ LiCENCE: LISTING
★ AUTHOR: Peter DOUTCH /Spellbound Productions

★ AMSTRAD CPC ★ DOWNLOAD ★

Type-in/Listings:
  » Border    (The  Amstrad  User)    LISTING    ENGLISHDATE: 2024-08-31
DL: 17
TYPE: PDF
SiZE: 64Ko
NOTE: Supplied by archive.org ; 1 page/PDFlib v1.6

  » Boxes    (The  Amstrad  User)    LISTING    ENGLISHDATE: 2024-08-31
DL: 17
TYPE: PDF
SiZE: 47Ko
NOTE: Supplied by archive.org ; 1 page/PDFlib v1.6

  » Large  Characters    (The  Amstrad  User)    LISTING    ENGLISHDATE: 2024-08-31
DL: 21
TYPE: PDF
SiZE: 70Ko
NOTE: Supplied by archive.org ; 2 pages/PDFlib v1.6

★ AMSTRAD CPC ★ A voir aussi sur CPCrulez , les sujets suivants pourront vous intéresser...

Lien(s):
» Applications » Deutscher Zeichensatz
» Applications » Transpen v2 (CPC Revue)
» Applications » Screen Wiz (Popular Computing Weekly)
» Applications » ImpDraw
» Applications » OCP à la Loupe (ACPC n°22)
» Applications » Conversion Ecran Images Degas St
Je participe au site:
» Pour ce titre nous ne disposons de fichier executable sur CPC (Dump, Saisie du listing) , alors si vous avez ça dans vos cartons ou vous désirez usé vos petit doigts boudinés sur votre clavier faites le nous savoir.
» Vous avez des infos personnel ?
» Vous avez remarqué une erreur dans ce texte ?
» Aidez-nous à améliorer cette page : en nous contactant via le forum ou par email.

CPCrulez[Content Management System] v8.73-desktop/c
Page créée en 422 millisecondes et consultée 61 fois

L'Amstrad CPC est une machine 8 bits à base d'un Z80 à 4MHz. Le premier de la gamme fut le CPC 464 en 1984, équipé d'un lecteur de cassettes intégré il se plaçait en concurrent  du Commodore C64 beaucoup plus compliqué à utiliser et plus cher. Ce fut un réel succès et sorti cette même années le CPC 664 équipé d'un lecteur de disquettes trois pouces intégré. Sa vie fut de courte durée puisqu'en 1985 il fut remplacé par le CPC 6128 qui était plus compact, plus soigné et surtout qui avait 128Ko de RAM au lieu de 64Ko.