1 #ifndef NUMERICSTRING_MCC_H
    2 #define NUMERICSTRING_MCC_H
    3 
    4 /*
    5 	NumericString.mcc include
    6 
    7 	Copyright © 2004-2016 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #define MUIC_NumericString "NumericString.mcc"
   11 #define NumericStringObject MUI_NewObject(MUIC_NumericString
   12 
   13 /*
   14 ** The supported Numeric attributes/methods are:
   15 **   MUIA_Numeric_Max/Min
   16 **   MUIA_Numeric_Value (values outside Max/Min will be clipped)
   17 **   MUIM_Numeric_Decrease/Increase
   18 **
   19 ** Default attribute values are the usual ones, except:
   20 **   MUIA_String_Accept: "-0123456789"
   21 **       (if MUIA_Numeric_Min >= 0, i.e. no negative numbers are accepted,
   22 **        the minus character will be automatically rejected too)
   23 **   MUIA_String_Format: MUIV_String_Format_Right
   24 **   MUIA_String_MaxLen: 12
   25 **
   26 ** Setting the following String attributes is discouraged:
   27 **   MUIA_String_Accept/Reject (the default is adequate, see above)
   28 **
   29 ** Setting the following String attributes is forbidden:
   30 **   MUIA_String_Contents (set MUIA_Numeric_Value)
   31 **   MUIA_String_Integer  (set MUIA_Numeric_Value)
   32 **
   33 ** Getting them and notifying on them is ok.
   34 */
   35 
   36 #endif