1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
6 // Copyright (C) 1993-1996 by id Software, Inc.
8 // This source is available for distribution and/or modification
9 // only under the terms of the DOOM Source Code License as
10 // published by id Software. All rights reserved.
12 // The source is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
18 // The status bar widget code.
20 //-----------------------------------------------------------------------------
26 // We are referring to patches.
31 // Background and foreground screen numbers
39 // Typedefs of widgets
46 // upper right-hand corner
47 // of the number (right-justified)
51 // max # of digits in number
57 // pointer to current value
60 // pointer to boolean stating
61 // whether to update number
64 // list of patches for 0-9
74 // Percent widget ("child" of number widget,
75 // or, more precisely, contains a number widget.)
81 // percent sign graphic
88 // Multiple Icon widget
91 // center-justified location of icons
98 // pointer to current icon
101 // pointer to boolean stating
102 // whether to update icon
116 // Binary Icon widget
120 // center-justified location of icon
127 // pointer to current icon status
130 // pointer to boolean
131 // stating whether to update icon
136 int data
; // user data
143 // Widget creation, access, and update routines
146 // Initializes widget library.
147 // More precisely, initialize STMINUS,
148 // everything else is done somewhere else.
150 void STlib_init(void);
154 // Number widget routines
171 // Percent widget routines
189 // Multiple Icon widget routines
205 // Binary Icon widget routines
222 //-----------------------------------------------------------------------------
225 // Revision 1.1 2000/02/29 18:21:06 stegerg
226 // Doom port based on ADoomPPC. Read README.AROS!
229 //-----------------------------------------------------------------------------