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,303 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<script type="text/javascript" src="Navi.js"></script>
|
4
|
+
<script type="text/javascript" src="mootools.v1.1.js"></script>
|
5
|
+
<script type="text/javascript" src="moo.dropdownmenu.js"></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
window.addEvent('domready', function(){
|
8
|
+
|
9
|
+
function sendUrlChange()
|
10
|
+
{
|
11
|
+
var myData = new NaviData("urlChange");
|
12
|
+
myData.add("url", document.getElementById('urlTxtBox').value);
|
13
|
+
myData.send();
|
14
|
+
}
|
15
|
+
|
16
|
+
function sendOpacity(opacityNum)
|
17
|
+
{
|
18
|
+
// If opacityNum is a Number...
|
19
|
+
if(!isNaN(opacityNum))
|
20
|
+
{
|
21
|
+
// Converts percent to actual decimal
|
22
|
+
var opacityFloat = opacityNum / 100;
|
23
|
+
|
24
|
+
// Create and send the NaviData
|
25
|
+
var myData = new NaviData("opacityChange");
|
26
|
+
myData.add("opacity", opacityFloat);
|
27
|
+
myData.send();
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
var updateType = "auto";
|
32
|
+
|
33
|
+
function sendUpdateType(updateTypeChange)
|
34
|
+
{
|
35
|
+
updateType = updateTypeChange;
|
36
|
+
|
37
|
+
if(updateType == "auto")
|
38
|
+
$('updateStatus').setHTML("Now Auto-Updating");
|
39
|
+
else
|
40
|
+
$('updateStatus').setHTML("Now Force-Updating");
|
41
|
+
|
42
|
+
// Create and send the NaviData
|
43
|
+
var myData = new NaviData("updateTypeChange");
|
44
|
+
myData.add("updateType", updateType);
|
45
|
+
myData.send();
|
46
|
+
}
|
47
|
+
|
48
|
+
function sendMaxUPS(maxUPS)
|
49
|
+
{
|
50
|
+
// Create and send the NaviData
|
51
|
+
var myData = new NaviData("maxUPSChange");
|
52
|
+
myData.add("maxUPS", maxUPS);
|
53
|
+
myData.send();
|
54
|
+
}
|
55
|
+
|
56
|
+
function sendAmbient(ambientBrightness)
|
57
|
+
{
|
58
|
+
// Create and send the NaviData
|
59
|
+
var myData = new NaviData("ambientChange");
|
60
|
+
myData.add("ambient", ambientBrightness);
|
61
|
+
myData.send();
|
62
|
+
}
|
63
|
+
|
64
|
+
function sendToggle()
|
65
|
+
{
|
66
|
+
var myData = new NaviData("toggleWorldGeometry");
|
67
|
+
myData.send();
|
68
|
+
}
|
69
|
+
|
70
|
+
var myOpacitySlider = new Slider($('opacitySlider'), $('opacityKnob'), {
|
71
|
+
steps: 100,
|
72
|
+
onComplete: function(step){
|
73
|
+
$('opacityPct').setHTML(step + "% Opaque");
|
74
|
+
sendOpacity(step);
|
75
|
+
}
|
76
|
+
}).set(100);
|
77
|
+
|
78
|
+
var myUpdateSlider = new Slider($('updateSlider'), $('updateKnob'), {
|
79
|
+
steps: 40,
|
80
|
+
onComplete: function(step){
|
81
|
+
if(updateType == "auto")
|
82
|
+
{
|
83
|
+
if(step == 0)
|
84
|
+
$('updateStatus').setHTML("Auto-Updating, no update limits");
|
85
|
+
else
|
86
|
+
$('updateStatus').setHTML("Auto-Updating, limited to " + step + " UPS");
|
87
|
+
|
88
|
+
sendMaxUPS(step);
|
89
|
+
}
|
90
|
+
else
|
91
|
+
{
|
92
|
+
if(step == 0)
|
93
|
+
$('updateStatus').setHTML("Force-Updating at every chance");
|
94
|
+
else
|
95
|
+
$('updateStatus').setHTML("Force-Updating @ " + step + " UPS");
|
96
|
+
|
97
|
+
sendMaxUPS(step);
|
98
|
+
}
|
99
|
+
}
|
100
|
+
}).set(0);
|
101
|
+
|
102
|
+
var myAmbientSlider = new Slider($('ambientSlider'), $('ambientKnob'), {
|
103
|
+
steps: 100,
|
104
|
+
onChange: function(step){
|
105
|
+
var white = new Color([255,255,255]);
|
106
|
+
white = white.setBrightness(step);
|
107
|
+
$('ambientStatus').setStyle('background-color', white);
|
108
|
+
sendAmbient(step);
|
109
|
+
}
|
110
|
+
}).set(100);
|
111
|
+
|
112
|
+
var isUrlButtonDown = false;
|
113
|
+
var isOpacityKnobDown = false;
|
114
|
+
var isUpdateTypeButtonDown = false;
|
115
|
+
var isToggleButtonDown = false;
|
116
|
+
|
117
|
+
$('urlButton').addEvent('mousedown', function() { $('urlButton').setOpacity(.4); isUrlButtonDown = true; });
|
118
|
+
$('urlButton').addEvent('click', sendUrlChange);
|
119
|
+
|
120
|
+
$('opacityKnob').addEvent('mousedown', function() { $('opacityKnob').setOpacity(.5); isOpacityKnobDown = true; });
|
121
|
+
|
122
|
+
$('toggleButton').addEvent('mousedown', function() { $('toggleButton').setOpacity(.4); isToggleButtonDown = true; });
|
123
|
+
$('toggleButton').addEvent('click', sendToggle);
|
124
|
+
|
125
|
+
$('theBody').addEvent('mouseup', function()
|
126
|
+
{
|
127
|
+
if(isUrlButtonDown)
|
128
|
+
{
|
129
|
+
$('urlButton').setOpacity(1);
|
130
|
+
isUrlButtonDown = false;
|
131
|
+
}
|
132
|
+
|
133
|
+
if(isOpacityKnobDown)
|
134
|
+
{
|
135
|
+
$('opacityKnob').setOpacity(1);
|
136
|
+
isOpacityKnobDown = false;
|
137
|
+
}
|
138
|
+
|
139
|
+
if(isToggleButtonDown)
|
140
|
+
{
|
141
|
+
$('toggleButton').setOpacity(1);
|
142
|
+
isToggleButtonDown = false;
|
143
|
+
}
|
144
|
+
});
|
145
|
+
|
146
|
+
new DropdownMenu($('selectUpdateTypeList'));
|
147
|
+
|
148
|
+
$('autoUpdateType').addEvent('click', function() { sendUpdateType("auto"); $('curUpdateType').setHTML("Auto-Update"); });
|
149
|
+
$('forceUpdateType').addEvent('click', function() { sendUpdateType("force"); $('curUpdateType').setHTML("Force-Update"); });
|
150
|
+
|
151
|
+
});
|
152
|
+
</script>
|
153
|
+
<style type="text/css">
|
154
|
+
body
|
155
|
+
{
|
156
|
+
overflow-y: auto;
|
157
|
+
overflow-x: hidden;
|
158
|
+
margin-left: 0;
|
159
|
+
width: 256px;
|
160
|
+
background-color: #444444;
|
161
|
+
background: url('pageBg.jpg') repeat;
|
162
|
+
background-attachment: fixed;
|
163
|
+
font-family: Verdana, Arial;
|
164
|
+
font-size: 11px;
|
165
|
+
color: #EEEEEE;
|
166
|
+
text-align: center;
|
167
|
+
line-height: 150%;
|
168
|
+
}
|
169
|
+
.txtbox, .select
|
170
|
+
{
|
171
|
+
font-family: Verdana, Arial;
|
172
|
+
font-size: 10px;
|
173
|
+
color: #111111;
|
174
|
+
background-color: #333333;
|
175
|
+
color: #F4F4F4;
|
176
|
+
border: 1px solid #777777;
|
177
|
+
margin-top: 4px;
|
178
|
+
}
|
179
|
+
.button
|
180
|
+
{
|
181
|
+
font-family: Verdana, Arial;
|
182
|
+
font-size: 10px;
|
183
|
+
color: #111111;
|
184
|
+
background: url('buttonBg.jpg') repeat-x;
|
185
|
+
height: 20px;
|
186
|
+
color: #EFEFEF;
|
187
|
+
border: 1px solid #121212;
|
188
|
+
margin-left: 4px;
|
189
|
+
|
190
|
+
}
|
191
|
+
.slider
|
192
|
+
{
|
193
|
+
background: url('sliderBg.jpg') repeat-x;
|
194
|
+
height: 15px;
|
195
|
+
width: 200px;
|
196
|
+
margin-left: auto;
|
197
|
+
margin-right: auto;
|
198
|
+
border: 1px solid #121212;
|
199
|
+
}
|
200
|
+
.knob
|
201
|
+
{
|
202
|
+
height: 15px;
|
203
|
+
width: 10px;
|
204
|
+
background-image: url('knobBg.jpg');
|
205
|
+
cursor: pointer;
|
206
|
+
}
|
207
|
+
#ambientStatus
|
208
|
+
{
|
209
|
+
width: 40px;
|
210
|
+
height: 40px;
|
211
|
+
margin-top: 3px;
|
212
|
+
margin-left: auto;
|
213
|
+
margin-right: auto;
|
214
|
+
border: 1px solid #121212;
|
215
|
+
}
|
216
|
+
#selectUpdateTypeList, #selectUpdateTypeList ul
|
217
|
+
{
|
218
|
+
padding: 0;
|
219
|
+
width: 100px;
|
220
|
+
height: 15px;
|
221
|
+
line-height: 15px;
|
222
|
+
margin-left: auto;
|
223
|
+
margin-right: auto;
|
224
|
+
list-style: none;
|
225
|
+
text-align: center;
|
226
|
+
}
|
227
|
+
#selectUpdateTypeList li
|
228
|
+
{
|
229
|
+
border-top: 1px #777777 solid;
|
230
|
+
border-left: 1px #777777 solid;
|
231
|
+
border-right: 1px #777777 solid;
|
232
|
+
margin: -1;
|
233
|
+
}
|
234
|
+
#autoUpdateType, #forceUpdateType
|
235
|
+
{
|
236
|
+
display: block;
|
237
|
+
border-bottom: 1px solid #777777;
|
238
|
+
color: #EFEFEF;
|
239
|
+
text-decoration: none;
|
240
|
+
background-color: #333333;
|
241
|
+
}
|
242
|
+
#autoUpdateType:hover, #forceUpdateType:hover
|
243
|
+
{
|
244
|
+
background-color: #454545;
|
245
|
+
cursor: pointer;
|
246
|
+
}
|
247
|
+
#curUpdateType
|
248
|
+
{
|
249
|
+
display: block;
|
250
|
+
border-bottom: 2px solid #777777;
|
251
|
+
color: #BBBBBB;
|
252
|
+
background-color: #292929;
|
253
|
+
text-decoration: none;
|
254
|
+
}
|
255
|
+
#curUpdateType:hover
|
256
|
+
{
|
257
|
+
cursor: default;
|
258
|
+
border-bottom: 3px solid #777777;
|
259
|
+
background-color: #292929;
|
260
|
+
}
|
261
|
+
|
262
|
+
</style>
|
263
|
+
</head>
|
264
|
+
<body id="theBody">
|
265
|
+
<br/>
|
266
|
+
Navigate to a URL: <br/>
|
267
|
+
<input id="urlTxtBox" class="txtbox" type="text" name="urlTxtbox"/><input type="button" class="button" id="urlButton" value="Go!"/>
|
268
|
+
<br/><br/><br/>
|
269
|
+
Slide me to change the opacity:<br/>
|
270
|
+
<div id="opacitySlider" class="slider"><div id="opacityKnob" class="knob"></div></div>
|
271
|
+
<p id="opacityPct">XX</p>
|
272
|
+
|
273
|
+
<br/>
|
274
|
+
Change the Update Type:<br/>
|
275
|
+
<ul id="selectUpdateTypeList">
|
276
|
+
<li><a id="curUpdateType">Auto-Update</a>
|
277
|
+
<ul>
|
278
|
+
<li><a id="autoUpdateType">Auto-Update</a></li>
|
279
|
+
<li><a id="forceUpdateType">Force-Update</a></li></ul>
|
280
|
+
</li>
|
281
|
+
</ul>
|
282
|
+
<br/><br/>
|
283
|
+
Change max Updates Per Sec:<br/>
|
284
|
+
<div id="updateSlider" class="slider"><div id="updateKnob" class="knob"></div></div>
|
285
|
+
<p id="updateStatus">XX</p><br/>
|
286
|
+
Change brightness of ambient light:<br/>
|
287
|
+
<div id="ambientSlider" class="slider"><div id="ambientKnob" class="knob"></div></div>
|
288
|
+
<div id="ambientStatus"> </div><br/><br/>
|
289
|
+
Toggle World Geometry<br/>
|
290
|
+
<input type="button" class="button" id="toggleButton" value="Toggle!"/>
|
291
|
+
<br/><br/>
|
292
|
+
<script type="text/javascript">
|
293
|
+
document.write("The time is: " + getTime() + "<br>Name of this Navi: " + getNaviName() + "<br/><br/>");
|
294
|
+
if(pageNaviData.doesExist("msg"))
|
295
|
+
{
|
296
|
+
document.write("<i>This page was sent NaviData!</i><br/>");
|
297
|
+
document.write("<b>NaviDataName:</b> " + pageNaviData.getName() + "<br/>");
|
298
|
+
document.write("<b>Message:</b> " + pageNaviData.get("msg"));
|
299
|
+
|
300
|
+
}
|
301
|
+
</script>
|
302
|
+
</body>
|
303
|
+
</html>
|
Binary file
|
@@ -0,0 +1,87 @@
|
|
1
|
+
Element.extend(
|
2
|
+
{
|
3
|
+
hide: function()
|
4
|
+
{
|
5
|
+
this.setStyle('display', 'none');
|
6
|
+
},
|
7
|
+
|
8
|
+
show: function()
|
9
|
+
{
|
10
|
+
|
11
|
+
this.setStyle('display', '');
|
12
|
+
}
|
13
|
+
});
|
14
|
+
|
15
|
+
/*
|
16
|
+
Script: moo.dropdownmenu.js
|
17
|
+
Fx.DropdownMenu.
|
18
|
+
|
19
|
+
Dependencies:
|
20
|
+
<Moo.js>, <Function.js>, <Array.js>, <String.js>, <Element.js>
|
21
|
+
|
22
|
+
Author:
|
23
|
+
Andr� Fiedler, <http://visualdrugs.net>
|
24
|
+
|
25
|
+
License:
|
26
|
+
MIT-style license.
|
27
|
+
|
28
|
+
Class: Fx.PopMenu
|
29
|
+
The DropdownMenu function creates a group of elements that have the behaviour of an dropdown menu.
|
30
|
+
|
31
|
+
Arguments:
|
32
|
+
element - a list-element the effect will be applied to.
|
33
|
+
|
34
|
+
Example:
|
35
|
+
(start code)
|
36
|
+
<ul id="dropdownMenu">
|
37
|
+
<li>
|
38
|
+
<a href="#">Menu 1</a>
|
39
|
+
<ul>
|
40
|
+
<li><a href="#">SubMenu 1</a></li>
|
41
|
+
<li><a href="#">SubMenu 2</a></li>
|
42
|
+
<li><a href="#">SubMenu 3</a></li>
|
43
|
+
</ul>
|
44
|
+
</li>
|
45
|
+
<li><a href="#">Menu 2</a></li>
|
46
|
+
<li><a href="#">Menu 3</a></li>
|
47
|
+
</ul>
|
48
|
+
|
49
|
+
<script type="text/javascript">
|
50
|
+
|
51
|
+
Window.onDomReady(function() {new DropdownMenu($('dropdownMenu'))});
|
52
|
+
|
53
|
+
</script>
|
54
|
+
(end)
|
55
|
+
*/
|
56
|
+
|
57
|
+
var DropdownMenu = new Class({
|
58
|
+
initialize: function(element)
|
59
|
+
{
|
60
|
+
$A($(element).childNodes).each(function(el)
|
61
|
+
{
|
62
|
+
if(el.nodeName.toLowerCase() == 'li')
|
63
|
+
{
|
64
|
+
$A($(el).childNodes).each(function(el2)
|
65
|
+
{
|
66
|
+
if(el2.nodeName.toLowerCase() == 'ul')
|
67
|
+
{
|
68
|
+
$(el2).hide();
|
69
|
+
|
70
|
+
el.addEvent('mouseover', function()
|
71
|
+
{
|
72
|
+
el2.show();
|
73
|
+
return false;
|
74
|
+
});
|
75
|
+
|
76
|
+
el.addEvent('mouseout', function()
|
77
|
+
{
|
78
|
+
el2.hide();
|
79
|
+
});
|
80
|
+
new DropdownMenu(el2);
|
81
|
+
}
|
82
|
+
});
|
83
|
+
}
|
84
|
+
});
|
85
|
+
return this;
|
86
|
+
}
|
87
|
+
});
|