diff --git a/ChangeLog b/ChangeLog index 9907d5a23..cf3e24363 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-07-05 Wolfgang Sourdeau + * UI/Common/UIxToolbarSeparator.m, UI/Common/UIxToolbarButton.m: + new toolbar objects. + * UI/Templates/UIxPageFrame.wox: use the exact html code as below. * UI/Templates/MailerUI/UIxMailMainFrame.wox: redone the diff --git a/UI/Common/GNUmakefile b/UI/Common/GNUmakefile index 3f508815f..cd2d55be0 100644 --- a/UI/Common/GNUmakefile +++ b/UI/Common/GNUmakefile @@ -19,7 +19,9 @@ CommonUI_OBJC_FILES += \ UIxElemBuilder.m \ UIxTabView.m \ UIxTabItem.m \ - + \ + UIxToolbarButton.m \ + UIxToolbarSeparator.m CommonUI_RESOURCE_FILES += \ Version \ diff --git a/UI/Common/UIxToolbarButton.m b/UI/Common/UIxToolbarButton.m new file mode 100644 index 000000000..0a7fc3514 --- /dev/null +++ b/UI/Common/UIxToolbarButton.m @@ -0,0 +1,113 @@ +#import +#import + +#import + +@interface UIxToolbarButton : UIxComponent +{ + NSString *buttonImage; + NSString *buttonLabel; + NSString *buttonLink; + NSString *buttonTooltip; +} + +- (void) setButtonImage: (NSString *) newButtonImage; +- (NSString *) buttonImage; + +- (void) setButtonLabel: (NSString *) newButtonLabel; +- (NSString *) buttonLabel; + +- (void) setButtonLink: (NSString *) newButtonLink; +- (NSString *) buttonLink; + +- (void) setButtonTooltip: (NSString *) newButtonTooltip; +- (NSString *) buttonTooltip; + +@end + +@implementation UIxToolbarButton + + +- (id) init +{ + if ((self = [super init])) + { + buttonImage = nil; + buttonLabel = nil; + buttonLink = nil; + buttonTooltip = nil; + } + + return self; +} + +- (void) dealloc +{ + if (buttonImage) + [buttonImage release]; + if (buttonLabel) + [buttonLabel release]; + if (buttonLink) + [buttonLink release]; + if (buttonTooltip) + [buttonTooltip release]; + [super dealloc]; +} + +- (void) setButtonLabel: (NSString *) newButtonLabel +{ + if (buttonLabel) + [buttonLabel release]; + buttonLabel = newButtonLabel; + if (buttonLabel) + [buttonLabel retain]; +} + +- (NSString *) buttonLabel +{ + return buttonLabel; +} + +- (void) setButtonImage: (NSString *) newButtonImage +{ + if (buttonImage) + [buttonImage release]; + buttonImage = newButtonImage; + if (buttonImage) + [buttonImage retain]; +} + +- (NSString *) buttonImage +{ + return buttonImage; +} + +- (void) setButtonLink: (NSString *) newButtonLink +{ + if (buttonLink) + [buttonLink release]; + buttonLink = newButtonLink; + if (buttonLink) + [buttonLink retain]; +} + +- (NSString *) buttonLink +{ + return [self completeHrefForMethod: buttonLink]; +} + +- (void) setButtonTooltip: (NSString *) newButtonTooltip +{ + if (buttonTooltip) + [buttonTooltip release]; + buttonTooltip = newButtonTooltip; + if (buttonTooltip) + [buttonTooltip retain]; +} + +- (NSString *) buttonTooltip +{ + return buttonTooltip; +} + +@end diff --git a/UI/Common/UIxToolbarSeparator.m b/UI/Common/UIxToolbarSeparator.m new file mode 100644 index 000000000..5b3ef5761 --- /dev/null +++ b/UI/Common/UIxToolbarSeparator.m @@ -0,0 +1,14 @@ +#import +#import + +#import + +@interface UIxToolbarSeparator : UIxComponent +{ +} + +@end + +@implementation UIxToolbarSeparator + +@end diff --git a/UI/Scheduler/GNUmakefile b/UI/Scheduler/GNUmakefile index a4f3fd3ed..bb54b5fa2 100644 --- a/UI/Scheduler/GNUmakefile +++ b/UI/Scheduler/GNUmakefile @@ -14,7 +14,6 @@ SchedulerUI_OBJC_FILES = \ NSCalendarDate+UIx.m \ SOGoAppointment+UIx.m \ UIxComponent+Agenor.m \ - \ UIxCalView.m \ UIxCalDayView.m \ UIxCalWeekView.m \ @@ -74,6 +73,15 @@ SchedulerUI_RESOURCE_FILES += \ images/green_corner.gif \ images/invisible_space_2.gif \ images/apt_icon_private.gif \ + images/day-view.png \ + images/delete.png \ + images/edit.png \ + images/goto-today.png \ + images/month-view.png \ + images/multiweek-view.png \ + images/new-event.png \ + images/new-task.png \ + images/week-view.png SchedulerUI_LOCALIZED_RESOURCE_FILES += \ Localizable.strings \ diff --git a/UI/Scheduler/images/day-view.png b/UI/Scheduler/images/day-view.png new file mode 100644 index 000000000..074c2600d Binary files /dev/null and b/UI/Scheduler/images/day-view.png differ diff --git a/UI/Scheduler/images/delete.png b/UI/Scheduler/images/delete.png new file mode 100644 index 000000000..e951de025 Binary files /dev/null and b/UI/Scheduler/images/delete.png differ diff --git a/UI/Scheduler/images/edit.png b/UI/Scheduler/images/edit.png new file mode 100644 index 000000000..45f754468 Binary files /dev/null and b/UI/Scheduler/images/edit.png differ diff --git a/UI/Scheduler/images/goto-today.png b/UI/Scheduler/images/goto-today.png new file mode 100644 index 000000000..2da10b537 Binary files /dev/null and b/UI/Scheduler/images/goto-today.png differ diff --git a/UI/Scheduler/images/month-view.png b/UI/Scheduler/images/month-view.png new file mode 100644 index 000000000..113e21cbe Binary files /dev/null and b/UI/Scheduler/images/month-view.png differ diff --git a/UI/Scheduler/images/multiweek-view.png b/UI/Scheduler/images/multiweek-view.png new file mode 100644 index 000000000..dbf9b9df3 Binary files /dev/null and b/UI/Scheduler/images/multiweek-view.png differ diff --git a/UI/Scheduler/images/new-event.png b/UI/Scheduler/images/new-event.png new file mode 100644 index 000000000..d6ac20c7e Binary files /dev/null and b/UI/Scheduler/images/new-event.png differ diff --git a/UI/Scheduler/images/new-task.png b/UI/Scheduler/images/new-task.png new file mode 100644 index 000000000..66355af24 Binary files /dev/null and b/UI/Scheduler/images/new-task.png differ diff --git a/UI/Scheduler/images/week-view.png b/UI/Scheduler/images/week-view.png new file mode 100644 index 000000000..eb4703caa Binary files /dev/null and b/UI/Scheduler/images/week-view.png differ diff --git a/UI/Templates/UIxCalDayChartview.wox b/UI/Templates/UIxCalDayChartview.wox index a6f0a21b2..65d643e3e 100644 --- a/UI/Templates/UIxCalDayChartview.wox +++ b/UI/Templates/UIxCalDayChartview.wox @@ -7,6 +7,54 @@ className="UIxPageFrame" title="name" > + +
+ + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + +
+
@@ -52,10 +100,11 @@
- + +
diff --git a/UI/Templates/UIxCalDayPrintview.wox b/UI/Templates/UIxCalDayPrintview.wox index 371e2e10b..47554e559 100644 --- a/UI/Templates/UIxCalDayPrintview.wox +++ b/UI/Templates/UIxCalDayPrintview.wox @@ -7,6 +7,54 @@ className="UIxPrintPageFrame" title="title" > + +
+ + + + + + + + + + + + + + + + + + + + +
+
diff --git a/UI/Templates/UIxCalMonthOverview.wox b/UI/Templates/UIxCalMonthOverview.wox index d591e09d5..803cab92b 100644 --- a/UI/Templates/UIxCalMonthOverview.wox +++ b/UI/Templates/UIxCalMonthOverview.wox @@ -7,6 +7,54 @@ className="UIxPageFrame" title="name" > + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + +
+
diff --git a/UI/Templates/UIxCalWeekColumnsview.wox b/UI/Templates/UIxCalWeekColumnsview.wox index 1a97f86f1..2e6479257 100644 --- a/UI/Templates/UIxCalWeekColumnsview.wox +++ b/UI/Templates/UIxCalWeekColumnsview.wox @@ -8,6 +8,53 @@ className="UIxPageFrame" title="name"> +
+ + + + + + + + + + + + + + + + + + + + +
+
diff --git a/UI/Templates/UIxCalWeekListview.wox b/UI/Templates/UIxCalWeekListview.wox index ec9aea4a2..41ead99f0 100644 --- a/UI/Templates/UIxCalWeekListview.wox +++ b/UI/Templates/UIxCalWeekListview.wox @@ -8,6 +8,54 @@ className="UIxPageFrame" title="name" > + +
+ + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + + + + +
+
diff --git a/UI/Templates/UIxCalYearOverview.wox b/UI/Templates/UIxCalYearOverview.wox index 117047b9e..58df4d564 100644 --- a/UI/Templates/UIxCalYearOverview.wox +++ b/UI/Templates/UIxCalYearOverview.wox @@ -7,6 +7,50 @@ className="UIxPageFrame" title="name" > + +
+ + + + + + + + + + + + + + + + +
+
diff --git a/UI/Templates/UIxToolbarButton.wox b/UI/Templates/UIxToolbarButton.wox new file mode 100644 index 000000000..e1632696e --- /dev/null +++ b/UI/Templates/UIxToolbarButton.wox @@ -0,0 +1,18 @@ + + + +
+ +
+
diff --git a/UI/Templates/UIxToolbarSeparator.wox b/UI/Templates/UIxToolbarSeparator.wox new file mode 100644 index 000000000..4bb3c9e03 --- /dev/null +++ b/UI/Templates/UIxToolbarSeparator.wox @@ -0,0 +1,8 @@ + + + +