source: buchla-68k/vlib/vwputm.c@ c65a0e2

Last change on this file since c65a0e2 was 109c83b, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Compiled full ROM in Hatari.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/*
2 =============================================================================
3 vwputm.c -- put a menu in a 2-bit per pixel graphics window
4 Version 1 -- 1987-04-13 -- D.N. Lynx Crowe
5
6 vwputm(obase, nw, fg, bg, row, col, ml)
7 unsigned int *obase;
8 int nw, fg, bg;
9 char *ml[];
10
11 Writes the menu described by the list 'ml' in the
12 'nw' character wide bitmap 'obase', using 'fg' for
13 the foreground color and 'bg' for the background.
14 The menu is at ('row','col') in the bitmap.
15 =============================================================================
16*/
17
18#include <vsdd.h>
19
20extern int vwputs();
21
22/*
23 =============================================================================
24 vwputm(obase, nw, fg, bg, row, col, ml) -- output a menu in a bitmap
25 =============================================================================
26*/
27
28vwputm(obase, nw, fg, bg, row, col, ml)
29unsigned int *obase;
30int nw, fg, bg, row, col;
31register char *ml[];
32{
33 while (*ml) {
34
35 vwputs(obase, nw, fg, bg, row++, col, *ml++);
36 }
37}
38
Note: See TracBrowser for help on using the repository browser.