ogre.rb 0.1-i686-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/README +79 -0
- data/Rakefile +288 -0
- data/doc_src/ogre.rb +246 -0
- data/doc_src/ois.rb +67 -0
- data/lib/application.rb +146 -0
- data/lib/application_frame_listener.rb +302 -0
- data/lib/application_loading_bar.rb +115 -0
- data/lib/constants.rb +51 -0
- data/lib/method_fixes.rb +42 -0
- data/lib/ogre.so +0 -0
- data/lib/ruby_ois.so +0 -0
- data/ogre.rb +25 -0
- data/platform.rb +23 -0
- data/samples/Ogre.log +261 -0
- data/samples/bsp.rb +76 -0
- data/samples/cg.dll +0 -0
- data/samples/grass.rb +325 -0
- data/samples/js3250.dll +0 -0
- data/samples/lighting.rb +138 -0
- data/samples/media/materials/programs/Grass.cg +30 -0
- data/samples/media/materials/programs/OffsetMapping.cg +97 -0
- data/samples/media/materials/programs/OffsetMapping.hlsl +135 -0
- data/samples/media/materials/programs/OffsetMappingFp.glsl +69 -0
- data/samples/media/materials/programs/OffsetMappingVp.glsl +54 -0
- data/samples/media/materials/programs/OffsetMapping_specular.asm +44 -0
- data/samples/media/materials/scripts/CloudySky.material +17 -0
- data/samples/media/materials/scripts/CubeMapping.material +34 -0
- data/samples/media/materials/scripts/Flare.material +17 -0
- data/samples/media/materials/scripts/Grass.material +63 -0
- data/samples/media/materials/scripts/Knot.material +14 -0
- data/samples/media/materials/scripts/MorningSkyBox.material +17 -0
- data/samples/media/materials/scripts/Offset.material +124 -0
- data/samples/media/materials/scripts/Ogre.material +119 -0
- data/samples/media/materials/scripts/RZR-002.material +15 -0
- data/samples/media/materials/scripts/Razor.material +14 -0
- data/samples/media/materials/scripts/Ribbon.material +19 -0
- data/samples/media/materials/scripts/RustySteel.material +14 -0
- data/samples/media/materials/scripts/SpaceSkyBox.material +17 -0
- data/samples/media/materials/scripts/SpaceSkyPlane.material +17 -0
- data/samples/media/materials/scripts/TextureEffects.material +15 -0
- data/samples/media/materials/scripts/dragon.material +42 -0
- data/samples/media/materials/scripts/smoke.material +18 -0
- data/samples/media/materials/textures/GreenSkin.jpg +0 -0
- data/samples/media/materials/textures/MtlPlat2.jpg +0 -0
- data/samples/media/materials/textures/RZR-002.png +0 -0
- data/samples/media/materials/textures/RustedMetal.jpg +0 -0
- data/samples/media/materials/textures/RustySteel.jpg +0 -0
- data/samples/media/materials/textures/Water02.jpg +0 -0
- data/samples/media/materials/textures/WeirdEye.png +0 -0
- data/samples/media/materials/textures/clouds.jpg +0 -0
- data/samples/media/materials/textures/cursor.png +0 -0
- data/samples/media/materials/textures/dirt01.jpg +0 -0
- data/samples/media/materials/textures/flare.png +0 -0
- data/samples/media/materials/textures/gras_02.png +0 -0
- data/samples/media/materials/textures/grass_1024.jpg +0 -0
- data/samples/media/materials/textures/ogreborder.png +0 -0
- data/samples/media/materials/textures/ogreborderUp.png +0 -0
- data/samples/media/materials/textures/ribbonband.png +0 -0
- data/samples/media/materials/textures/rockwall.tga +0 -0
- data/samples/media/materials/textures/rockwall_NH.tga +0 -0
- data/samples/media/materials/textures/smoke.png +0 -0
- data/samples/media/materials/textures/smokecolors.png +0 -0
- data/samples/media/materials/textures/spacesky.jpg +0 -0
- data/samples/media/materials/textures/spheremap.png +0 -0
- data/samples/media/materials/textures/texmap2.jpg +0 -0
- data/samples/media/models/RZR-002.mesh +0 -0
- data/samples/media/models/geosphere4500.mesh +0 -0
- data/samples/media/models/geosphere8000.mesh +0 -0
- data/samples/media/models/knot.mesh +0 -0
- data/samples/media/models/ogrehead.mesh +0 -0
- data/samples/media/models/razor.mesh +0 -0
- data/samples/media/models/sphere.mesh +0 -0
- data/samples/media/overlays/CubeMapping.overlay +139 -0
- data/samples/media/packs/OgreCore.zip +0 -0
- data/samples/media/packs/chiropteraDM.pk3 +0 -0
- data/samples/media/packs/chiropteraDM.txt +99 -0
- data/samples/media/packs/cubemap.zip +0 -0
- data/samples/media/packs/cubemapsJS.zip +0 -0
- data/samples/media/packs/dragon.zip +0 -0
- data/samples/media/packs/skybox.zip +0 -0
- data/samples/media/particles/smoke.particle +43 -0
- data/samples/media.cfg +22 -0
- data/samples/navi/Media/NaviDemo.material +60 -0
- data/samples/navi/Media/OgreCore.zip +0 -0
- data/samples/navi/Media/cerulean.jpg +0 -0
- data/samples/navi/Media/clouds.jpg +0 -0
- data/samples/navi/Media/controlsNaviMask.png +0 -0
- data/samples/navi/Media/grass.jpg +0 -0
- data/samples/navi/Media/knot.mesh +0 -0
- data/samples/navi/Media/testNaviMask.png +0 -0
- data/samples/navi/NaviLocal/Navi.js +136 -0
- data/samples/navi/NaviLocal/buttonBg.jpg +0 -0
- data/samples/navi/NaviLocal/controls.html +303 -0
- data/samples/navi/NaviLocal/knobBg.jpg +0 -0
- data/samples/navi/NaviLocal/moo.dropdownmenu.js +87 -0
- data/samples/navi/NaviLocal/mootools.v1.1.js +6964 -0
- data/samples/navi/NaviLocal/naviLogo.html +32 -0
- data/samples/navi/NaviLocal/naviLogo.png +0 -0
- data/samples/navi/NaviLocal/pageBg.jpg +0 -0
- data/samples/navi/NaviLocal/sliderBg.jpg +0 -0
- data/samples/navi/NaviLocal/test.html +5 -0
- data/samples/navi/NaviLocal/welcome.html +36 -0
- data/samples/navi/NaviLocal/welcome.png +0 -0
- data/samples/navi/chrome/chromelist.txt +597 -0
- data/samples/navi/chrome/classic.jar +0 -0
- data/samples/navi/chrome/classic.manifest +4 -0
- data/samples/navi/chrome/comm.jar +0 -0
- data/samples/navi/chrome/comm.manifest +2 -0
- data/samples/navi/chrome/en-US.jar +0 -0
- data/samples/navi/chrome/en-US.manifest +9 -0
- data/samples/navi/chrome/toolkit.jar +0 -0
- data/samples/navi/chrome/toolkit.manifest +6 -0
- data/samples/navi/components/FeedProcessor.js +1825 -0
- data/samples/navi/components/alerts.xpt +0 -0
- data/samples/navi/components/appshell.xpt +0 -0
- data/samples/navi/components/appstartup.xpt +0 -0
- data/samples/navi/components/auth.dll +0 -0
- data/samples/navi/components/autocomplete.xpt +0 -0
- data/samples/navi/components/autoconfig.dll +0 -0
- data/samples/navi/components/autoconfig.xpt +0 -0
- data/samples/navi/components/caps.xpt +0 -0
- data/samples/navi/components/chardet.xpt +0 -0
- data/samples/navi/components/chrome.xpt +0 -0
- data/samples/navi/components/commandhandler.xpt +0 -0
- data/samples/navi/components/commandlines.xpt +0 -0
- data/samples/navi/components/composer.xpt +0 -0
- data/samples/navi/components/compreg.dat +1474 -0
- data/samples/navi/components/content_base.xpt +0 -0
- data/samples/navi/components/content_html.xpt +0 -0
- data/samples/navi/components/content_htmldoc.xpt +0 -0
- data/samples/navi/components/content_xmldoc.xpt +0 -0
- data/samples/navi/components/content_xslt.xpt +0 -0
- data/samples/navi/components/content_xtf.xpt +0 -0
- data/samples/navi/components/directory.xpt +0 -0
- data/samples/navi/components/docshell_base.xpt +0 -0
- data/samples/navi/components/dom.xpt +0 -0
- data/samples/navi/components/dom_base.xpt +0 -0
- data/samples/navi/components/dom_canvas.xpt +0 -0
- data/samples/navi/components/dom_core.xpt +0 -0
- data/samples/navi/components/dom_css.xpt +0 -0
- data/samples/navi/components/dom_events.xpt +0 -0
- data/samples/navi/components/dom_html.xpt +0 -0
- data/samples/navi/components/dom_loadsave.xpt +0 -0
- data/samples/navi/components/dom_range.xpt +0 -0
- data/samples/navi/components/dom_sidebar.xpt +0 -0
- data/samples/navi/components/dom_storage.xpt +0 -0
- data/samples/navi/components/dom_stylesheets.xpt +0 -0
- data/samples/navi/components/dom_svg.xpt +0 -0
- data/samples/navi/components/dom_traversal.xpt +0 -0
- data/samples/navi/components/dom_views.xpt +0 -0
- data/samples/navi/components/dom_xbl.xpt +0 -0
- data/samples/navi/components/dom_xpath.xpt +0 -0
- data/samples/navi/components/dom_xul.xpt +0 -0
- data/samples/navi/components/downloads.xpt +0 -0
- data/samples/navi/components/editor.xpt +0 -0
- data/samples/navi/components/embed_base.xpt +0 -0
- data/samples/navi/components/extensions.xpt +0 -0
- data/samples/navi/components/exthandler.xpt +0 -0
- data/samples/navi/components/fastfind.xpt +0 -0
- data/samples/navi/components/feeds.xpt +0 -0
- data/samples/navi/components/find.xpt +0 -0
- data/samples/navi/components/gfx.xpt +0 -0
- data/samples/navi/components/gksvgrenderer.xpt +0 -0
- data/samples/navi/components/history.xpt +0 -0
- data/samples/navi/components/htmlparser.xpt +0 -0
- data/samples/navi/components/imglib2.xpt +0 -0
- data/samples/navi/components/inspector.xpt +0 -0
- data/samples/navi/components/intl.xpt +0 -0
- data/samples/navi/components/intlcmpt.xpt +0 -0
- data/samples/navi/components/jar.xpt +0 -0
- data/samples/navi/components/jsconsole-clhandler.js +170 -0
- data/samples/navi/components/jsconsole.xpt +0 -0
- data/samples/navi/components/jsdservice.xpt +0 -0
- data/samples/navi/components/layout_base.xpt +0 -0
- data/samples/navi/components/layout_printing.xpt +0 -0
- data/samples/navi/components/layout_xul.xpt +0 -0
- data/samples/navi/components/layout_xul_tree.xpt +0 -0
- data/samples/navi/components/locale.xpt +0 -0
- data/samples/navi/components/lwbrk.xpt +0 -0
- data/samples/navi/components/mimetype.xpt +0 -0
- data/samples/navi/components/mozbrwsr.xpt +0 -0
- data/samples/navi/components/mozfind.xpt +0 -0
- data/samples/navi/components/necko.xpt +0 -0
- data/samples/navi/components/necko_about.xpt +0 -0
- data/samples/navi/components/necko_cache.xpt +0 -0
- data/samples/navi/components/necko_cookie.xpt +0 -0
- data/samples/navi/components/necko_data.xpt +0 -0
- data/samples/navi/components/necko_dns.xpt +0 -0
- data/samples/navi/components/necko_file.xpt +0 -0
- data/samples/navi/components/necko_ftp.xpt +0 -0
- data/samples/navi/components/necko_http.xpt +0 -0
- data/samples/navi/components/necko_res.xpt +0 -0
- data/samples/navi/components/necko_socket.xpt +0 -0
- data/samples/navi/components/necko_strconv.xpt +0 -0
- data/samples/navi/components/necko_viewsource.xpt +0 -0
- data/samples/navi/components/nsCloseAllWindows.js +143 -0
- data/samples/navi/components/nsDefaultCLH.js +231 -0
- data/samples/navi/components/nsDictionary.js +148 -0
- data/samples/navi/components/nsExtensionManager.js +8497 -0
- data/samples/navi/components/nsHelperAppDlg.js +990 -0
- data/samples/navi/components/nsInterfaceInfoToIDL.js +590 -0
- data/samples/navi/components/nsKillAll.js +200 -0
- data/samples/navi/components/nsPostUpdateWin.js +711 -0
- data/samples/navi/components/nsProgressDialog.js +949 -0
- data/samples/navi/components/nsProxyAutoConfig.js +396 -0
- data/samples/navi/components/nsResetPref.js +175 -0
- data/samples/navi/components/nsURLFormatter.js +179 -0
- data/samples/navi/components/nsUpdateService.js +3074 -0
- data/samples/navi/components/nsXULAppInstall.js +301 -0
- data/samples/navi/components/nsXmlRpcClient.js +1038 -0
- data/samples/navi/components/oji.xpt +0 -0
- data/samples/navi/components/passwordmgr.xpt +0 -0
- data/samples/navi/components/pipboot.xpt +0 -0
- data/samples/navi/components/pipnss.xpt +0 -0
- data/samples/navi/components/plugin.xpt +0 -0
- data/samples/navi/components/pref.xpt +0 -0
- data/samples/navi/components/prefetch.xpt +0 -0
- data/samples/navi/components/profile.xpt +0 -0
- data/samples/navi/components/progressDlg.xpt +0 -0
- data/samples/navi/components/proxyObject.xpt +0 -0
- data/samples/navi/components/rdf.xpt +0 -0
- data/samples/navi/components/satchel.xpt +0 -0
- data/samples/navi/components/saxparser.xpt +0 -0
- data/samples/navi/components/shistory.xpt +0 -0
- data/samples/navi/components/storage.xpt +0 -0
- data/samples/navi/components/toolkitprofile.xpt +0 -0
- data/samples/navi/components/transformiix.dll +0 -0
- data/samples/navi/components/txmgr.xpt +0 -0
- data/samples/navi/components/txtsvc.xpt +0 -0
- data/samples/navi/components/uconv.xpt +0 -0
- data/samples/navi/components/unicharutil.xpt +0 -0
- data/samples/navi/components/universalchardet.dll +0 -0
- data/samples/navi/components/update.xpt +0 -0
- data/samples/navi/components/uriloader.xpt +0 -0
- data/samples/navi/components/urlformatter.xpt +0 -0
- data/samples/navi/components/webBrowser_core.xpt +0 -0
- data/samples/navi/components/webbrowserpersist.xpt +0 -0
- data/samples/navi/components/webshell_idls.xpt +0 -0
- data/samples/navi/components/websrvcs.dll +0 -0
- data/samples/navi/components/websrvcs.xpt +0 -0
- data/samples/navi/components/widget.xpt +0 -0
- data/samples/navi/components/windowds.xpt +0 -0
- data/samples/navi/components/windowwatcher.xpt +0 -0
- data/samples/navi/components/xml-rpc.xpt +0 -0
- data/samples/navi/components/xmlextras.dll +0 -0
- data/samples/navi/components/xpcom_base.xpt +0 -0
- data/samples/navi/components/xpcom_components.xpt +0 -0
- data/samples/navi/components/xpcom_ds.xpt +0 -0
- data/samples/navi/components/xpcom_io.xpt +0 -0
- data/samples/navi/components/xpcom_obsolete.xpt +0 -0
- data/samples/navi/components/xpcom_thread.xpt +0 -0
- data/samples/navi/components/xpcom_xpti.xpt +0 -0
- data/samples/navi/components/xpconnect.xpt +0 -0
- data/samples/navi/components/xpinstall.xpt +0 -0
- data/samples/navi/components/xpti.dat +1424 -0
- data/samples/navi/components/xulapp.xpt +0 -0
- data/samples/navi/components/xulapp_setup.xpt +0 -0
- data/samples/navi/components/xuldoc.xpt +0 -0
- data/samples/navi/components/xulrunner.xpt +0 -0
- data/samples/navi/components/xultmpl.xpt +0 -0
- data/samples/navi/components/xulutil.dll +0 -0
- data/samples/navi/controlsNaviMask.png +0 -0
- data/samples/navi/greprefs/all.js +1344 -0
- data/samples/navi/greprefs/security-prefs.js +69 -0
- data/samples/navi/greprefs/xpinstall.js +2 -0
- data/samples/navi/navi_demo.rb +207 -0
- data/samples/navi/plugins/NPSWF32.dll +0 -0
- data/samples/navi/plugins/flashplayer.xpt +0 -0
- data/samples/navi/plugins/npnul32.dll +0 -0
- data/samples/navi/plugins.cfg +10 -0
- data/samples/navi/res/EditorOverride.css +359 -0
- data/samples/navi/res/Thumbs.db +0 -0
- data/samples/navi/res/arrow.gif +0 -0
- data/samples/navi/res/arrowd.gif +0 -0
- data/samples/navi/res/bloatcycle.html +40 -0
- data/samples/navi/res/broken-image.gif +0 -0
- data/samples/navi/res/charsetData.properties +199 -0
- data/samples/navi/res/charsetalias.properties +517 -0
- data/samples/navi/res/cmessage.txt +1 -0
- data/samples/navi/res/dtd/xhtml11.dtd +300 -0
- data/samples/navi/res/entityTables/html40Latin1.properties +146 -0
- data/samples/navi/res/entityTables/html40Special.properties +69 -0
- data/samples/navi/res/entityTables/html40Symbols.properties +164 -0
- data/samples/navi/res/entityTables/htmlEntityVersions.properties +50 -0
- data/samples/navi/res/entityTables/transliterate.properties +2367 -0
- data/samples/navi/res/fonts/fontEncoding.properties +127 -0
- data/samples/navi/res/fonts/fontNameMap.properties +134 -0
- data/samples/navi/res/forms.css +531 -0
- data/samples/navi/res/grabber.gif +0 -0
- data/samples/navi/res/hiddenWindow.html +1 -0
- data/samples/navi/res/html/Thumbs.db +0 -0
- data/samples/navi/res/html/gopher-audio.gif +0 -0
- data/samples/navi/res/html/gopher-binary.gif +0 -0
- data/samples/navi/res/html/gopher-find.gif +0 -0
- data/samples/navi/res/html/gopher-image.gif +0 -0
- data/samples/navi/res/html/gopher-menu.gif +0 -0
- data/samples/navi/res/html/gopher-movie.gif +0 -0
- data/samples/navi/res/html/gopher-sound.gif +0 -0
- data/samples/navi/res/html/gopher-telnet.gif +0 -0
- data/samples/navi/res/html/gopher-text.gif +0 -0
- data/samples/navi/res/html/gopher-unknown.gif +0 -0
- data/samples/navi/res/html.css +478 -0
- data/samples/navi/res/langGroups.properties +236 -0
- data/samples/navi/res/language.properties +259 -0
- data/samples/navi/res/loading-image.gif +0 -0
- data/samples/navi/res/quirk.css +282 -0
- data/samples/navi/res/samples/Anieyes.gif +0 -0
- data/samples/navi/res/samples/Thumbs.db +0 -0
- data/samples/navi/res/samples/aform.css +69 -0
- data/samples/navi/res/samples/beeptest.html +18 -0
- data/samples/navi/res/samples/bform.css +45 -0
- data/samples/navi/res/samples/bg.jpg +0 -0
- data/samples/navi/res/samples/cform.css +40 -0
- data/samples/navi/res/samples/checkboxTest.xul +47 -0
- data/samples/navi/res/samples/demoform.css +97 -0
- data/samples/navi/res/samples/find.html +97 -0
- data/samples/navi/res/samples/gear1.gif +0 -0
- data/samples/navi/res/samples/image_props.html +58 -0
- data/samples/navi/res/samples/mozform.css +256 -0
- data/samples/navi/res/samples/printsetup.html +175 -0
- data/samples/navi/res/samples/raptor.jpg +0 -0
- data/samples/navi/res/samples/rock_gra.gif +0 -0
- data/samples/navi/res/samples/scrollbarTest1.xul +66 -0
- data/samples/navi/res/samples/scrollbarTest2.xul +19 -0
- data/samples/navi/res/samples/sliderTest1.xul +14 -0
- data/samples/navi/res/samples/soundtest.html +20 -0
- data/samples/navi/res/samples/test.wav +0 -0
- data/samples/navi/res/samples/test0.html +220 -0
- data/samples/navi/res/samples/test1.html +84 -0
- data/samples/navi/res/samples/test10.html +16 -0
- data/samples/navi/res/samples/test11.html +42 -0
- data/samples/navi/res/samples/test12.html +79 -0
- data/samples/navi/res/samples/test13.html +126 -0
- data/samples/navi/res/samples/test14.html +5 -0
- data/samples/navi/res/samples/test15.html +5 -0
- data/samples/navi/res/samples/test16.html +124 -0
- data/samples/navi/res/samples/test2.html +41 -0
- data/samples/navi/res/samples/test3.html +126 -0
- data/samples/navi/res/samples/test4.html +335 -0
- data/samples/navi/res/samples/test5.html +199 -0
- data/samples/navi/res/samples/test6.html +335 -0
- data/samples/navi/res/samples/test7.html +11 -0
- data/samples/navi/res/samples/test8-1.html +66 -0
- data/samples/navi/res/samples/test8.html +662 -0
- data/samples/navi/res/samples/test8dom.html +64 -0
- data/samples/navi/res/samples/test8sca.html +308 -0
- data/samples/navi/res/samples/test8siz.html +224 -0
- data/samples/navi/res/samples/test8tab.html +9 -0
- data/samples/navi/res/samples/test9.html +12 -0
- data/samples/navi/res/samples/test9a.html +39 -0
- data/samples/navi/res/samples/test9b.html +16 -0
- data/samples/navi/res/samples/test_ed.html +5 -0
- data/samples/navi/res/samples/test_form.html +34 -0
- data/samples/navi/res/samples/test_gfx.html +75 -0
- data/samples/navi/res/samples/test_lbox.html +100 -0
- data/samples/navi/res/samples/test_pr.html +87 -0
- data/samples/navi/res/samples/test_weight.html +45 -0
- data/samples/navi/res/samples/toolbarTest1.xul +51 -0
- data/samples/navi/res/samples/treeTest1.css +62 -0
- data/samples/navi/res/samples/treeTest1.xul +110 -0
- data/samples/navi/res/samples/xulTest.css +130 -0
- data/samples/navi/res/svg.css +64 -0
- data/samples/navi/res/table-add-column-after-active.gif +0 -0
- data/samples/navi/res/table-add-column-after-hover.gif +0 -0
- data/samples/navi/res/table-add-column-after.gif +0 -0
- data/samples/navi/res/table-add-column-before-active.gif +0 -0
- data/samples/navi/res/table-add-column-before-hover.gif +0 -0
- data/samples/navi/res/table-add-column-before.gif +0 -0
- data/samples/navi/res/table-add-row-after-active.gif +0 -0
- data/samples/navi/res/table-add-row-after-hover.gif +0 -0
- data/samples/navi/res/table-add-row-after.gif +0 -0
- data/samples/navi/res/table-add-row-before-active.gif +0 -0
- data/samples/navi/res/table-add-row-before-hover.gif +0 -0
- data/samples/navi/res/table-add-row-before.gif +0 -0
- data/samples/navi/res/table-remove-column-active.gif +0 -0
- data/samples/navi/res/table-remove-column-hover.gif +0 -0
- data/samples/navi/res/table-remove-column.gif +0 -0
- data/samples/navi/res/table-remove-row-active.gif +0 -0
- data/samples/navi/res/table-remove-row-hover.gif +0 -0
- data/samples/navi/res/table-remove-row.gif +0 -0
- data/samples/navi/res/throbber/Thumbs.db +0 -0
- data/samples/navi/res/throbber/anim.gif +0 -0
- data/samples/navi/res/throbber/anims00.gif +0 -0
- data/samples/navi/res/throbber/anims01.gif +0 -0
- data/samples/navi/res/throbber/anims02.gif +0 -0
- data/samples/navi/res/throbber/anims03.gif +0 -0
- data/samples/navi/res/throbber/anims04.gif +0 -0
- data/samples/navi/res/throbber/anims05.gif +0 -0
- data/samples/navi/res/throbber/anims06.gif +0 -0
- data/samples/navi/res/throbber/anims07.gif +0 -0
- data/samples/navi/res/throbber/anims08.gif +0 -0
- data/samples/navi/res/throbber/anims09.gif +0 -0
- data/samples/navi/res/throbber/anims10.gif +0 -0
- data/samples/navi/res/throbber/anims11.gif +0 -0
- data/samples/navi/res/throbber/anims12.gif +0 -0
- data/samples/navi/res/throbber/anims13.gif +0 -0
- data/samples/navi/res/throbber/anims14.gif +0 -0
- data/samples/navi/res/throbber/anims15.gif +0 -0
- data/samples/navi/res/throbber/anims16.gif +0 -0
- data/samples/navi/res/throbber/anims17.gif +0 -0
- data/samples/navi/res/throbber/anims18.gif +0 -0
- data/samples/navi/res/throbber/anims19.gif +0 -0
- data/samples/navi/res/throbber/anims20.gif +0 -0
- data/samples/navi/res/throbber/anims21.gif +0 -0
- data/samples/navi/res/throbber/anims22.gif +0 -0
- data/samples/navi/res/throbber/anims23.gif +0 -0
- data/samples/navi/res/throbber/anims24.gif +0 -0
- data/samples/navi/res/throbber/anims25.gif +0 -0
- data/samples/navi/res/throbber/anims26.gif +0 -0
- data/samples/navi/res/throbber/anims27.gif +0 -0
- data/samples/navi/res/throbber/anims28.gif +0 -0
- data/samples/navi/res/throbber/anims29.gif +0 -0
- data/samples/navi/res/ua.css +235 -0
- data/samples/navi/res/viewer.properties +1 -0
- data/samples/navi/res/viewsource.css +118 -0
- data/samples/navi/res/wincharset.properties +55 -0
- data/samples/navi/resources.cfg +14 -0
- data/samples/navi/testNaviMask.png +0 -0
- data/samples/ogre.cfg +8 -0
- data/samples/plugins.cfg +11 -0
- data/samples/quake3settings.cfg +2 -0
- data/samples/render_run_log.5796 +891 -0
- data/samples/render_to_texture.rb +161 -0
- data/samples/resources.cfg +16 -0
- data/samples/sky_box.rb +107 -0
- data/samples/sky_dome.rb +86 -0
- data/samples/sky_plane.rb +27 -0
- data/samples/smoke.rb +23 -0
- data/samples/work/cube_mapping.rb +686 -0
- metadata +500 -0
@@ -0,0 +1,175 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Print Setup</title>
|
4
|
+
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
6
|
+
</head>
|
7
|
+
|
8
|
+
<body bgcolor="#C0C0C0" style="overflow: hidden;">
|
9
|
+
<style type="text/css">
|
10
|
+
/* This style sheet should be in a separate file */
|
11
|
+
|
12
|
+
FIELDSET {
|
13
|
+
background-color: rgb(192, 192, 192);
|
14
|
+
border: 2px groove rgb(192, 192, 192);
|
15
|
+
display: inline;
|
16
|
+
margin-left: 10px;
|
17
|
+
padding: 2px;
|
18
|
+
}
|
19
|
+
|
20
|
+
LEGEND {
|
21
|
+
background-color:rgb(192, 192, 192);
|
22
|
+
border: none ;
|
23
|
+
padding: 2px;
|
24
|
+
}
|
25
|
+
|
26
|
+
|
27
|
+
BODY,TD {
|
28
|
+
font-family: Sans-Serif;
|
29
|
+
background-color: #C0C0C0;
|
30
|
+
}
|
31
|
+
|
32
|
+
LABEL {
|
33
|
+
background-color: #C0C0C0;
|
34
|
+
margin: 0px 0px 0px 0px;
|
35
|
+
padding-left: 0px;
|
36
|
+
padding-right: 0px;
|
37
|
+
}
|
38
|
+
|
39
|
+
BODY,TD,INPUT {
|
40
|
+
font-size: 9pt;
|
41
|
+
}
|
42
|
+
|
43
|
+
BODY {
|
44
|
+
margin: 0px 0px 0px 0px;
|
45
|
+
}
|
46
|
+
|
47
|
+
</style>
|
48
|
+
<FORM>
|
49
|
+
<TABLE bgcolor="#C0C0C0">
|
50
|
+
<tr>
|
51
|
+
<td NOWRAP >
|
52
|
+
<fieldset >
|
53
|
+
<legend align=left> Page Options </legend>
|
54
|
+
<TABLE width="100%">
|
55
|
+
<TR>
|
56
|
+
<TD NOWRAP>
|
57
|
+
<LABEL><input type=checkbox id="bevellines" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Bevel Lines</LABEL></TD>
|
58
|
+
</TR>
|
59
|
+
<TR>
|
60
|
+
<TD NOWRAP>
|
61
|
+
<LABEL><input type=checkbox id="blacktext" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Black Text</LABEL></TD>
|
62
|
+
</TR>
|
63
|
+
<TR>
|
64
|
+
<TD NOWRAP>
|
65
|
+
<LABEL><input type=checkbox id="blacklines" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Black Lines</LABEL></TD>
|
66
|
+
</TR>
|
67
|
+
<TR>
|
68
|
+
<TD NOWRAP>
|
69
|
+
<LABEL><input type=checkbox id="lastpagefirst" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Last Page First</LABEL></TD>
|
70
|
+
</TR>
|
71
|
+
<TR>
|
72
|
+
<TD NOWRAP>
|
73
|
+
<LABEL><input type=checkbox id="printbg" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Print Backgrounds</LABEL></TD>
|
74
|
+
</TR>
|
75
|
+
</TABLE>
|
76
|
+
</fieldset>
|
77
|
+
</td>
|
78
|
+
<td>
|
79
|
+
<fieldset >
|
80
|
+
<legend align=left> Sample (8.5 x 11.00) </legend>
|
81
|
+
<P style="width:100%;height:70px;"> </P>
|
82
|
+
</fieldset>
|
83
|
+
</td>
|
84
|
+
</tr>
|
85
|
+
|
86
|
+
<tr> <TD colspan=2>
|
87
|
+
<TABLE width="100%" height="100%" bgcolor="#C0C0C0">
|
88
|
+
<TR>
|
89
|
+
<TD>
|
90
|
+
<fieldset >
|
91
|
+
<legend align=left> Orientation </legend>
|
92
|
+
<TABLE width="100%" height="100%">
|
93
|
+
<TR>
|
94
|
+
<TD NOWRAP><LABEL><input type=radio name="orientation" id="portrait" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Portrait</LABEL></TD>
|
95
|
+
</TR>
|
96
|
+
<TR>
|
97
|
+
<TD NOWRAP><LABEL><input type=radio name="orientation" id="landscape" size=15 maxlength=80 style="margin-right:5px; background-color: rgb(190, 190, 190);">Landscape</LABEL></TD>
|
98
|
+
</TR>
|
99
|
+
</TABLE>
|
100
|
+
</fieldset>
|
101
|
+
</TD>
|
102
|
+
<TD>
|
103
|
+
<fieldset width="100%" height="100%" >
|
104
|
+
<legend align=left> Margins </legend>
|
105
|
+
<TABLE width="100%" height="100%">
|
106
|
+
<TR>
|
107
|
+
<TD>Top:</TD>
|
108
|
+
<TD width="30" ><input type="text" id="toptext" style="width:40;"></TD>
|
109
|
+
<TD><P style="width:5px;"> </P></TD>
|
110
|
+
<TD>Left:</TD>
|
111
|
+
<TD><input type="text" id="lefttext" style="width:40;"></TD>
|
112
|
+
</TR>
|
113
|
+
<TR>
|
114
|
+
<TD>Bottom:</TD>
|
115
|
+
<TD><input type="text" id="bottomtext" style="width:40;"></TD>
|
116
|
+
<TD><P style="width:5px;"> </P></TD>
|
117
|
+
<TD>Right:</TD>
|
118
|
+
<TD><input type="text" id="righttext" style="width:40;"></TD>
|
119
|
+
</TR>
|
120
|
+
</TABLE>
|
121
|
+
</fieldset>
|
122
|
+
</TD>
|
123
|
+
</TR>
|
124
|
+
</TABLE>
|
125
|
+
</TD>
|
126
|
+
</tr>
|
127
|
+
|
128
|
+
<tr>
|
129
|
+
<td NOWRAP colspan=2>
|
130
|
+
<fieldset >
|
131
|
+
<legend align=left> Header </legend>
|
132
|
+
<TABLE width="100%">
|
133
|
+
<TR>
|
134
|
+
<TD NOWRAP><LABEL><input type=checkbox id="doctitle" size=15 maxlength=80 style="margin-right:0px; background-color: rgb(190, 190, 190);">Document Title</LABEL> </TD>
|
135
|
+
<TD NOWRAP><LABEL><input type=checkbox id="docloc" size=15 maxlength=80 style="margin-right:0px; background-color: rgb(190, 190, 190);">Document Location (URL)</LABEL> </TD>
|
136
|
+
</TR>
|
137
|
+
<TR>
|
138
|
+
<TD colspan=2><input type="text" id="headertext" width="100%"></TD>
|
139
|
+
</TR>
|
140
|
+
</TABLE>
|
141
|
+
</fieldset>
|
142
|
+
</td>
|
143
|
+
</tr>
|
144
|
+
<tr>
|
145
|
+
<td NOWRAP colspan=2>
|
146
|
+
<fieldset >
|
147
|
+
<legend align=left> Footer </legend>
|
148
|
+
<TABLE width="100%">
|
149
|
+
<TR>
|
150
|
+
<TD NOWRAP style="vertical-align:middle;"><input type=checkbox id="pagenum" size=15 maxlength=80 style="margin-right:0px; background-color: rgb(190, 190, 190);">Page Number </TD>
|
151
|
+
<TD NOWRAP><LABEL><input type=checkbox id="pagetotal" size=15 maxlength=80 style="margin-right:0px; background-color: rgb(190, 190, 190);">Page Total</LABEL> </TD>
|
152
|
+
<TD NOWRAP><LABEL><input type=checkbox id="dateprinted" size=15 maxlength=80 style="margin-right:0px; background-color: rgb(190, 190, 190);">Date Printed</LABEL> </TD>
|
153
|
+
</TR>
|
154
|
+
<TR>
|
155
|
+
<TD colspan=3><input type="text" id="footertext" width="100%"></TD>
|
156
|
+
</TR>
|
157
|
+
</TABLE>
|
158
|
+
</fieldset>
|
159
|
+
</td>
|
160
|
+
</tr>
|
161
|
+
|
162
|
+
</TABLE>
|
163
|
+
|
164
|
+
<TABLE WIDTH="100%"><TR>
|
165
|
+
<TD><P style="width:40px;"> </P></TD>
|
166
|
+
<TD><CENTER><input type="button" id="ok" value="OK" style="width:80;"></CENTER></TD>
|
167
|
+
<TD><CENTER><input type="button" id="cancel" value="Cancel" style="width:80;"></CENTER></TD>
|
168
|
+
<TD><P style="width:40px;"> </P></TD>
|
169
|
+
</TR>
|
170
|
+
</TABLE>
|
171
|
+
|
172
|
+
</FORM>
|
173
|
+
<p> </p>
|
174
|
+
</body>
|
175
|
+
</html>
|
Binary file
|
Binary file
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<?xml-stylesheet href="resource:/res/samples/xul.css" type="text/css"?>
|
3
|
+
|
4
|
+
<!DOCTYPE window>
|
5
|
+
|
6
|
+
<window style="height: 100%; width: 100%;"
|
7
|
+
xmlns:html="http://www.w3.org/1999/xhtml"
|
8
|
+
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
9
|
+
|
10
|
+
<hbox style="background-color: white; height: 100%; width: 100%">
|
11
|
+
<!-- scroll bar -->
|
12
|
+
<scrollbar orient="vertical"/>
|
13
|
+
|
14
|
+
<spacer style="width: 10px"/>
|
15
|
+
|
16
|
+
<!-- scroll bar with NeXt button order-->
|
17
|
+
<scrollbar orient="vertical">
|
18
|
+
<slider flex="100%"/>
|
19
|
+
<scrollbarbutton class="decrement"/>
|
20
|
+
<scrollbarbutton class="increment"/>
|
21
|
+
</scrollbar>
|
22
|
+
|
23
|
+
<spacer style="width: 10px"/>
|
24
|
+
|
25
|
+
<!-- fixed thumb and different increments -->
|
26
|
+
<scrollbar orient="vertical" curpos="50" pageIncrement="20" increment="5" flex="100%">
|
27
|
+
<scrollbarbutton class="decrement"/>
|
28
|
+
<slider flex="100%">
|
29
|
+
<thumb value="this is it" flex="0%"/>
|
30
|
+
</slider>
|
31
|
+
<scrollbarbutton class="increment"/>
|
32
|
+
</scrollbar>
|
33
|
+
|
34
|
+
<spacer style="width: 10px"/>
|
35
|
+
|
36
|
+
<!-- scrollbar with table in it -->
|
37
|
+
<scrollbar orient="vertical" curpos="50" pageIncrement="20" increment="5" >
|
38
|
+
<scrollbarbutton class="decrement"/>
|
39
|
+
<slider flex="100%">
|
40
|
+
<html:button width="100%">
|
41
|
+
<html:table width="100%" border="1">
|
42
|
+
<html:tr>
|
43
|
+
<html:td bgcolor="blue">
|
44
|
+
cell1
|
45
|
+
</html:td>
|
46
|
+
<html:td bgcolor="red">
|
47
|
+
cell2
|
48
|
+
</html:td>
|
49
|
+
</html:tr>
|
50
|
+
<html:tr>
|
51
|
+
<html:td bgcolor="red">
|
52
|
+
cell4
|
53
|
+
</html:td>
|
54
|
+
<html:td bgcolor="blue">
|
55
|
+
cell5
|
56
|
+
</html:td>
|
57
|
+
</html:tr>
|
58
|
+
</html:table>
|
59
|
+
</html:button>
|
60
|
+
</slider>
|
61
|
+
<scrollbarbutton class="increment"/>
|
62
|
+
</scrollbar>
|
63
|
+
</hbox>
|
64
|
+
|
65
|
+
</window>
|
66
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<?xml-stylesheet href="resource:/res/samples/xul.css" type="text/css"?>
|
3
|
+
|
4
|
+
<!DOCTYPE window>
|
5
|
+
|
6
|
+
<window style="height: 100%; width: 100%;"
|
7
|
+
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
8
|
+
<hbox style="width: 100%; height: 100%">
|
9
|
+
<scrollbar orient="vertical"/>
|
10
|
+
<vbox flex="100%">
|
11
|
+
<scrollbar orient="horizontal"/>
|
12
|
+
<spacer flex="100%" style="background-color: white"/>
|
13
|
+
<scrollbar orient="horizontal"/>
|
14
|
+
</vbox>
|
15
|
+
<scrollbar orient="vertical"/>
|
16
|
+
</hbox>
|
17
|
+
|
18
|
+
</window>
|
19
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<?xml-stylesheet href="resource:/res/samples/xul.css" type="text/css"?>
|
3
|
+
|
4
|
+
<!DOCTYPE window>
|
5
|
+
|
6
|
+
<window style="height: 100%; width: 100%;"
|
7
|
+
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
8
|
+
|
9
|
+
<slider orient="vertical" curpos="50">
|
10
|
+
<thumb flex="100%"/>
|
11
|
+
</slider>
|
12
|
+
|
13
|
+
</window>
|
14
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Sound Service Play Example</title>
|
4
|
+
</head>
|
5
|
+
|
6
|
+
<body>
|
7
|
+
<script>
|
8
|
+
var url = Components.classes["@mozilla.org/network/standard-url;1"].createInstance();
|
9
|
+
url = url.QueryInterface(Components.interfaces.nsIURL);
|
10
|
+
url.spec = "resource:/res/samples/test.wav";
|
11
|
+
|
12
|
+
var sample = Components.classes["@mozilla.org/sound;1"].createInstance();
|
13
|
+
sample = sample.QueryInterface(Components.interfaces.nsISound);
|
14
|
+
</script>
|
15
|
+
|
16
|
+
<form name="form">
|
17
|
+
<input type="button" value="Play Sound" onclick="sample.play(url);">
|
18
|
+
<form>
|
19
|
+
</body>
|
20
|
+
</html>
|
Binary file
|
@@ -0,0 +1,220 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Example 0</title>
|
4
|
+
<style>
|
5
|
+
a#id.foo:visited:first-line { color: red; }
|
6
|
+
a#id.foo:first-line { color: red; }
|
7
|
+
a#id.foo:visited { color: red; }
|
8
|
+
a#id:first-line { color: red; }
|
9
|
+
a#id:visited { color: red; }
|
10
|
+
a:first-line { color: red; }
|
11
|
+
a:visited { color: red; }
|
12
|
+
a:visited:first-line { color: red; }
|
13
|
+
a:visited:visited { color: red; }
|
14
|
+
:first-letter { color: green; }
|
15
|
+
#line:first-line { font-size: 200%; letter-spacing: -.25em; }
|
16
|
+
#letter:first-letter { font-size: 48pt; font-weight: bold; float: left; }
|
17
|
+
</style>
|
18
|
+
<meta name="crc" content=3268488385">
|
19
|
+
</head>
|
20
|
+
|
21
|
+
<body bgcolor="#FFFFFF" text="#000000">
|
22
|
+
|
23
|
+
<!-- GOOFY Comment tests... -->
|
24
|
+
<!-- xx -- yy -- zz -->
|
25
|
+
<!-- also interesting --!>
|
26
|
+
<!--------------------->
|
27
|
+
<!-- ####################################################################
|
28
|
+
# #
|
29
|
+
# * Here's another interesting comment problem we encountered #
|
30
|
+
# this came from mozilla.org of all places! "!-- * --" #
|
31
|
+
####################################################################
|
32
|
+
-->
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
<h1>Example 0: Basic HTML Text Styles</h1>
|
37
|
+
|
38
|
+
<P><br></p>
|
39
|
+
|
40
|
+
<h2>Formatted Text</h2>
|
41
|
+
|
42
|
+
<p>
|
43
|
+
This is a basic paragraph with <b>bold</b>, <i>italic</i> and
|
44
|
+
<i><b>bold</b></i><b><i>-italic </i></b>
|
45
|
+
text. It also includes <font color="#FF0000">red</font>,
|
46
|
+
<font color="#00FF00">green</font>
|
47
|
+
and <font color="#0000FF">blue</font> text.
|
48
|
+
It has <s>strikethru</s> and <u>underline</u>.
|
49
|
+
<u> </u>
|
50
|
+
</p>
|
51
|
+
|
52
|
+
<p>
|
53
|
+
Text decoration color test:
|
54
|
+
<span style="color: red">
|
55
|
+
red
|
56
|
+
<span style="text-decoration: underline">
|
57
|
+
underline
|
58
|
+
<span style="color: cyan">
|
59
|
+
cyan
|
60
|
+
<span style="text-decoration: line-through">
|
61
|
+
line-through
|
62
|
+
<span style="color: blue">
|
63
|
+
blue
|
64
|
+
<span style="text-decoration: overline">
|
65
|
+
overline
|
66
|
+
<span style="color: black">
|
67
|
+
black
|
68
|
+
</span>
|
69
|
+
overline
|
70
|
+
</span>
|
71
|
+
blue
|
72
|
+
</span>
|
73
|
+
line-through
|
74
|
+
</span>
|
75
|
+
cyan
|
76
|
+
</span>
|
77
|
+
underline
|
78
|
+
</span>
|
79
|
+
red
|
80
|
+
</span>
|
81
|
+
</p>
|
82
|
+
|
83
|
+
<p>This is a paragraph with font variations: <b><font face="Arial, Helvetica, sans-serif">Bold Arial,</font></b><font face="Arial, Helvetica, sans-serif">
|
84
|
+
<i><font face="Verdana, Arial, Helvetica, sans-serif">Italic Verdana</font>,</i> <font face="courier">COURIER,
|
85
|
+
<font face="Times New Roman, Times, serif">Times New Roman.</font></font></font></p>
|
86
|
+
<p><font size=7>Font size=7, </font><font size=6>Font size=6, </font><font size=5>Font
|
87
|
+
size=5, </font><font size=4>Font size=4, </font><font size=3>Font size=3, </font><font size=2>Font
|
88
|
+
size=2, </font><font size=1>Font size=1, </font><font point-size=24 font-weight=700>Font
|
89
|
+
point-size=24 font-weight=700</font><BR>
|
90
|
+
<SPAN style="font-family: Verdana Bold, Times; font-weight: bold; font-size: 18pt; font-variant: small-caps;">This Text Is Small-caps.
|
91
|
+
<!-- the following line does not work so I'll comment it out for now.
|
92
|
+
Großbritannien.
|
93
|
+
-->
|
94
|
+
</SPAN>
|
95
|
+
</P>
|
96
|
+
|
97
|
+
<h2>Text styles</h2>
|
98
|
+
|
99
|
+
<P>
|
100
|
+
<SPAN style="text-transform: capitalize;">
|
101
|
+
this text was capitalized. <BR>
|
102
|
+
latin å è should be displayed as Å È.<BR>
|
103
|
+
german character ß
|
104
|
+
should be displayed as "SS".
|
105
|
+
</SPAN>
|
106
|
+
<BR>
|
107
|
+
<SPAN style="text-transform: lowercase;">
|
108
|
+
THIS TEXT WAS LOWERCASED <BR>
|
109
|
+
LATIN Å È SHOULD BE DISPLAYED AS å è.
|
110
|
+
</SPAN>
|
111
|
+
<BR>
|
112
|
+
<SPAN style="text-transform: uppercase;">
|
113
|
+
this text was uppercased. <BR>
|
114
|
+
latin å è should displayed as Å È. <BR>
|
115
|
+
german character ß
|
116
|
+
should be displayed as "SS".
|
117
|
+
</SPAN>
|
118
|
+
<BR>
|
119
|
+
<SPAN style="letter-spacing: 2em;">
|
120
|
+
Letter spacing set to 2em's.
|
121
|
+
</SPAN>
|
122
|
+
<BR>
|
123
|
+
<SPAN style="word-spacing: 2em;">
|
124
|
+
Word spacing set to 2em's.
|
125
|
+
</SPAN>
|
126
|
+
<BR>
|
127
|
+
<SPAN style="text-transform: capitalize; letter-spacing: 1em; word-spacing: 5em; font-variant: small-caps;">
|
128
|
+
this text is capitalized small-caps with letter spacing set to 1em and
|
129
|
+
the word spacing set to 5em's. enjoy!
|
130
|
+
</SPAN>
|
131
|
+
</P>
|
132
|
+
|
133
|
+
<H2>Pseudo-element tests</H2>
|
134
|
+
|
135
|
+
<P ID=line>
|
136
|
+
This paragraph demonstrates the :first-line pseudo
|
137
|
+
element. The first line of text should use a font twice the size and
|
138
|
+
have the letter spacing set so that the text is jammed together in an
|
139
|
+
unpleasant fashion.
|
140
|
+
</P>
|
141
|
+
|
142
|
+
<P ID=letter>
|
143
|
+
First letter style is really cool. The facility is very powerful because it
|
144
|
+
takes an innocuous looking content model and spices it up dramatically while
|
145
|
+
allowing a backwards compatible answer for older browsers.
|
146
|
+
</P>
|
147
|
+
|
148
|
+
<h2><br>
|
149
|
+
</h2>
|
150
|
+
<h2>Listings</h2>
|
151
|
+
<h3>Bulleted List </h3>
|
152
|
+
<ul>
|
153
|
+
<li>One</li>
|
154
|
+
<li>Two
|
155
|
+
<ul>
|
156
|
+
<li>Apples</li>
|
157
|
+
<li>Oranges</li>
|
158
|
+
<li>Bananas</li>
|
159
|
+
</ul>
|
160
|
+
</li>
|
161
|
+
<li>Three</li>
|
162
|
+
</ul>
|
163
|
+
<br>
|
164
|
+
<h3>Numbered List </h3>
|
165
|
+
<ol>
|
166
|
+
<li>One</li>
|
167
|
+
<li>Two
|
168
|
+
<ol>
|
169
|
+
<li>Apples</li>
|
170
|
+
<li>Oranges</li>
|
171
|
+
<li>Bananas</li>
|
172
|
+
</ol>
|
173
|
+
</li>
|
174
|
+
<li>Three</li>
|
175
|
+
</ol>
|
176
|
+
|
177
|
+
<h2>Justified Text</h2>
|
178
|
+
|
179
|
+
<p align=left>
|
180
|
+
This paragraph is aligned <b>left</b>.
|
181
|
+
This paragraph is aligned <b>left</b>.
|
182
|
+
This paragraph is aligned <b>left</b>.
|
183
|
+
This paragraph is aligned <b>left</b>.
|
184
|
+
This paragraph is aligned <b>left</b>.
|
185
|
+
This paragraph is aligned <b>left</b>.
|
186
|
+
This paragraph is aligned <b>left</b>.
|
187
|
+
</p>
|
188
|
+
|
189
|
+
<p align=center>
|
190
|
+
This paragraph is aligned <b>center</b>.
|
191
|
+
This paragraph is aligned <b>center</b>.
|
192
|
+
This paragraph is aligned <b>center</b>.
|
193
|
+
This paragraph is aligned <b>center</b>.
|
194
|
+
This paragraph is aligned <b>center</b>.
|
195
|
+
This paragraph is aligned <b>center</b>.
|
196
|
+
This paragraph is aligned <b>center</b>.
|
197
|
+
</p>
|
198
|
+
|
199
|
+
<p align=right>
|
200
|
+
This paragraph is aligned <b>right</b>.
|
201
|
+
This paragraph is aligned <b>right</b>.
|
202
|
+
This paragraph is aligned <b>right</b>.
|
203
|
+
This paragraph is aligned <b>right</b>.
|
204
|
+
This paragraph is aligned <b>right</b>.
|
205
|
+
This paragraph is aligned <b>right</b>.
|
206
|
+
This paragraph is aligned <b>right</b>.
|
207
|
+
</p>
|
208
|
+
|
209
|
+
<p align=justify>
|
210
|
+
This paragraph is <B>justified</B>.
|
211
|
+
This paragraph is <B>justified</B>.
|
212
|
+
This paragraph is <B>justified</B>.
|
213
|
+
This paragraph is <B>justified</B>.
|
214
|
+
This paragraph is <B>justified</B>.
|
215
|
+
This paragraph is <B>justified</B>.
|
216
|
+
This paragraph is <B>justified</B>.
|
217
|
+
</p>
|
218
|
+
|
219
|
+
</body>
|
220
|
+
</html>
|
@@ -0,0 +1,84 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Example 1</title>
|
4
|
+
<style>
|
5
|
+
H1{ color: rgb(128,0,128) }
|
6
|
+
PRE { background-color: rgb(200,200,200) }
|
7
|
+
B {
|
8
|
+
background-color: rgb(128, 128, 255);
|
9
|
+
font-size: large;
|
10
|
+
}
|
11
|
+
I {
|
12
|
+
font-size: larger;
|
13
|
+
}
|
14
|
+
B I {
|
15
|
+
font-size: smaller;
|
16
|
+
}
|
17
|
+
LI B {
|
18
|
+
font-size: .25in;
|
19
|
+
}
|
20
|
+
UL LI {
|
21
|
+
color: green;
|
22
|
+
list-style: square outside url(resource:/res/samples/gear1.gif);
|
23
|
+
}
|
24
|
+
UL UL LI {
|
25
|
+
color: red;
|
26
|
+
}
|
27
|
+
H4 {
|
28
|
+
color: yellow;
|
29
|
+
background-image: url(gear1.gif);
|
30
|
+
background-repeat: repeat;
|
31
|
+
font-size: 150%;
|
32
|
+
}
|
33
|
+
</style>
|
34
|
+
<meta name="crc" content=48969488>
|
35
|
+
|
36
|
+
</head>
|
37
|
+
|
38
|
+
<body bgcolor="#FFFFFF" text="#000000">
|
39
|
+
<h1>Example 1: CSS HTML Text Styles</h1>
|
40
|
+
<p><br></p>
|
41
|
+
<p>Note -- This document contains the following CSS declarations:</p>
|
42
|
+
<pre>H1 { color: rgb(128,0,128) }
|
43
|
+
PRE { background-color: rgb(200,200,200); }
|
44
|
+
B { background-color: rgb(128, 128, 255);
|
45
|
+
font-size: large; }
|
46
|
+
I { font-size: larger; }
|
47
|
+
B I { font-size: smaller; }
|
48
|
+
LI B { font-size: .25in; }
|
49
|
+
UL LI { color: green;
|
50
|
+
list-style: square outside url(resource:/res/gear1.gif);
|
51
|
+
//none; }
|
52
|
+
UL UL LI { color: red; }
|
53
|
+
H4 { color: yellow;
|
54
|
+
background-image: url(gear1.gif);
|
55
|
+
background-repeat: repeat;
|
56
|
+
font-size: 150%; }
|
57
|
+
</pre>
|
58
|
+
<p><br></p>
|
59
|
+
<p>Here is an example of <b>bold</b>, <i>italic</i> and <b><i>bold-italic</i></b></p>
|
60
|
+
<p><br></p>
|
61
|
+
<p>Some links to test pseudo-classes</p>
|
62
|
+
<p><a href="http://link">link</a></p>
|
63
|
+
<p><a href="http://visited">visited</a></p>
|
64
|
+
<p><a href="http://active">active</a></p>
|
65
|
+
<p><a href="http://hover">hover</a></p>
|
66
|
+
<h2>Bulleted List </h2>
|
67
|
+
<ul>
|
68
|
+
<li>One</li>
|
69
|
+
<li>Two
|
70
|
+
<ul>
|
71
|
+
<li>Apples</li>
|
72
|
+
<li>Oranges</li>
|
73
|
+
<li>Bananas</li>
|
74
|
+
</ul>
|
75
|
+
</li>
|
76
|
+
<li>Three <b>Bold Text</b></li>
|
77
|
+
</ul>
|
78
|
+
<p><br></p>
|
79
|
+
<h4>H3 -- A headline style, with a background image repeated and a font size increase
|
80
|
+
by 150%. H3 -- A headline style, with a background image repeated and a font
|
81
|
+
size increase by 150%. H3 -- A headline style, with a background image repeated
|
82
|
+
and a font size increase by 150%. </h4>
|
83
|
+
</body>
|
84
|
+
</html>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<HTML>
|
2
|
+
<head>
|
3
|
+
<meta name="crc" content=90987012>
|
4
|
+
</head>
|
5
|
+
<BODY Background="gear1.gif">
|
6
|
+
<IMG SRC="Anieyes.gif" style="opacity:0.25;" width=150>
|
7
|
+
<IMG SRC="Anieyes.gif" style="opacity:0.5;" width=150>
|
8
|
+
<IMG SRC="Anieyes.gif" style="opacity:0.75;" width=150>
|
9
|
+
<BR>
|
10
|
+
<BR>
|
11
|
+
<HR>
|
12
|
+
<BR>
|
13
|
+
<IMG SRC="gear1.gif" style="opacity:0.25;" width=300>
|
14
|
+
<BR>
|
15
|
+
</BODY>
|
16
|
+
</HTML>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<style>
|
4
|
+
HTML {margin-top:2em; font-family:sans-serif}
|
5
|
+
HTML {border:solid lime 8px; padding:32px; background:green; color:white}
|
6
|
+
A.header-button {margin-top:.5em; margin-right: 1em;}
|
7
|
+
</style>
|
8
|
+
</head>
|
9
|
+
<meta name="crc" content=4049295789>
|
10
|
+
<body>
|
11
|
+
<a name="intro""><h2>Introduction</h2></a>
|
12
|
+
This is a test of a document that has a fixed
|
13
|
+
<div style="position:fixed; top:0; left:0; width:100%; height:2em; background:#cccccc">
|
14
|
+
<a class=header-button style="margin-left:.5em" href=#intro>Introduction</a>
|
15
|
+
<a class=header-button href="#fixed">Fixed Positioning</a>
|
16
|
+
<a class=header-button href="#conclusion">Conclusion</a>
|
17
|
+
</div>
|
18
|
+
element along the top edge of the document. Notice that as the document scrolls the
|
19
|
+
fixed element doesn't move, because the fixed element is attached to the viewport.
|
20
|
+
<p>This example is very different from the next example which uses fixed positioning
|
21
|
+
to create a frame-like presentation. This example shows how you could use fixed positioning
|
22
|
+
to create a quick table of contents.
|
23
|
+
<p>Some of the other things this test shows are the use of margin, border, and padding on
|
24
|
+
the HTML element. It also shows scrolling of the viewport: because the document's initial
|
25
|
+
containing block (HTML element) is larger than the viewport, there's a vertical scrollbar.
|
26
|
+
It's the viewport that's scrolling, not the HTML element which is growing to accomodate
|
27
|
+
the document's content.
|
28
|
+
<p>This is loosely modeled after one of the tests in Ian Hickson's <i>Evil</i>
|
29
|
+
Test Suite.
|
30
|
+
<p>
|
31
|
+
<a name="fixed""><h2>Fixed Positioning</h2></a>
|
32
|
+
Fixed positioning is a subcategory of absolute positioning. The only
|
33
|
+
difference is that for a fixed positioned box, the containing block is established by the viewport.
|
34
|
+
<p>For continuous media, fixed boxes do not move when the document is scrolled. In this respect, they
|
35
|
+
are similar to fixed background images. For paged media, boxes with fixed positions are repeated on
|
36
|
+
every page.
|
37
|
+
<p>
|
38
|
+
<a name="conclusion"><h2>Conclusion</h2></a>
|
39
|
+
There are plenty of interesting things you can do with fixed positioning. This example shows
|
40
|
+
a fixed header, and the next example shows a frame-like presentation.
|
41
|
+
</body>
|
42
|
+
</html>
|