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,69 @@
|
|
1
|
+
pref("general.useragent.security", "U");
|
2
|
+
|
3
|
+
pref("security.enable_ssl2", false);
|
4
|
+
pref("security.enable_ssl3", true);
|
5
|
+
pref("security.enable_tls", true);
|
6
|
+
|
7
|
+
pref("security.ssl2.rc4_128", false);
|
8
|
+
pref("security.ssl2.rc2_128", false);
|
9
|
+
pref("security.ssl2.des_ede3_192", false);
|
10
|
+
pref("security.ssl2.des_64", false);
|
11
|
+
pref("security.ssl2.rc4_40", false);
|
12
|
+
pref("security.ssl2.rc2_40", false);
|
13
|
+
pref("security.ssl3.rsa_rc4_128_md5", true);
|
14
|
+
pref("security.ssl3.rsa_rc4_128_sha", true);
|
15
|
+
pref("security.ssl3.rsa_fips_des_ede3_sha", true);
|
16
|
+
pref("security.ssl3.rsa_des_ede3_sha", true);
|
17
|
+
pref("security.ssl3.rsa_fips_des_sha", false);
|
18
|
+
pref("security.ssl3.rsa_des_sha", false);
|
19
|
+
pref("security.ssl3.rsa_1024_rc4_56_sha", false);
|
20
|
+
pref("security.ssl3.rsa_1024_des_cbc_sha", false);
|
21
|
+
pref("security.ssl3.rsa_rc4_40_md5", false);
|
22
|
+
pref("security.ssl3.rsa_rc2_40_md5", false);
|
23
|
+
pref("security.ssl3.dhe_rsa_aes_256_sha", true);
|
24
|
+
pref("security.ssl3.dhe_dss_aes_256_sha", true);
|
25
|
+
pref("security.ssl3.rsa_aes_256_sha", true);
|
26
|
+
pref("security.ssl3.ecdhe_ecdsa_aes_256_sha", true);
|
27
|
+
pref("security.ssl3.ecdhe_ecdsa_aes_128_sha", true);
|
28
|
+
pref("security.ssl3.ecdhe_ecdsa_des_ede3_sha", true);
|
29
|
+
pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", true);
|
30
|
+
pref("security.ssl3.ecdhe_ecdsa_null_sha", false);
|
31
|
+
pref("security.ssl3.ecdhe_rsa_aes_256_sha", true);
|
32
|
+
pref("security.ssl3.ecdhe_rsa_aes_128_sha", true);
|
33
|
+
pref("security.ssl3.ecdhe_rsa_des_ede3_sha", true);
|
34
|
+
pref("security.ssl3.ecdhe_rsa_rc4_128_sha", true);
|
35
|
+
pref("security.ssl3.ecdhe_rsa_null_sha", false);
|
36
|
+
pref("security.ssl3.ecdh_ecdsa_aes_256_sha", true);
|
37
|
+
pref("security.ssl3.ecdh_ecdsa_aes_128_sha", true);
|
38
|
+
pref("security.ssl3.ecdh_ecdsa_des_ede3_sha", true);
|
39
|
+
pref("security.ssl3.ecdh_ecdsa_rc4_128_sha", true);
|
40
|
+
pref("security.ssl3.ecdh_ecdsa_null_sha", false);
|
41
|
+
pref("security.ssl3.ecdh_rsa_aes_256_sha", true);
|
42
|
+
pref("security.ssl3.ecdh_rsa_aes_128_sha", true);
|
43
|
+
pref("security.ssl3.ecdh_rsa_des_ede3_sha", true);
|
44
|
+
pref("security.ssl3.ecdh_rsa_rc4_128_sha", true);
|
45
|
+
pref("security.ssl3.ecdh_rsa_null_sha", false);
|
46
|
+
pref("security.ssl3.dhe_rsa_aes_128_sha", true);
|
47
|
+
pref("security.ssl3.dhe_dss_aes_128_sha", true);
|
48
|
+
pref("security.ssl3.rsa_aes_128_sha", true);
|
49
|
+
pref("security.ssl3.dhe_rsa_des_ede3_sha", true);
|
50
|
+
pref("security.ssl3.dhe_dss_des_ede3_sha", true);
|
51
|
+
pref("security.ssl3.dhe_rsa_des_sha", false);
|
52
|
+
pref("security.ssl3.dhe_dss_des_sha", false);
|
53
|
+
pref("security.ssl3.rsa_null_sha", false);
|
54
|
+
pref("security.ssl3.rsa_null_md5", false);
|
55
|
+
|
56
|
+
pref("security.default_personal_cert", "Select Automatically");
|
57
|
+
pref("security.ask_for_password", 0);
|
58
|
+
pref("security.password_lifetime", 30);
|
59
|
+
pref("security.warn_entering_secure", true);
|
60
|
+
pref("security.warn_entering_weak", true);
|
61
|
+
pref("security.warn_leaving_secure", true);
|
62
|
+
pref("security.warn_viewing_mixed", true);
|
63
|
+
pref("security.warn_submit_insecure", true);
|
64
|
+
|
65
|
+
pref("security.OCSP.enabled", 0);
|
66
|
+
|
67
|
+
pref("security.ui.enable", true);
|
68
|
+
|
69
|
+
|
@@ -0,0 +1,207 @@
|
|
1
|
+
require '../../ogre'
|
2
|
+
|
3
|
+
include Ogre
|
4
|
+
include Navi
|
5
|
+
|
6
|
+
GC.disable
|
7
|
+
$shouldQuit = false
|
8
|
+
|
9
|
+
class NaviListener < NaviEventListenerProxy
|
10
|
+
|
11
|
+
def on_navi_link_clicked(navi_name, navi_data)
|
12
|
+
end
|
13
|
+
|
14
|
+
def on_navi_data_event(navi_name, navi_data)
|
15
|
+
if(navi_data.is_named("urlChange"))
|
16
|
+
urlStr = navi_data.get("url")
|
17
|
+
NaviManager::get.navigate_navi_to("testNavi", urlStr)
|
18
|
+
NaviManager::get.set_navi_mask("testNavi", "testNaviMask.png")
|
19
|
+
$dbgText.set_caption(urlStr)
|
20
|
+
elsif(navi_data.is_named("opacityChange"))
|
21
|
+
NaviManager::get.set_navi_opacity("testNavi", navi_data.get("opacity").to_f)
|
22
|
+
elsif(navi_data.is_named("updateTypeChange"))
|
23
|
+
updateTypeStr = navi_data.get("updateType")
|
24
|
+
if(update_type_str == "auto")
|
25
|
+
NaviManager::get.set_force_max_update("testNavi", false)
|
26
|
+
else
|
27
|
+
NaviManager::get.set_force_max_update("testNavi", true)
|
28
|
+
end
|
29
|
+
elsif(navi_data.is_named("maxUPSChange"))
|
30
|
+
NaviManager::get.set_max_updates_per_sec("testNavi", navi_data.get("maxUPS").to_i)
|
31
|
+
elsif(navi_data.is_named("ambientChange"))
|
32
|
+
ambientDecimal = navi_data.get("ambient").to_i/100.0
|
33
|
+
$scene_mgr.ambient_light=ColourValue.new(ambientDecimal, ambientDecimal, ambientDecimal)
|
34
|
+
elsif(navi_data.is_named("toggleWorldGeometry"))
|
35
|
+
$scene_mgr.root_scene_node.flip_visibility(true)
|
36
|
+
elsif(navi_data.is_named("gotoNaviTest"))
|
37
|
+
NaviManager::get.navigate_navi_to("testNavi", "www.google.com")
|
38
|
+
NaviManager::get.set_navi_mask("testNavi", "testNaviMask.png")
|
39
|
+
elsif(navi_data.is_named("exit"))
|
40
|
+
$shouldQuit = true
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
class NaviMouseListener < OIS::MouseListenerProxy
|
46
|
+
def mouse_moved(e)
|
47
|
+
NaviManager::get.inject_mouse_wheel(e.state.Z.rel) if(e.state.Z.rel != 0)
|
48
|
+
return NaviManager::get.inject_mouse_move(e.state.X.abs, e.state.Y.abs)
|
49
|
+
end
|
50
|
+
def mouse_pressed(e, id)
|
51
|
+
return NaviManager::get.inject_mouse_down(id)
|
52
|
+
end
|
53
|
+
def mouse_released(e, id)
|
54
|
+
return NaviManager::get.inject_mouse_up(id)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
class NaviWindowListener < WindowEventListenerProxy
|
59
|
+
def window_resized(rw)
|
60
|
+
#TODO set mouse dimensions
|
61
|
+
end
|
62
|
+
def window_closed(rw)
|
63
|
+
$shouldQuit = true
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
## Setup the navi HUD
|
70
|
+
def create_navis
|
71
|
+
NaviManager::get.startup($render_win)
|
72
|
+
|
73
|
+
NaviManager::get.create_navi("welcomeNavi", "local://welcome.html", BottomCenter, 1024, 128)
|
74
|
+
NaviManager::get.set_navi_mask("welcomeNavi", "welcome.png")
|
75
|
+
NaviListener.new("welcomeNavi")
|
76
|
+
|
77
|
+
NaviManager::get.create_navi("testNavi", "local://naviLogo.html", 25, 15, 512, 512)
|
78
|
+
NaviManager::get.set_navi_mask("testNavi", "naviLogo.png")
|
79
|
+
NaviListener.new("testNavi")
|
80
|
+
|
81
|
+
# TODO: Swig interprets the extra '50' param (in the original demo) as an indication to use the other overloaded create_navi method. This is incorrect.
|
82
|
+
NaviManager::get.create_navi("controlsNavi", "", TopRight, 256, 256)#50)
|
83
|
+
NaviManager::get.set_navi_mask("controlsNavi", "controlsNaviMask.png")
|
84
|
+
NaviListener.new("controlsNavi")
|
85
|
+
|
86
|
+
testData = NaviData.new("Demonavi_data")
|
87
|
+
testData.add("msg", "Welcome to Navi!")
|
88
|
+
NaviManager::get.navigate_navi_to("controlsNavi", "local://controls.html", testData)
|
89
|
+
end
|
90
|
+
|
91
|
+
##Load the resource paths
|
92
|
+
def setup_resources
|
93
|
+
ResourceGroupManager.instance.add_resource_location(File.dirname(__FILE__), "FileSystem", "General")
|
94
|
+
ResourceGroupManager.instance.add_resource_location(File.dirname(__FILE__)+"/Media", "FileSystem", "General")
|
95
|
+
ResourceGroupManager.instance.add_resource_location(File.dirname(__FILE__)+"/Media/OgreCore.zip", "Zip", "General")
|
96
|
+
ResourceGroupManager.instance.add_resource_location(File.dirname(__FILE__)+"/NaviLocal", "FileSystem", "General")
|
97
|
+
ResourceGroupManager.instance.initialise_all_resource_groups
|
98
|
+
end
|
99
|
+
|
100
|
+
##Create the objects in the 3d scene
|
101
|
+
def setup_scene
|
102
|
+
camera = $scene_mgr.create_camera("MainCam")
|
103
|
+
camera.position=Vector3.new(0,10,-15)
|
104
|
+
camera.look_at(0, 0, 30)
|
105
|
+
|
106
|
+
viewport = $render_win.add_viewport(camera)
|
107
|
+
viewport.background_colour=ColourValue.new(0.8, 0.5, 0.5)
|
108
|
+
|
109
|
+
camera.aspect_ratio=viewport.actual_width.to_f / viewport.actual_height
|
110
|
+
camera.set_far_clip_distance( 1000 )
|
111
|
+
camera.near_clip_distance=1
|
112
|
+
camera.set_far_clip_distance(0) if (Root::instance.get_render_system.get_capabilities.has_capability(RSC_INFINITE_FAR_PLANE))
|
113
|
+
|
114
|
+
|
115
|
+
light = $scene_mgr.create_light( "Sun" )
|
116
|
+
light.type = Light::LT_DIRECTIONAL
|
117
|
+
light.diffuse_colour = ColourValue.new( 0.82, 0.81, 0.7 )
|
118
|
+
light.set_specular_colour ColourValue.new( 0.82, 0.81, 0.7 )
|
119
|
+
light.direction = Vector3.new( 0, -1, 1 )
|
120
|
+
|
121
|
+
$scene_mgr.set_sky_dome( true, "CloudySky", 5, 8 )
|
122
|
+
|
123
|
+
# Create the ground
|
124
|
+
plane = Plane.new( Vector3.new(0,1,0), 0 )
|
125
|
+
MeshManager::instance.create_plane("ground",
|
126
|
+
"General", plane,
|
127
|
+
1500,1500,20,20,true,1,5,5,Vector3.new(0,0,1))
|
128
|
+
ent = $scene_mgr.create_entity( "GroundEntity", "ground" )
|
129
|
+
$scene_mgr.root_scene_node.create_child_scene_node("GroundNode").attach_object(ent)
|
130
|
+
ent.material_name="Terrain"
|
131
|
+
ent.set_cast_shadows(false)
|
132
|
+
|
133
|
+
# Create the Blue Knot
|
134
|
+
ent = $scene_mgr.create_entity( "BlueMetalKnot", "knot.mesh" )
|
135
|
+
ent.material_name = "Knot"
|
136
|
+
ent.set_cast_shadows( true )
|
137
|
+
|
138
|
+
# Position and scale the Blue Knot
|
139
|
+
node = $scene_mgr.root_scene_node.create_child_scene_node("KnotNode", Vector3.new(0, 12, 65))
|
140
|
+
node.attach_object( ent )
|
141
|
+
node.scale(0.1, 0.1, 0.1)
|
142
|
+
|
143
|
+
# Set-up the Frame-Rate overlay
|
144
|
+
dbgOverlay = OverlayManager::instance.get_by_name("Core/DebugOverlay")
|
145
|
+
dbgOverlay.show
|
146
|
+
dbgOverlay.get_child("Core/LogoPanel").hide
|
147
|
+
|
148
|
+
$dbgText = OverlayManager::instance.get_overlay_element("Core/DebugText")
|
149
|
+
$dbgText.set_caption("NaviDemo")
|
150
|
+
end
|
151
|
+
|
152
|
+
## Output debug info
|
153
|
+
def update_stats
|
154
|
+
guiAvg = OverlayManager::instance.get_overlay_element("Core/AverageFps");
|
155
|
+
guiCurr = OverlayManager::instance.get_overlay_element("Core/CurrFps");
|
156
|
+
guiBest = OverlayManager::instance.get_overlay_element("Core/BestFps");
|
157
|
+
guiWorst = OverlayManager::instance.get_overlay_element("Core/WorstFps");
|
158
|
+
guiTris = OverlayManager::instance.get_overlay_element("Core/NumTris");
|
159
|
+
|
160
|
+
stats = FrameStatsProxy.new($render_win);
|
161
|
+
guiAvg.set_caption "Average FPS: #{stats.avg_fps}"
|
162
|
+
guiCurr.set_caption "Current FPS: #{stats.last_fps}"
|
163
|
+
guiBest.set_caption "Best FPS: #{stats.best_fps}"
|
164
|
+
guiWorst.set_caption "Worst FPS: #{stats.worst_fps}"
|
165
|
+
guiTris.set_caption "Triangle Count: #{stats.triangle_count}"
|
166
|
+
end
|
167
|
+
|
168
|
+
|
169
|
+
root = Root.new("plugins.cfg", "ogre.cfg", "ogre.log")
|
170
|
+
root.show_config_dialog
|
171
|
+
|
172
|
+
$render_win = root.initialise(true, "NaviDemo")
|
173
|
+
$scene_mgr = root.create_scene_manager("TerrainSceneManager", "NaviDemoscene_mgr")
|
174
|
+
|
175
|
+
#Set the stage
|
176
|
+
setup_resources
|
177
|
+
setup_scene
|
178
|
+
create_navis
|
179
|
+
|
180
|
+
#Do input setup
|
181
|
+
windowListener = NaviWindowListener.new($render_win)
|
182
|
+
windowHnd = $render_win.get_custom_attribute_unsigned_long("WINDOW")
|
183
|
+
|
184
|
+
buffered_mouse = true
|
185
|
+
|
186
|
+
$input_manager = OIS::InputManager.create_input_system(
|
187
|
+
{ "WINDOW" => "#{windowHnd}",
|
188
|
+
"w32_mouse" => ["DISCL_FOREGROUND", "DISCL_NONEXCLUSIVE"],
|
189
|
+
"w32_keyboard" => ["DISCL_FOREGROUND", "DISCL_NONEXCLUSIVE"]
|
190
|
+
})
|
191
|
+
mouse = $input_manager.create_input_object( OIS::OISMouse, buffered_mouse)
|
192
|
+
mouseState = mouse.mouse_state
|
193
|
+
mouseState.width = $render_win.get_width
|
194
|
+
mouseState.height = $render_win.get_height
|
195
|
+
|
196
|
+
mouseListener = NaviMouseListener.new(mouse)
|
197
|
+
|
198
|
+
#Application loop
|
199
|
+
while(!$shouldQuit) do
|
200
|
+
NaviManager::get.update
|
201
|
+
Root::instance.render_one_frame
|
202
|
+
WindowEventUtilities::message_pump
|
203
|
+
mouse.capture
|
204
|
+
update_stats
|
205
|
+
end
|
206
|
+
|
207
|
+
NaviManager::get.shutdown
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,359 @@
|
|
1
|
+
/* ***** BEGIN LICENSE BLOCK *****
|
2
|
+
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
3
|
+
*
|
4
|
+
* The contents of this file are subject to the Mozilla Public License Version
|
5
|
+
* 1.1 (the "License"); you may not use this file except in compliance with
|
6
|
+
* the License. You may obtain a copy of the License at
|
7
|
+
* http://www.mozilla.org/MPL/
|
8
|
+
*
|
9
|
+
* Software distributed under the License is distributed on an "AS IS" basis,
|
10
|
+
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
11
|
+
* for the specific language governing rights and limitations under the
|
12
|
+
* License.
|
13
|
+
*
|
14
|
+
* The Original Code is Mozilla Communicator client code, released
|
15
|
+
* March 31, 1998.
|
16
|
+
*
|
17
|
+
* The Initial Developer of the Original Code is
|
18
|
+
* Netscape Communications Corporation.
|
19
|
+
* Portions created by the Initial Developer are Copyright (C) 1998-1999
|
20
|
+
* the Initial Developer. All Rights Reserved.
|
21
|
+
*
|
22
|
+
* Contributor(s):
|
23
|
+
*
|
24
|
+
* Alternatively, the contents of this file may be used under the terms of
|
25
|
+
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
26
|
+
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
27
|
+
* in which case the provisions of the GPL or the LGPL are applicable instead
|
28
|
+
* of those above. If you wish to allow use of your version of this file only
|
29
|
+
* under the terms of either the GPL or the LGPL, and not to allow others to
|
30
|
+
* use your version of this file under the terms of the MPL, indicate your
|
31
|
+
* decision by deleting the provisions above and replace them with the notice
|
32
|
+
* and other provisions required by the GPL or the LGPL. If you do not delete
|
33
|
+
* the provisions above, a recipient may use your version of this file under
|
34
|
+
* the terms of any one of the MPL, the GPL or the LGPL.
|
35
|
+
*
|
36
|
+
* ***** END LICENSE BLOCK ***** */
|
37
|
+
|
38
|
+
/* Styles to alter look of things in the Editor content window
|
39
|
+
* that should NOT be removed when we display in completely WYSIWYG
|
40
|
+
* "Browser Preview" mode.
|
41
|
+
* Anything that should change, like appearance of table borders
|
42
|
+
* and Named Anchors, should be placed in EditorContent.css instead of here.
|
43
|
+
*/
|
44
|
+
|
45
|
+
/* Primary cursor is text I-beam */
|
46
|
+
|
47
|
+
::-moz-canvas, a:link {
|
48
|
+
cursor: text;
|
49
|
+
}
|
50
|
+
|
51
|
+
/* Use default arrow over objects with size that
|
52
|
+
are selected when clicked on.
|
53
|
+
Override the browser's pointer cursor over links
|
54
|
+
*/
|
55
|
+
|
56
|
+
img, img[usemap], area,
|
57
|
+
object, object[usemap],
|
58
|
+
applet, hr, button, input, isindex, textarea, select,
|
59
|
+
a:link img, a:visited img, a:active img,
|
60
|
+
a[name]:-moz-only-whitespace {
|
61
|
+
cursor: default;
|
62
|
+
}
|
63
|
+
|
64
|
+
a:visited, a:active {
|
65
|
+
cursor: text;
|
66
|
+
color : inherit;
|
67
|
+
}
|
68
|
+
|
69
|
+
/* Prevent clicking on links from going to link */
|
70
|
+
a:link img, a:visited img {
|
71
|
+
-moz-user-input: none;
|
72
|
+
}
|
73
|
+
|
74
|
+
/* We suppress user/author's prefs for link underline,
|
75
|
+
so we must set explicitly. This isn't good!
|
76
|
+
*/
|
77
|
+
a:link {
|
78
|
+
text-decoration: underline -moz-anchor-decoration;
|
79
|
+
color: -moz-hyperlinktext;
|
80
|
+
}
|
81
|
+
|
82
|
+
/* Allow double-clicks on these widgets to open properties dialogs
|
83
|
+
XXX except when the widget has disabled attribute */
|
84
|
+
input, button, textarea {
|
85
|
+
-moz-user-select: all !important;
|
86
|
+
-moz-user-input: auto !important;
|
87
|
+
-moz-user-focus: none !important;
|
88
|
+
}
|
89
|
+
|
90
|
+
/* XXX Still need a better way of blocking other events to these widgets */
|
91
|
+
select, input[disabled], input[type="checkbox"], input[type="radio"], input[type="file"] {
|
92
|
+
-moz-user-select: all !important;
|
93
|
+
-moz-user-input: none !important;
|
94
|
+
-moz-user-focus: none !important;
|
95
|
+
}
|
96
|
+
|
97
|
+
isindex[prompt]
|
98
|
+
{
|
99
|
+
-moz-user-select: none !important;
|
100
|
+
-moz-user-input: none !important;
|
101
|
+
-moz-user-focus: none !important;
|
102
|
+
}
|
103
|
+
|
104
|
+
input[type="hidden"] {
|
105
|
+
border: 1px solid black !important;
|
106
|
+
visibility: visible !important;
|
107
|
+
}
|
108
|
+
|
109
|
+
label {
|
110
|
+
-moz-user-select: all !important;
|
111
|
+
}
|
112
|
+
|
113
|
+
::-moz-display-comboboxcontrol-frame {
|
114
|
+
-moz-user-select: text !important;
|
115
|
+
}
|
116
|
+
|
117
|
+
option {
|
118
|
+
-moz-user-select: text !important;
|
119
|
+
}
|
120
|
+
|
121
|
+
#mozToc.readonly {
|
122
|
+
-moz-user-select: all !important;
|
123
|
+
-moz-user-input: none !important;
|
124
|
+
}
|
125
|
+
|
126
|
+
/* the following rules are for Image Resizing */
|
127
|
+
|
128
|
+
span[\_moz_anonclass="mozResizer"] {
|
129
|
+
width: 5px;
|
130
|
+
height: 5px;
|
131
|
+
position: absolute;
|
132
|
+
border: 1px black solid;
|
133
|
+
background-color: white;
|
134
|
+
-moz-user-select: none;
|
135
|
+
z-index: 2147483646; /* max value -1 for this property */
|
136
|
+
}
|
137
|
+
|
138
|
+
/* we can't use :active below */
|
139
|
+
span[\_moz_anonclass="mozResizer"][\_moz_activated],
|
140
|
+
span[\_moz_anonclass="mozResizer"]:hover {
|
141
|
+
background-color: black;
|
142
|
+
}
|
143
|
+
|
144
|
+
span[\_moz_anonclass="mozResizer"].hidden,
|
145
|
+
span[\_moz_anonclass="mozResizingShadow"].hidden,
|
146
|
+
img[\_moz_anonclass="mozResizingShadow"].hidden,
|
147
|
+
span[\_moz_anonclass="mozGrabber"].hidden,
|
148
|
+
span[\_moz_anonclass="mozResizingInfo"].hidden,
|
149
|
+
a[\_moz_anonclass="mozTableRemoveRow"].hidden,
|
150
|
+
a[\_moz_anonclass="mozTableRemoveColumn"].hidden {
|
151
|
+
display: none !important;
|
152
|
+
}
|
153
|
+
|
154
|
+
span[\_moz_anonclass="mozResizer"][anonlocation="nw"] {
|
155
|
+
cursor: nw-resize;
|
156
|
+
}
|
157
|
+
span[\_moz_anonclass="mozResizer"][anonlocation="n"] {
|
158
|
+
cursor: n-resize;
|
159
|
+
}
|
160
|
+
span[\_moz_anonclass="mozResizer"][anonlocation="ne"] {
|
161
|
+
cursor: ne-resize;
|
162
|
+
}
|
163
|
+
span[\_moz_anonclass="mozResizer"][anonlocation="w"] {
|
164
|
+
cursor: w-resize;
|
165
|
+
}
|
166
|
+
span[\_moz_anonclass="mozResizer"][anonlocation="e"] {
|
167
|
+
cursor: e-resize;
|
168
|
+
}
|
169
|
+
span[\_moz_anonclass="mozResizer"][anonlocation="sw"] {
|
170
|
+
cursor: sw-resize;
|
171
|
+
}
|
172
|
+
span[\_moz_anonclass="mozResizer"][anonlocation="s"] {
|
173
|
+
cursor: s-resize;
|
174
|
+
}
|
175
|
+
span[\_moz_anonclass="mozResizer"][anonlocation="se"] {
|
176
|
+
cursor: se-resize;
|
177
|
+
}
|
178
|
+
|
179
|
+
span[\_moz_anonclass="mozResizingShadow"],
|
180
|
+
img[\_moz_anonclass="mozResizingShadow"] {
|
181
|
+
outline: thin dashed black;
|
182
|
+
-moz-user-select: none;
|
183
|
+
opacity: 0.5;
|
184
|
+
position: absolute;
|
185
|
+
z-index: 2147483647; /* max value for this property */
|
186
|
+
}
|
187
|
+
|
188
|
+
span[\_moz_anonclass="mozResizingInfo"] {
|
189
|
+
font-family: sans-serif;
|
190
|
+
font-size: x-small;
|
191
|
+
color: black;
|
192
|
+
background-color: #d0d0d0;
|
193
|
+
border: ridge 2px #d0d0d0;
|
194
|
+
padding: 2px;
|
195
|
+
position: absolute;
|
196
|
+
z-index: 2147483647; /* max value for this property */
|
197
|
+
}
|
198
|
+
|
199
|
+
img[\_moz_resizing] {
|
200
|
+
outline: thin solid black;
|
201
|
+
}
|
202
|
+
|
203
|
+
*[\_moz_abspos] {
|
204
|
+
outline: silver ridge 2px;
|
205
|
+
z-index: 2147483645 !important; /* max value -2 for this property */
|
206
|
+
}
|
207
|
+
*[\_moz_abspos="white"] {
|
208
|
+
background-color: white !important;
|
209
|
+
}
|
210
|
+
*[\_moz_abspos="black"] {
|
211
|
+
background-color: black !important;
|
212
|
+
}
|
213
|
+
|
214
|
+
span[\_moz_anonclass="mozGrabber"] {
|
215
|
+
outline: ridge 2px silver;
|
216
|
+
padding: 2px;
|
217
|
+
position: absolute;
|
218
|
+
width: 12px;
|
219
|
+
height: 12px;
|
220
|
+
background-image: url("resource:/res/grabber.gif");
|
221
|
+
background-repeat: no-repeat;
|
222
|
+
background-position: center center;
|
223
|
+
-moz-user-select: none;
|
224
|
+
cursor: move;
|
225
|
+
}
|
226
|
+
|
227
|
+
/* INLINE TABLE EDITING */
|
228
|
+
|
229
|
+
a[\_moz_anonclass="mozTableAddColumnBefore"] {
|
230
|
+
position: absolute;
|
231
|
+
z-index: 2147483647; /* max value for this property */
|
232
|
+
text-decoration: none !important;
|
233
|
+
border: none 0px !important;
|
234
|
+
width: 4px;
|
235
|
+
height: 8px;
|
236
|
+
background-image: url("resource:/res/table-add-column-before.gif");
|
237
|
+
background-repeat: no-repeat;
|
238
|
+
background-position: center center;
|
239
|
+
-moz-user-select: none !important;
|
240
|
+
-moz-user-focus: none !important;
|
241
|
+
}
|
242
|
+
|
243
|
+
a[\_moz_anonclass="mozTableAddColumnBefore"]:hover {
|
244
|
+
background-image: url("resource:/res/table-add-column-before-hover.gif");
|
245
|
+
}
|
246
|
+
|
247
|
+
a[\_moz_anonclass="mozTableAddColumnBefore"]:active {
|
248
|
+
background-image: url("resource:/res/table-add-column-before-active.gif");
|
249
|
+
}
|
250
|
+
|
251
|
+
a[\_moz_anonclass="mozTableAddColumnAfter"] {
|
252
|
+
position: absolute;
|
253
|
+
z-index: 2147483647; /* max value for this property */
|
254
|
+
text-decoration: none !important;
|
255
|
+
border: none 0px !important;
|
256
|
+
width: 4px;
|
257
|
+
height: 8px;
|
258
|
+
background-image: url("resource:/res/table-add-column-after.gif");
|
259
|
+
background-repeat: no-repeat;
|
260
|
+
background-position: center center;
|
261
|
+
-moz-user-select: none !important;
|
262
|
+
-moz-user-focus: none !important;
|
263
|
+
}
|
264
|
+
|
265
|
+
a[\_moz_anonclass="mozTableAddColumnAfter"]:hover {
|
266
|
+
background-image: url("resource:/res/table-add-column-after-hover.gif");
|
267
|
+
}
|
268
|
+
|
269
|
+
a[\_moz_anonclass="mozTableAddColumnAfter"]:active {
|
270
|
+
background-image: url("resource:/res/table-add-column-after-active.gif");
|
271
|
+
}
|
272
|
+
|
273
|
+
a[\_moz_anonclass="mozTableRemoveColumn"] {
|
274
|
+
position: absolute;
|
275
|
+
z-index: 2147483647; /* max value for this property */
|
276
|
+
text-decoration: none !important;
|
277
|
+
border: none 0px !important;
|
278
|
+
width: 8px;
|
279
|
+
height: 8px;
|
280
|
+
background-image: url("resource:/res/table-remove-column.gif");
|
281
|
+
background-repeat: no-repeat;
|
282
|
+
background-position: center center;
|
283
|
+
-moz-user-select: none !important;
|
284
|
+
-moz-user-focus: none !important;
|
285
|
+
}
|
286
|
+
|
287
|
+
a[\_moz_anonclass="mozTableRemoveColumn"]:hover {
|
288
|
+
background-image: url("resource:/res/table-remove-column-hover.gif");
|
289
|
+
}
|
290
|
+
|
291
|
+
a[\_moz_anonclass="mozTableRemoveColumn"]:active {
|
292
|
+
background-image: url("resource:/res/table-remove-column-active.gif");
|
293
|
+
}
|
294
|
+
|
295
|
+
a[\_moz_anonclass="mozTableAddRowBefore"] {
|
296
|
+
position: absolute;
|
297
|
+
z-index: 2147483647; /* max value for this property */
|
298
|
+
text-decoration: none !important;
|
299
|
+
border: none 0px !important;
|
300
|
+
width: 8px;
|
301
|
+
height: 4px;
|
302
|
+
background-image: url("resource:/res/table-add-row-before.gif");
|
303
|
+
background-repeat: no-repeat;
|
304
|
+
background-position: center center;
|
305
|
+
-moz-user-select: none !important;
|
306
|
+
-moz-user-focus: none !important;
|
307
|
+
}
|
308
|
+
|
309
|
+
a[\_moz_anonclass="mozTableAddRowBefore"]:hover {
|
310
|
+
background-image: url("resource:/res/table-add-row-before-hover.gif");
|
311
|
+
}
|
312
|
+
|
313
|
+
a[\_moz_anonclass="mozTableAddRowBefore"]:active {
|
314
|
+
background-image: url("resource:/res/table-add-row-before-active.gif");
|
315
|
+
}
|
316
|
+
|
317
|
+
a[\_moz_anonclass="mozTableAddRowAfter"] {
|
318
|
+
position: absolute;
|
319
|
+
z-index: 2147483647; /* max value for this property */
|
320
|
+
text-decoration: none !important;
|
321
|
+
border: none 0px !important;
|
322
|
+
width: 8px;
|
323
|
+
height: 4px;
|
324
|
+
background-image: url("resource:/res/table-add-row-after.gif");
|
325
|
+
background-repeat: no-repeat;
|
326
|
+
background-position: center center;
|
327
|
+
-moz-user-select: none !important;
|
328
|
+
-moz-user-focus: none !important;
|
329
|
+
}
|
330
|
+
|
331
|
+
a[\_moz_anonclass="mozTableAddRowAfter"]:hover {
|
332
|
+
background-image: url("resource:/res/table-add-row-after-hover.gif");
|
333
|
+
}
|
334
|
+
|
335
|
+
a[\_moz_anonclass="mozTableAddRowAfter"]:active {
|
336
|
+
background-image: url("resource:/res/table-add-row-after-active.gif");
|
337
|
+
}
|
338
|
+
|
339
|
+
a[\_moz_anonclass="mozTableRemoveRow"] {
|
340
|
+
position: absolute;
|
341
|
+
z-index: 2147483647; /* max value for this property */
|
342
|
+
text-decoration: none !important;
|
343
|
+
border: none 0px !important;
|
344
|
+
width: 8px;
|
345
|
+
height: 8px;
|
346
|
+
background-image: url("resource:/res/table-remove-row.gif");
|
347
|
+
background-repeat: no-repeat;
|
348
|
+
background-position: center center;
|
349
|
+
-moz-user-select: none !important;
|
350
|
+
-moz-user-focus: none !important;
|
351
|
+
}
|
352
|
+
|
353
|
+
a[\_moz_anonclass="mozTableRemoveRow"]:hover {
|
354
|
+
background-image: url("resource:/res/table-remove-row-hover.gif");
|
355
|
+
}
|
356
|
+
|
357
|
+
a[\_moz_anonclass="mozTableRemoveRow"]:active {
|
358
|
+
background-image: url("resource:/res/table-remove-row-active.gif");
|
359
|
+
}
|
Binary file
|
Binary file
|
Binary file
|