home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 113 / EnigmaAmiga113CD.iso / software / sviluppo / mcc_monthnavigator / developer / muibuilder3 / monthnavigator.mb
Text File  |  1999-06-04  |  4KB  |  115 lines

  1. class MonthNavigator
  2.  {
  3.   superclass Group;
  4.   testclass MonthNavigator.mcc;
  5.  
  6.   enum InputMode
  7.    {
  8.     None    MUIV_MonthNavigator_InputMode_None    0
  9.     RelVerify    MUIV_MonthNavigator_InputMode_RelVerify    1
  10.     Immediate    MUIV_MonthNavigator_InputMode_Immediate    2
  11.    }
  12.  
  13.   enum Layout
  14.    {
  15.     American    MUIV_MonthNavigator_Layout_American    0
  16.     European    MUIV_MonthNavigator_Layout_European    1
  17.    }
  18.  
  19.   enum ShowMDays
  20.    {
  21.     No        MUIV_MonthNavigator_ShowMDays_No        0
  22.     OnlyFillUp    MUIV_MonthNavigator_ShowMDays_OnlyFillUp    1
  23.     Yes        MUIV_MonthNavigator_ShowMDays_Yes        2
  24.    }
  25.  
  26.   enum MarkHooks
  27.    {
  28.     HighlightToday    MUIV_MonthNavigator_MarkHook_HiToday    1
  29.    }
  30.  
  31.   param MUIP_MonthNavigator_Update
  32.    {
  33.     ULONG MethodID;
  34.    }
  35.  
  36.   param MUIP_MonthNavigator_Mark
  37.    {
  38.     ULONG    MethodID;
  39.     LONG    Year;
  40.     ULONG    Month;
  41.     ULONG    Day;
  42.     Object    *dayobj;
  43.    }
  44.  
  45.   param MUIP_MonthNavigator_DragQuery
  46.    {
  47.     ULONG    MethodID;
  48.     LONG    Year;
  49.     ULONG    Month;
  50.     ULONG    Day;
  51.     Object    *dayobj;
  52.     Object    *obj;
  53.    }
  54.  
  55.   param MUIP_MonthNavigator_DragDrop
  56.    {
  57.     ULONG    MethodID;
  58.     LONG    Year;
  59.     ULONG    Month;
  60.     ULONG    Day;
  61.     Object    *dayobj;
  62.     Object    *obj;
  63.    }
  64.  
  65.   param MUIS_MonthNavigator_MarkDay
  66.    {
  67.     ULONG  Version;
  68.     LONG   Year;
  69.     UWORD  Month;
  70.     UWORD  Day;
  71.     STRPTR PreParse;
  72.     ULONG  Background;
  73.     STRPTR ShortHelp;
  74.     BOOL   Disabled;
  75.    }
  76.  
  77.   attributes
  78.    {
  79.     ShowWeekdayNames    MUIA_MonthNavigator_ShowWeekdayNames    0x81ee0005 [ea.i..] BOOL            TRUE
  80.     ShowWeekNumbers    MUIA_MonthNavigator_ShowWeekNumbers    0x81ee0006 [ea.i..] BOOL            TRUE
  81.     InputMode        MUIA_MonthNavigator_InputMode        0x81ee0009 [ea.i..] ENUM(InputMode) None
  82.     UseFrames        MUIA_MonthNavigator_UseFrames        0x81ee000a [ea.i..] BOOL            TRUE
  83.     ShowInvisibles    MUIA_MonthNavigator_ShowInvisibles    0x81ee000b [ea.i..] BOOL            FALSE
  84.     WeekdayNamesSpacing    MUIA_MonthNavigator_WeekdayNamesSpacing    0x81ee000c [ea.i..] ULONG           "8"
  85.     WeekNumbersSpacing    MUIA_MonthNavigator_WeekNumbersSpacing    0x81ee000d [ea.i..] ULONG           "8"
  86.     LineWeekdayNames    MUIA_MonthNavigator_LineWeekdayNames    0x81ee000e [ea.i..] BOOL            FALSE
  87.     LineWeekNumbers    MUIA_MonthNavigator_LineWeekNumbers    0x81ee000f [ea.i..] BOOL            FALSE
  88.     Draggable        MUIA_MonthNavigator_Draggable        0x81ee0012 [e..isg] BOOL            FALSE
  89.     Dropable        MUIA_MonthNavigator_Dropable        0x81ee0014 [e..isg] BOOL            FALSE
  90.     ShowLastMonthDays    MUIA_MonthNavigator_ShowLastMonthDays    0x81ee0017 [ea.i..] ENUM(ShowMDays) None
  91.     ShowNextMonthDays    MUIA_MonthNavigator_ShowNextMonthDays    0x81ee0018 [ea.i..] ENUM(ShowMDays) None
  92.     MonthAdjust        MUIA_MonthNavigator_MonthAdjust        0x81ee0019 [.....g] LONG
  93.     FixedTo6Rows    MUIA_MonthNavigator_FixedTo6Rows    0x81ee0033 [ea.i..] BOOL        FALSE
  94.     Layout        MUIA_MonthNavigator_Layout        0x81ee0034 [ea.i..] ENUM(Layout)    American
  95.  
  96.     MarkHook        MUIA_MonthNavigator_MarkHook        0x81ee0013 [...is.] HOOK()          ""
  97.     DragQueryHook    MUIA_MonthNavigator_DragQueryHook    0x81ee0015 [...is.] HOOK()          ""
  98.     DragDropHook    MUIA_MonthNavigator_DragDropHook    0x81ee0016 [...is.] HOOK()          ""
  99.    }
  100.  
  101.   methods
  102.    {
  103.     Update    MUIM_MonthNavigator_Update    0x81ee0010    [.]    MUIP_MonthNavigator_Update;
  104.     Mark    MUIM_MonthNavigator_Mark    0x81ee0030    [.]    MUIP_MonthNavigator_Mark;
  105.     DragQuery    MUIM_MonthNavigator_DragQuery    0x81ee0031    [.]    MUIP_MonthNavigator_DragQuery;
  106.     DragDrop    MUIM_MonthNavigator_DragDrop    0x81ee0032    [.]    MUIP_MonthNavigator_DragDrop;
  107.    }
  108.  
  109.   settings
  110.    {
  111.     Horiz    TRUE    fixed;
  112.     Spacing    "0"    fixed;
  113.    }
  114.  }
  115.