xmlterm changes only.

Changed xmlterm/ui/Makefile.in to use CHROME vars to handle content/skin resources (bug 34416); eliminated directories xmlterm/ui/content and xmlterm/ui/skin.
This commit is contained in:
svn%xmlterm.org 2000-04-15 04:45:36 +00:00
parent 94bc484b60
commit badc3e1736
24 changed files with 56 additions and 168 deletions

View File

@ -78,6 +78,6 @@ The main subdirectories of the "xmlterm" directory are:
linetest/ stand-alone line terminal testing executables
scripts/ XMLterm scripts (xls, xcat, ...)
tests/ XMLterm test programs (HelloWorld pagelet, ...)
ui/* user interface/chrome files
ui/ user interface/chrome files
--

View File

@ -3117,7 +3117,7 @@ NS_IMETHODIMP mozXMLTermSession::NewEntry(const nsString& aPrompt)
imgElement->SetAttribute(attName, attValue);
attName = "src";
attValue = "chrome://xmlterm/skin/images/wheel.gif";
attValue = "chrome://xmlterm/skin/wheel.gif";
imgElement->SetAttribute(attName, attValue);
attName = "align";

View File

@ -0,0 +1,8 @@
xmlterm.html
xmlterm.xul
xmlterm2.xul
XMLTermChrome.js
XMLTermCommands.js
xmltermTips.html
xmltermAbout.html
xmltblank.html

View File

@ -0,0 +1,4 @@
xmlterm.css
xmltpage.css
ficon.gif
wheel.gif

View File

@ -33,21 +33,33 @@
# makefile for xmlterm/ui directory
ifdef STAND_ALONE
DEPTH = ..
topsrcdir = ..
VPATH = .
srcdir = .
include $(topsrcdir)/config/autoconf.mk
else
DEPTH = ../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
endif
DIRS = content skin
CHROME_DIR = xmlterm
CHROME_CONTENT = \
xmlterm.html \
xmlterm.xul \
xmlterm2.xul \
XMLTermChrome.js \
XMLTermCommands.js \
xmltermTips.html \
xmltermAbout.html \
xmltblank.html \
$(NULL)
CHROME_SKIN = \
xmlterm.css \
xmltpage.css \
wheel.gif \
$(NULL)
CHROME_L10N = \
$(NULL)
include $(topsrcdir)/config/config.mk

View File

@ -1 +1,21 @@
ui --- User Interface stuff for XMLterm
ui --- User interface stuff for XMLterm
CONTENT
xmlterm.html XMLterm startup file containing HTML and Javascript
Uses mozIXMLTermShell to create XMLterm
Uses xmltpage.css for stylesheets
xmlterm.xul XUL wrapper for xmlterm.html
xmlterm2.xul XUL wrapper for xmlterm.html, with additional browser frame
XMLTermCommands.js Javascript commands used by XUL wrappers
SKIN
xmlterm.css Stylesheet for XUL file xmlterm.xul
xmltpage.css Stylesheet for XMLterm startup file xmlterm.html
wheel.gif Wheel icon used for prompt

View File

@ -1,68 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "MPL"); you may not use this file
# except in compliance with the MPL. You may obtain a copy of
# the MPL at http://www.mozilla.org/MPL/
#
# Software distributed under the MPL is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the MPL for the specific language governing
# rights and limitations under the MPL.
#
# The Original Code is lineterm.
#
# The Initial Developer of the Original Code is Ramalingam Saravanan.
# Portions created by Ramalingam Saravanan <svn@xmlterm.org> are
# Copyright (C) 1999 Ramalingam Saravanan. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License (the "GPL"), in which case
# the provisions of the GPL are applicable instead of
# those above. If you wish to allow use of your version of this
# file only under the terms of the GPL and not to allow
# others to use your version of this file under the MPL, indicate
# your decision by deleting the provisions above and replace them
# with the notice and other provisions required by the GPL.
# If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# makefile for xmlterm/ui/content directory
ifdef STAND_ALONE
DEPTH = ../..
topsrcdir = ../..
VPATH = .
srcdir = .
include $(topsrcdir)/config/autoconf.mk
else
DEPTH = ../../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
endif
include $(topsrcdir)/config/config.mk
include $(srcdir)/../../config/xmlterm_config.mk
include $(topsrcdir)/config/rules.mk
EXPORT_RESOURCE_CONTENT = \
$(srcdir)/xmlterm.html \
$(srcdir)/xmlterm.xul \
$(srcdir)/xmlterm2.xul \
$(srcdir)/XMLTermChrome.js \
$(srcdir)/XMLTermCommands.js \
$(srcdir)/xmltermTips.html \
$(srcdir)/xmltermAbout.html \
$(srcdir)/xmltblank.html \
$(NULL)
install::
$(INSTALL) $(EXPORT_RESOURCE_CONTENT) $(DIST)/bin/chrome/xmlterm/content/default

View File

@ -1,11 +0,0 @@
content --- XUL, Javascript, and HTML for user interface
xmlterm.html XMLterm startup file containing HTML and Javascript
Uses mozIXMLTermShell to create XMLterm
Uses ../skin/xmltpage.css for stylesheets
xmlterm.xul XUL wrapper for xmlterm.html
xmlterm2.xul XUL wrapper for xmlterm.html, with additional browser frame
XMLTermCommands.js Javascript commands used by XUL wrappers

View File

@ -1,68 +0,0 @@
#!gmake
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "MPL"); you may not use this file
# except in compliance with the MPL. You may obtain a copy of
# the MPL at http://www.mozilla.org/MPL/
#
# Software distributed under the MPL is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the MPL for the specific language governing
# rights and limitations under the MPL.
#
# The Original Code is lineterm.
#
# The Initial Developer of the Original Code is Ramalingam Saravanan.
# Portions created by Ramalingam Saravanan <svn@xmlterm.org> are
# Copyright (C) 1999 Ramalingam Saravanan. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License (the "GPL"), in which case
# the provisions of the GPL are applicable instead of
# those above. If you wish to allow use of your version of this
# file only under the terms of the GPL and not to allow
# others to use your version of this file under the MPL, indicate
# your decision by deleting the provisions above and replace them
# with the notice and other provisions required by the GPL.
# If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
# makefile for xmlterm/ui/skin directory
ifdef STAND_ALONE
DEPTH = ../..
topsrcdir = ../..
VPATH = .
srcdir = .
include $(topsrcdir)/config/autoconf.mk
else
DEPTH = ../../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
endif
include $(topsrcdir)/config/config.mk
include $(srcdir)/../../config/xmlterm_config.mk
include $(topsrcdir)/config/rules.mk
EXPORT_RESOURCE_SKIN = \
$(srcdir)/xmlterm.css \
$(srcdir)/xmltpage.css \
$(NULL)
EXPORT_RESOURCE_TOOLBAR = \
$(srcdir)/images/ficon.gif \
$(srcdir)/images/wheel.gif \
$(NULL)
install::
$(INSTALL) $(EXPORT_RESOURCE_SKIN) $(DIST)/bin/chrome/xmlterm/skin/default
$(INSTALL) $(EXPORT_RESOURCE_TOOLBAR) $(DIST)/bin/chrome/xmlterm/skin/default/images

View File

@ -1,8 +0,0 @@
skin --- CSS stylesheets and images for user interface
xmlterm.css Stylesheet for XUL wrapper ../content/xmlterm.xul
xmltpage.css Stylesheet for XMLterm startup file ../content/xmlterm.html

View File

@ -1 +0,0 @@
images --- Icons and images for user interface

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 B

View File

Before

Width:  |  Height:  |  Size: 185 B

After

Width:  |  Height:  |  Size: 185 B