4 * [Generated from numWrite, 08 November 1995]
7 #pragma include_only_once
8 #pragma force_top_level
13 /*----- Overview ----------------------------------------------------------*
32 * Control data: +0 == minimum value
40 * Use: Control type for numeric writable icons.
43 extern routine numWrite;
47 * Control data: +0 == minimum value
55 * Use: Control type for numeric writable icons.
58 extern routine numWrite;
60 /* --- numWrite_set --- *
62 * On entry: R0 == dialogue box handle
63 * R1 == icon number within dialogue
64 * R2 == value to set in the icon
66 * On exit: R2 == value actually set
68 * Use: Writes the specified numeric value into the given writable
69 * icon. The icon must be a dbx control with numWrite type
73 extern routine numWrite_set;
75 /* --- numWrite_read --- *
77 * On entry: R0 == dialogue box handle
80 * On exit: CC if icon contains a valid integer, and
81 * R2 == value shown in the icon
85 * Use: Reads the numeric value within the icon specifed.
88 extern routine numWrite_read;
90 /* --- numWrite_bump --- *
92 * On entry: R0 == dialogue box handle
94 * R2 == increment to apply to it
96 * On exit: R2 == updated value in the icon
98 * Use: Adjusts the value in a writable icon by a given increment.
101 extern routine numWrite_bump;
103 /* --- Macro: NUMWRT --- *
105 * Arguments: icon == icon handle of control
106 * min == minimum representable value
107 * max == maximum representable value
109 * Use: Inserts a definition of a numerical writable icon into
110 * a dbx dialogue definition table.
113 /*----- Constants ---------------------------------------------------------*/
115 #define numWrite_event (0x80000004)
117 #define numWrite_change (0)
118 #define numWrite_move (1)
120 /*----- That's all, folks -------------------------------------------------*/