mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
70 lines
5.7 KiB
XML
70 lines
5.7 KiB
XML
<?xml version="1.0" standalone="no" encoding="UTF-8"?>
|
|
<!DOCTYPE toolbar SYSTEM "http://kirkwood.mcom.com/ui.dtd">
|
|
<UI>
|
|
|
|
<!-- This is the Toolbar XML
|
|
Objects
|
|
toolbar (type of container, generally a widget subclass)
|
|
button (type of widget)
|
|
|
|
Tags
|
|
|
|
toolbar (all container properties apply)
|
|
|
|
name - specifies the id it is known by
|
|
layout - specifies the type of layout to use for children in the container
|
|
|
|
showtext - true/false for displaying text or not
|
|
showicons - true/false for displaying icon or not
|
|
icons - mini, full for 2 different sizes of icons
|
|
(If we want to support icon stretching, these can be twips)
|
|
dockable - true/false for supports docking
|
|
floatable - true/false supports floating toolbar
|
|
tooltips - true/false - draw tooltips
|
|
|
|
button/editfield/separator (all widget properties apply)
|
|
|
|
name - specifies the id it is known by
|
|
container - An associated container when clicked on, can be drop down list of sorts
|
|
align - How is this item aligned (left, right,etc...)
|
|
type - The type of widget to use (buttons, separators, text, etc...)
|
|
commandkey - The command key equivalent
|
|
shortcut - shortcut that applies
|
|
miniimage - miniimage to use
|
|
fullimage - fullimage to use
|
|
rule - rule that gets applied, can modify appearance (or lack thereof)
|
|
|
|
(widget properties that typically are used)
|
|
enable - TRUE is is enabled by default
|
|
check - TRUE if checked. Must be a button type for this to apply
|
|
|
|
(problematic areas)
|
|
onaction - What to do on an action event. currently the name of the control is sent.
|
|
We need to map this to something simpler.
|
|
|
|
-->
|
|
|
|
<!-- This is the ToolBar Definition -->
|
|
<toolbar backgroundcolor="#C0C0C0" name="ToolBar" layout="xbox" hgap="3" vgap="3" weightmajor="0" weightminor="0" icons="mini" dockable="true" floatable="true" tooltips="true">
|
|
<xpbutton command="LoadUrl?resource://res/ui/demo/julian4.cal?target=content" weightmajor="0" halign="center" valign="bottom" weightminor="0" label="Portal" miniimage="resource://res/ui/images/intray_mini.gif" fullimage="resource://res/ui/images/intray_full.gif" fullhoverimage="resource://res/ui/images/intray_hover_full.gif" fullpressedimage="resource://res/ui/images/intray_pressed_full.gif"/>
|
|
<xpbutton label="Agenda" halign="center" valign="bottom" enable="True" weightmajor="0" weightminor="0" miniimage="resource://res/ui/images/agenda_mini.gif" fullimage="resource://res/ui/images/agenda_full.gif" fullhoverimage="resource://res/ui/images/agenda_hover_full.gif" fullpressedimage="resource://res/ui/images/agenda_pressed_full.gif"/>
|
|
<!--<xpbutton halign="center" valign="bottom" weightmajor="0" weightminor="0" label="Tasks" miniimage="tasks_mini.gif" fullimage="resource://res/ui/images/tasks_full.gif" fullhoverimage="resource://res/ui/images/tasks_hover_full.gif" fullpressedimage="resource://res/ui/images/tasks_pressed_full.gif"/>-->
|
|
<object class="separator" weightmajor="0" weightminor="0"/>
|
|
<xpbutton command="LoadUrl?resource://res/ui/julian_day.cal?target=content" halign="center" valign="bottom" label="Day" weightmajor="0" weightminor="0" miniimage="resource://res/ui/images/day_mini.gif" fullimage="resource://res/ui/images/day_full.gif" rule="ViewListRule" fullhoverimage="resource://res/ui/images/day_hover_full.gif" fullpressedimage="resource://res/ui/images/day_pressed_full.gif"/>
|
|
<xpbutton command="LoadUrl?resource://res/ui/julian_week.cal?target=content" halign="center" valign="bottom" label="Week" weightmajor="0" weightminor="0" miniimage="resource://res/ui/images/week_mini.gif" fullimage="resource://res/ui/images/week_full.gif" rule="ViewListRule" fullhoverimage="resource://res/ui/images/week_hover_full.gif" fullpressedimage="resource://res/ui/images/week_pressed_full.gif"/>
|
|
<xpbutton command="LoadUrl?resource://res/ui/julian_month_sum.cal?target=content" halign="center" valign="bottom" label="Month" weightmajor="0" weightminor="0" miniimage="resource://res/ui/images/month_mini.gif" fullimage="resource://res/ui/images/month_full.gif" rule="ViewListRule" fullhoverimage="resource://res/ui/images/month_hover_full.gif" fullpressedimage="resource://res/ui/images/month_pressed_full.gif"/>
|
|
<object class="separator" weightmajor="0" weightminor="0"/>
|
|
<xpbutton halign="center" valign="bottom" label="New Entry" weightmajor="0" weightminor="0" miniimage="resource://res/ui/images/newentry_mini.gif" fullimage="resource://res/ui/images/newentry_full.gif" fullhoverimage="resource://res/ui/images/newentry_hover_full.gif" fullpressedimage="resource://res/ui/images/newentry_pressed_full.gif"/>
|
|
<!--<xpbutton halign="center" valign="bottom" label="New Task" weightmajor="0" weightminor="0" miniimage="resource://res/ui/images/newtask_mini.gif" fullimage="resource://res/ui/images/newtask_full.gif" fullhoverimage="resource://res/ui/images/newtask_hover_full.gif" fullpressedimage="resource://res/ui/images/newtask_pressed_full.gif"/>-->
|
|
<object class="separator" weightmajor="0" weightminor="0" />
|
|
<xpbutton halign="center" valign="bottom" label="Print..." weightmajor="0" weightminor="0" miniimage="resource://res/ui/images/print_mini.gif" fullimage="resource://res/ui/images/print_full.gif" fullhoverimage="resource://res/ui/images/print_hover_full.gif" fullpressedimage="resource://res/ui/images/print_pressed_full.gif"/>
|
|
<object class="separator" weightmajor="0" weightminor="0"/>
|
|
<xpbutton halign="right" valign="center" label="GOTO:" weightmajor="0" weightminor="0"/>
|
|
<object class="editfield" weightmajor="1" weightminor="1" label="" command="LoadUrl?$label"/>
|
|
<object class="separator"weightmajor="0" weightminor="0" />
|
|
<button label="Throbber" weightmajor="0" weightminor="0" miniimage="throbber_mini##.gif" fullimage="throbber_full##.gif" align="right"/>
|
|
</toolbar>
|
|
|
|
</UI>
|
|
|