TABLE OF CONTENTS
MonthNavigator/--background--
MonthNavigator/MUIA_MonthNavigator_Country
MonthNavigator/MUIA_MonthNavigator_Day
MonthNavigator/MUIA_MonthNavigator_Draggable
MonthNavigator/MUIA_MonthNavigator_FirstWeekday
MonthNavigator/MUIA_MonthNavigator_InputMode
MonthNavigator/MUIA_MonthNavigator_Language
MonthNavigator/MUIA_MonthNavigator_MarkHook
MonthNavigator/MUIA_MonthNavigator_Month
MonthNavigator/MUIA_MonthNavigator_ShowInvisibles
MonthNavigator/MUIA_MonthNavigator_ShowWeekNumbers
MonthNavigator/MUIA_MonthNavigator_ShowWeekdayNames
MonthNavigator/MUIA_MonthNavigator_UseFrames
MonthNavigator/MUIA_MonthNavigator_WeekNumbersSpacing
MonthNavigator/MUIA_MonthNavigator_WeekdayNamesSpacing
MonthNavigator/MUIA_MonthNavigator_Year
MonthNavigator/--background--
MonthNavigator -- ... (V12)
This MUI public custom class shows all days that are in a defined
month and year so that the user easily could select a day for a
date.
Names of weekdays and numbers of weeks can be shown or hidden. The
language to use for the short names of weekdays can be chosen and the
first day of the week can be defined at object creation time.
Setting a notify on MUIA_MonthNavigator_Day makes it easy for your
GUI to act on user input.
NOTES
None at the moment.
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_Country
MUIA_MonthNavigator_Country, Countries [I..] -- ... (V12)
SYNOPSIS
MUIA_MonthNavigator_Country, country,
With MUIA_MonthNavigator_Country you can define the country to use
for the calendar reform.
Defaults to locale.library settings if present, else to
unknown
INPUTS
country - Country to use for the calendar reform
NOTES
Keep in mind that this tag will be overwritten by user prefs!
At the moment this is only a dummy attribut, because country support
for the date.library is still under construction.
Countries is defined in the date.library (Aminet:dev/c/date.lha) as
follows:
typedef enum {unknown,Italia,Deutschland,Schweiz,Danmark,Nederland,
GreatBritain} Countries;
BUGS
No known bugs.
SEE ALSO
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_Day
MUIA_MonthNavigator_Day, USHORT [.SG] -- User selected day (V12)
SYNOPSIS
\*result =*\ set(obj,MUIA_MonthNavigator_Day,day);
\*result =*\ get(obj,MUIA_MonthNavigator_Day,&day);
\*result =*\ DoMethod(obj,MUIM_Notify,MUIA_MonthNavigator_Day,
MUIV_EveryTime,STRINGOBJ,2,MUIM_String_Integer,MUIV_TriggerValue);
The MUIA_MonthNavigator_Day attribute of a MonthNavigator object is
triggered when the user presses a day button.
Defaults to 0 if the user never presses a button!
Setting this attribute is only usefull, when the object is in
immediate mode (see MUIA_MonthNavigator_InputMode)
RESULT
day - User selected day
NOTES
Keep in mind that the day is related to MUIA_MonthNavigator_Month
and MUIA_MonthNavigator_Year! So it will be reset to 0 if you change
MUIA_MonthNavigator_Month or MUIA_MonthNavigator_Year.
Setting the day in immediate mode will only be done if the day is
valid!
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_Month
MUIA_MonthNavigator_Year
de
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_Draggable
MUIA_MonthNavigator_Draggable, BOOL [ISG] -- ... (V16.0)
SYNOPSIS
MUIA_MonthNavigator_Draggable, draggable,
\*result =*\ set(obj,MUIA_MonthNavigator_Draggable,draggable);
\*result =*\ get(obj,MUIA_MonthNavigator_Draggable,&draggable);
With MUIA_MonthNavigator_Draggable you can define that the
days of a MonthNavigator object are draggable.
Defaults to: FALSE
INPUTS
draggable - TRUE : Days can be dragged
FALSE: No drag of days
NOTES
None.
BUGS
No known bugs.
SEE ALSO
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_FirstWeekday
MUIA_MonthNavigator_FirstWeekday, Weekdays [I..] -- ... (V12)
SYNOPSIS
MUIA_MonthNavigator_FirstWeekday, Monday,
The MUIA_MonthNavigator_FirstWeekday attribute makes it possible
to define which weekday is the first weekday in the week.
Defaults to locale.library setting if present, else it defaults to
Monday.
INPUTS
weekday - Weekday that is the first weekday of the week.
NOTES
Keep in mind that this tag will be overwritten by user prefs!
Weekdays is defined in the date.library (Aminet:dev/c/date.lha) as
follows:
typedef enum {dayerr,Monday,Tuesday,Wednesday,Thursday,Friday,
Saturday,Sunday} Weekdays;
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_ShowWeekdayNames
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_InputMode
MUIA_MonthNavigator_InputMode, ULONG [I..] -- ... (V12.2)
SYNOPSIS
MUIA_MonthNavigator_InputMode, inputmode,
With MUIA_MonthNavigator_InputMode you can define that the
MonthNavigator object is a read only or an input object. Input means
that the user can press buttons.
Defaults to: MUIV_MonthNavigator_InputMode_None
INPUTS
inputmode - MUIV_MonthNavigator_InputMode_None:
Results in a read-only object
MUIV_MonthNavigator_InputMode_RelVerify:
Usefull if the object is used for inserting dates
MUIV_MonthNavigator_InputMode_Immediate:
Usefull if the object is used for selecting dates
See Area.mui/MUIA_InputMode for more.
NOTES
None
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_Day
MUIA_MonthNavigator_UseFrames
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_Language
MUIA_MonthNavigator_Language, Languages [I..] -- ... (V12)
SYNOPSIS
MUIA_MonthNavigator_Language, language,
With MUIA_MonthNavigator_Language you can define the language to use
for the short weekday names.
Defaults to locale.library settings if present, else to
ENGLISH
INPUTS
language - Language to use for the short weekday names
NOTES
Keep in mind that this tag will be overwritten by user prefs!
Languages is defined in the date.library (Aminet:dev/c/date.lha) as
follows:
typedef enum {Locale,ENGLISH,DEUTSCH,FRANCAIS,ESPANOL,PORTUGUES,
DANSK,ITALIANO,NEDERLANDS,NORSK,SVENSKA,POLSKI,SUOMALAINEN,GREEK,
ESPERANTO,TURKCE,LATINA} Languages;
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_ShowWeekdayNames
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_MarkHook
MUIA_MonthNavigator_MarkHook, struct Hook * [IS.] -- ... (V16.2)
SYNOPSIS
MUIA_MonthNavigator_MarkHook, &hook,
\*result =*\ set(obj,MUIA_MonthNavigator_MarkHook,&hook);
With MUIA_MonthNavigator_MarkHook you define a hook function
that can mark a day by changing the PreParse or/and Background
settings.
Defaults to: NULL
INPUTS
hook - Pointer to a hook structure.
Builtin mark hooks:
MUIV_MonthNavigator_MarkHook_HiToday : highlight today
NOTES
The hook function has the following structure:
ULONG __saveds __asm MarkFkt(register __a0 struct Hook *hook,
register __a2 struct MUIS_MonthNavigator_MarkDay *markday)
{
if ((markday->Year >= 1970) && (markday->Month == 9) &&
(markday->Day == 18))
{
markday->PreParse = "\033n\0338\033c";
return(TRUE);
}
else
{
return(FALSE);
}
}
You are *NOT* allowed to manipulate Year, Month or Day!
Background is predefined with MUII_ButtonBack or MUII_TextBack,
depending on the InputMode.
PreParse is predefined with "\033n\0332\033c".
ShortHelp is predefined with NULL.
Disabled is predefined with FALSE.
BUGS
No known bugs.
SEE ALSO
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_Month
MUIA_MonthNavigator_Month, USHORT [ISG] -- Used month (V12)
SYNOPSIS
MUIA_MonthNavigator_Month, 1,
\*result =*\ set(obj,MUIA_MonthNavigator_Month,month);
\*result =*\ get(obj,MUIA_MonthNavigator_Month,&month);
The MUIA_MonthNavigator_Month attribute sets or gets the actual used
month for the navigator.
Defaults to the actual month.
INPUTS
month - Month that should be displayed
RESULT
month - Month that is actually used.
NOTES
Keep in mind that the day is related to MUIA_MonthNavigator_Year!
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_Year
MUIA_MonthNavigator_Day
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_ShowInvisibles
MUIA_MonthNavigator_ShowInvisibles, BOOL [I..] -- ... (V12.1)
SYNOPSIS
MUIA_MonthNavigator_ShowInvisibles, FALSE,
Setting the MUIA_MonthNavigator_ShowInvisibles attribute to TRUE
makes the empty fields in the first and the last line visible
Defaults to FALSE
INPUTS
bool - TRUE : Show invisible fields
FALSE: Hide invisible fields
NOTES
Keep in mind that this tag will be overwritten by user prefs!
Invisible fields will not be shown if you switch off frames and
set the object to be a read-only one.
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_UseFrames
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_ShowWeekNumbers
MUIA_MonthNavigator_ShowWeekNumbers, BOOL [I..] -- ... (V12)
SYNOPSIS
MUIA_MonthNavigator_ShowWeekNumbers, FALSE,
Setting the MUIA_MonthNavigator_ShowWeekNumbers attribute to FALSE
hides the week numbers.
Defaults to TRUE
INPUTS
bool - TRUE : Show week numbers
FALSE: Don't show week numbers
NOTES
Keep in mind that this tag will be overwritten by user prefs!
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_ShowWeekdayNames
MUIA_MonthNavigator_UseFrames
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_ShowWeekdayNames
MUIA_MonthNavigator_ShowWeekdayNames, BOOL [I..] -- ... (V12)
SYNOPSIS
MUIA_MonthNavigator_ShowWeekdayNames, FALSE,
Setting the MUIA_MonthNavigator_ShowWeekdayNames attribute to FALSE
hides the weekday names.
Defaults to TRUE
INPUTS
bool - TRUE : Show weekday names
FALSE: Don't show weekday names
NOTES
Keep in mind that this tag will be overwritten by user prefs!
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_FirstWeekday
MUIA_MonthNavigator_Language
s
MUIA_MonthNavigator_UseFrames
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_UseFrames
MUIA_MonthNavigator_UseFrames, BOOL [I..] -- ... (V12.1)
SYNOPSIS
MUIA_MonthNavigator_UseFrames, useframes,
With MUIA_MonthNavigator_UseFrames you can define that the
MonthNavigator object uses frames (and backgrounds) for the names of
weekdays, the numbers of weeks and in read-only mode for the
day-buttons.
Defaults to: TRUE
INPUTS
useframes - TRUE : Display with frames
FALSE: Display without frames
NOTES
Keep in mind that this tag will be overwritten by user prefs!
Setting this attribute to FALSE only works when the object is in
read-only mode, because MUI only supports PhantomFrames for
horizontal usage.
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_InputMode
MUIA_MonthNavigator_ShowWeekNumbers
Names
les
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_WeekNumbersSpacing
MUIA_MonthNavigator_WeekNumbersSpacing, ULONG [I..] -- ... (V12.3)
SYNOPSIS
MUIA_MonthNavigator_WeekNumbersSpacing, spacing,
The MUIA_MonthNavigator_WeekNumbersSpacing attribute defines the
space that will be used between the numbers of weeks and the
day-field.
Defaults to 8
INPUTS
spacing - Pixels that should be used (1-18)
NOTES
Keep in mind that this tag will be overwritten by user prefs!
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_WeekdayNamesSpacing
MUIA_MonthNavigator_ShowWeekNumbers
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_WeekdayNamesSpacing
MUIA_MonthNavigator_WeekdayNamesSpacing, ULONG [I..] -- ... (V12.3)
SYNOPSIS
MUIA_MonthNavigator_WeekdayNamesSpacing, spacing,
The MUIA_MonthNavigator_WeekdayNamesSpacing attribute defines the
space that will be used between the names of the weekdays and the
day-field.
Defaults to 8
INPUTS
spacing - Pixels that should be used (1-18)
NOTES
Keep in mind that this tag will be overwritten by user prefs!
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_WeekNumbersSpacing
MUIA_MonthNavigator_ShowWeekdayNames
GO TO CONTENTS
MonthNavigator/MUIA_MonthNavigator_Year
MUIA_MonthNavigator_Year, int [ISG] -- Used year (V12)
SYNOPSIS
MUIA_MonthNavigator_Year, 1996,
\*result =*\ set(obj,MUIA_MonthNavigator_Year,year);
\*result =*\ get(obj,MUIA_MonthNavigator_Year,&year);
The MUIA_MonthNavigator_Year attribute sets or gets the actual used
year for the navigator.
Defaults to the actual year.
INPUTS
year - Year that should be displayed
RESULT
year - Year that is actually used - must be >= 8.
NOTES
Always use full year numbers! I.e. use 1996 and *NOT* 96
BUGS
No known bugs.
SEE ALSO
MUIA_MonthNavigator_Month
MUIA_MonthNavigator_Day