1999-07-18 04:35:21 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Netscape Public License
|
|
|
|
* Version 1.0 (the "NPL") you may not use this file except in
|
|
|
|
* compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
* http://www.mozilla.org/NPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* NPL.
|
|
|
|
*
|
|
|
|
* The Initial Developer of this code under the NPL is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1999 Netscape Communications Corporation. All Rights
|
|
|
|
* Reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/******
|
|
|
|
|
|
|
|
This file contains the list of all XUL nsIAtoms and their values
|
|
|
|
|
|
|
|
It is designed to be used as inline input to nsXULAtoms.cpp *only*
|
|
|
|
through the magic of C preprocessing.
|
|
|
|
|
|
|
|
All entires must be enclosed in the macro XUL_ATOM which will have cruel
|
|
|
|
and unusual things done to it
|
|
|
|
|
|
|
|
It is recommended (but not strictly necessary) to keep all entries
|
|
|
|
in alphabetical order
|
|
|
|
|
|
|
|
The first argument to XUL_ATOM is the C++ identifier of the atom
|
|
|
|
The second argument is the string value of the atom
|
|
|
|
|
|
|
|
******/
|
|
|
|
|
|
|
|
|
|
|
|
XUL_ATOM(button, "button")
|
|
|
|
XUL_ATOM(spinner, "spinner")
|
|
|
|
XUL_ATOM(scrollbar, "scrollbar")
|
|
|
|
XUL_ATOM(slider, "slider")
|
|
|
|
XUL_ATOM(colorpicker, "colorpicker")
|
1999-08-28 23:50:15 +04:00
|
|
|
XUL_ATOM(palettename, "palettename")
|
1999-07-18 04:35:21 +04:00
|
|
|
XUL_ATOM(fontpicker, "fontpicker")
|
|
|
|
XUL_ATOM(radio, "radio")
|
|
|
|
XUL_ATOM(text, "text")
|
|
|
|
XUL_ATOM(toolbar, "toolbar")
|
|
|
|
XUL_ATOM(toolbaritem, "toolbaritem")
|
|
|
|
XUL_ATOM(toolbox, "toolbox")
|
|
|
|
|
|
|
|
// The tree atoms
|
|
|
|
XUL_ATOM(tree, "tree") // The start of a tree view
|
|
|
|
XUL_ATOM(treecaption, "treecaption") // The caption of a tree view
|
|
|
|
XUL_ATOM(treehead, "treehead") // The header of the tree view
|
|
|
|
XUL_ATOM(treerow, "treerow") // A row in the tree view
|
|
|
|
XUL_ATOM(treecell, "treecell") // An item in the tree view
|
|
|
|
XUL_ATOM(treeitem, "treeitem") // A cell in the tree view
|
|
|
|
XUL_ATOM(treechildren, "treechildren") // The children of an item in the tree view
|
|
|
|
XUL_ATOM(treeindentation, "treeindentation") // Specifies that the indentation for the level should occur here.
|
1999-10-15 11:54:43 +04:00
|
|
|
XUL_ATOM(allowevents, "allowevents") // Lets events be handled on the cell contents or in menus.
|
1999-07-18 04:35:21 +04:00
|
|
|
XUL_ATOM(treecol, "treecol") // A column in the tree view
|
|
|
|
XUL_ATOM(treecolgroup, "treecolgroup") // A column group in the tree view
|
|
|
|
XUL_ATOM(treefoot, "treefoot") // The footer of the tree view
|
|
|
|
XUL_ATOM(treepusher, "treepusher") // A column pusher (left or right) for the tree view
|
1999-09-08 12:06:12 +04:00
|
|
|
XUL_ATOM(scrollbarlist, "scrollbarlist") // An atom for internal use by the tree view
|
1999-07-18 04:35:21 +04:00
|
|
|
|
1999-07-21 11:42:31 +04:00
|
|
|
XUL_ATOM(open, "open") // Whether or not a menu, tree, etc. is open
|
|
|
|
|
1999-07-31 15:29:03 +04:00
|
|
|
XUL_ATOM(menubar, "menubar") // An XP menu bar.
|
|
|
|
XUL_ATOM(menu, "menu") // Represents an XP menu
|
|
|
|
XUL_ATOM(menuitem, "menuitem") // Represents an XP menu item
|
|
|
|
XUL_ATOM(menupopup, "menupopup") // The XP menu's children.
|
1999-07-19 12:09:30 +04:00
|
|
|
XUL_ATOM(menuactive, "menuactive") // Whether or not a menu is active (without necessarily being open)
|
1999-07-26 05:19:49 +04:00
|
|
|
XUL_ATOM(accesskey, "accesskey") // The shortcut key for a menu or menu item
|
1999-07-31 05:43:33 +04:00
|
|
|
XUL_ATOM(acceltext, "acceltext") // Text to use for the accelerator
|
1999-09-10 12:47:12 +04:00
|
|
|
XUL_ATOM(popupset, "popupset") // Contains popup menus, context menus, and tooltips
|
|
|
|
XUL_ATOM(popup, "popup") // The popup for a context menu, popup menu, or tooltip
|
1999-09-09 05:07:06 +04:00
|
|
|
XUL_ATOM(menugenerated, "menugenerated") // Internal
|
1999-07-31 05:43:33 +04:00
|
|
|
|
|
|
|
XUL_ATOM(key, "key") // A key element
|
1999-07-31 15:29:03 +04:00
|
|
|
XUL_ATOM(broadcaster, "broadcaster") // A broadcaster
|
|
|
|
XUL_ATOM(observes, "observes") // The observes element
|
|
|
|
XUL_ATOM(templateAtom, "template") // A XUL template
|
1999-07-23 09:09:17 +04:00
|
|
|
|
1999-07-18 04:35:21 +04:00
|
|
|
XUL_ATOM(progressmeter, "progressmeter")
|
|
|
|
XUL_ATOM(titledbutton, "titledbutton")
|
1999-07-25 05:15:14 +04:00
|
|
|
XUL_ATOM(crop, "crop")
|
1999-07-18 04:35:21 +04:00
|
|
|
|
|
|
|
XUL_ATOM(mode, "mode")
|
|
|
|
XUL_ATOM(box, "box")
|
|
|
|
XUL_ATOM(flex, "flex")
|
1999-08-20 02:16:23 +04:00
|
|
|
XUL_ATOM(spring, "spring")
|
1999-07-18 04:35:21 +04:00
|
|
|
|
|
|
|
XUL_ATOM(deck, "deck")
|
|
|
|
XUL_ATOM(tabcontrol, "tabcontrol")
|
|
|
|
XUL_ATOM(tab, "tab")
|
|
|
|
XUL_ATOM(tabpanel, "tabpanel")
|
|
|
|
XUL_ATOM(tabpage, "tabpage")
|
|
|
|
XUL_ATOM(tabbox, "tabbox")
|
1999-09-11 03:38:58 +04:00
|
|
|
XUL_ATOM(index, "index")
|
1999-07-18 04:35:21 +04:00
|
|
|
XUL_ATOM(maxpos, "maxpos")
|
|
|
|
XUL_ATOM(curpos, "curpos")
|
|
|
|
XUL_ATOM(scrollbarbutton, "scrollbarbutton")
|
|
|
|
XUL_ATOM(increment, "increment")
|
|
|
|
XUL_ATOM(pageincrement, "pageincrement")
|
|
|
|
XUL_ATOM(thumb, "thumb")
|
|
|
|
XUL_ATOM(toggled, "toggled")
|
|
|
|
XUL_ATOM(grippy, "grippy")
|
|
|
|
XUL_ATOM(splitter, "splitter")
|
|
|
|
XUL_ATOM(collapse, "collapse")
|
1999-09-06 00:46:59 +04:00
|
|
|
XUL_ATOM(resizebefore, "resizebefore")
|
|
|
|
XUL_ATOM(resizeafter, "resizeafter")
|
|
|
|
XUL_ATOM(state, "state")
|
1999-07-18 04:35:21 +04:00
|
|
|
|
1999-09-09 10:26:12 +04:00
|
|
|
// toolbar & toolbar d&d atoms
|
|
|
|
XUL_ATOM(tbDropLocation, "tb-droplocation")
|
|
|
|
XUL_ATOM(tbDropLocationCoord, "tb-droplocationcoord")
|
|
|
|
XUL_ATOM(tbDropOn, "tb-dropon")
|
|
|
|
XUL_ATOM(tbTriggerRepaint, "tb-triggerrepaint")
|
|
|
|
XUL_ATOM(container, "container")
|
|
|
|
|
1999-07-18 04:35:21 +04:00
|
|
|
|
|
|
|
XUL_ATOM(widget, "widget")
|
|
|
|
XUL_ATOM(window, "window")
|
1999-10-14 14:54:32 +04:00
|
|
|
|
|
|
|
XUL_ATOM(iframe, "iframe")
|
|
|
|
XUL_ATOM(browser, "browser")
|
|
|
|
XUL_ATOM(editor, "editor")
|
|
|
|
|