clutter 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +4 -4
- data/lib/clutter.rb +1 -1
- data/sample/easing-modes.rb +1 -3
- data/test/clutter-test-utils.rb +6 -1
- data/test/run-test.rb +2 -0
- data/test/test-clutter-color.rb +8 -0
- data/vendor/local/bin/libclutter-1.0-0.dll +0 -0
- data/vendor/local/bin/libcogl-15.dll +0 -0
- data/vendor/local/bin/libcogl-pango-15.dll +0 -0
- data/vendor/local/bin/libjson-glib-1.0-0.dll +0 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-actor.h +16 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-backend.h +3 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-canvas.h +5 -4
- data/vendor/local/include/clutter-1.0/clutter/clutter-device-manager.h +3 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-event.h +19 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-flow-layout.h +5 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-input-device.h +2 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-layout-manager.h +1 -2
- data/vendor/local/include/clutter-1.0/clutter/clutter-macros.h +14 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-offscreen-effect.h +6 -0
- data/vendor/local/include/clutter-1.0/clutter/clutter-text.h +9 -6
- data/vendor/local/include/clutter-1.0/clutter/clutter-types.h +5 -1
- data/vendor/local/include/clutter-1.0/clutter/clutter-version.h +14 -4
- data/vendor/local/include/cogl/cogl-pango/cogl-pango.h +38 -4
- data/vendor/local/include/cogl/cogl-path/cogl-path-enum-types.h +20 -0
- data/vendor/local/include/cogl/{cogl/cogl-path.h → cogl-path/cogl-path-types.h} +6 -27
- data/vendor/local/include/cogl/cogl-path/cogl-path.h +58 -0
- data/vendor/local/include/cogl/{cogl/cogl-path-functions.h → cogl-path/cogl1-path-functions.h} +30 -0
- data/vendor/local/include/cogl/{cogl/cogl2-path.h → cogl-path/cogl2-path-functions.h} +87 -70
- data/vendor/local/include/cogl/cogl/cogl-atlas-texture.h +230 -0
- data/vendor/local/include/cogl/cogl/cogl-attribute-buffer.h +4 -3
- data/vendor/local/include/cogl/cogl/cogl-attribute.h +40 -34
- data/vendor/local/include/cogl/cogl/cogl-bitmap.h +14 -12
- data/vendor/local/include/cogl/cogl/cogl-buffer.h +4 -2
- data/vendor/local/include/cogl/cogl/cogl-clip-state.h +0 -13
- data/vendor/local/include/cogl/cogl/cogl-clutter.h +2 -0
- data/vendor/local/include/cogl/cogl/cogl-color.h +48 -7
- data/vendor/local/include/cogl/cogl/cogl-context.h +28 -4
- data/vendor/local/include/cogl/cogl/cogl-defines.h +3 -2
- data/vendor/local/include/cogl/cogl/cogl-depth-state.h +1 -1
- data/vendor/local/include/cogl/cogl/cogl-display.h +26 -3
- data/vendor/local/include/cogl/cogl/cogl-enum-types.h +0 -4
- data/vendor/local/include/cogl/cogl/cogl-error.h +4 -0
- data/vendor/local/include/cogl/cogl/cogl-fence.h +136 -0
- data/vendor/local/include/cogl/cogl/cogl-frame-info.h +2 -2
- data/vendor/local/include/cogl/cogl/cogl-framebuffer.h +32 -84
- data/vendor/local/include/cogl/cogl/cogl-glib-source.h +34 -3
- data/vendor/local/include/cogl/cogl/cogl-index-buffer.h +2 -0
- data/vendor/local/include/cogl/cogl/cogl-macros.h +253 -0
- data/vendor/local/include/cogl/cogl/cogl-material-compat.h +114 -6
- data/vendor/local/include/cogl/cogl/cogl-matrix-stack.h +1 -1
- data/vendor/local/include/cogl/cogl/cogl-matrix.h +8 -4
- data/vendor/local/include/cogl/cogl/cogl-meta-texture.h +8 -8
- data/vendor/local/include/cogl/cogl/cogl-object.h +6 -2
- data/vendor/local/include/cogl/cogl/cogl-offscreen.h +41 -6
- data/vendor/local/include/cogl/cogl/cogl-onscreen-template.h +1 -1
- data/vendor/local/include/cogl/cogl/cogl-onscreen.h +265 -45
- data/vendor/local/include/cogl/cogl/cogl-output.h +1 -1
- data/vendor/local/include/cogl/cogl/cogl-pipeline-layer-state.h +2 -2
- data/vendor/local/include/cogl/cogl/cogl-pipeline-state.h +57 -8
- data/vendor/local/include/cogl/cogl/cogl-pipeline.h +6 -5
- data/vendor/local/include/cogl/cogl/cogl-pixel-buffer.h +6 -2
- data/vendor/local/include/cogl/cogl/cogl-poll.h +44 -24
- data/vendor/local/include/cogl/cogl/cogl-primitive-texture.h +3 -3
- data/vendor/local/include/cogl/cogl/cogl-primitive.h +86 -29
- data/vendor/local/include/cogl/cogl/cogl-quaternion.h +7 -7
- data/vendor/local/include/cogl/cogl/cogl-renderer.h +7 -2
- data/vendor/local/include/cogl/cogl/cogl-shader.h +72 -29
- data/vendor/local/include/cogl/cogl/cogl-snippet.h +76 -11
- data/vendor/local/include/cogl/cogl/cogl-sub-texture.h +2 -2
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-gl.h +5 -5
- data/vendor/local/include/cogl/cogl/cogl-texture-2d-sliced.h +167 -1
- data/vendor/local/include/cogl/cogl/cogl-texture-2d.h +36 -9
- data/vendor/local/include/cogl/cogl/cogl-texture-3d.h +6 -6
- data/vendor/local/include/cogl/cogl/cogl-texture-rectangle.h +13 -12
- data/vendor/local/include/cogl/cogl/cogl-texture.h +18 -21
- data/vendor/local/include/cogl/cogl/cogl-types.h +2 -1
- data/vendor/local/include/cogl/cogl/cogl-version.h +150 -3
- data/vendor/local/include/cogl/cogl/cogl-vertex-buffer.h +44 -9
- data/vendor/local/include/cogl/cogl/cogl-win32-renderer.h +19 -0
- data/vendor/local/include/cogl/cogl/cogl.h +13 -9
- data/vendor/local/include/cogl/cogl/cogl1-context.h +174 -67
- data/vendor/local/include/json-glib-1.0/json-glib/json-version.h +3 -3
- data/vendor/local/lib/girepository-1.0/Clutter-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Cogl-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/CoglPango-1.0.typelib +0 -0
- data/vendor/local/lib/girepository-1.0/Json-1.0.typelib +0 -0
- data/vendor/local/lib/libclutter-1.0.dll.a +0 -0
- data/vendor/local/lib/libclutter-1.0.la +5 -5
- data/vendor/local/lib/libcogl-pango.dll.a +0 -0
- data/vendor/local/lib/libcogl-pango.la +6 -6
- data/vendor/local/lib/libcogl.dll.a +0 -0
- data/vendor/local/lib/libcogl.la +5 -5
- data/vendor/local/lib/libjson-glib-1.0.dll.a +0 -0
- data/vendor/local/lib/libjson-glib-1.0.la +2 -2
- data/vendor/local/lib/pkgconfig/cally-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/clutter-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/clutter-win32-1.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/cogl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-gl-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-1.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/cogl-pango-2.0-experimental.pc +1 -1
- data/vendor/local/lib/pkgconfig/json-glib-1.0.pc +1 -1
- data/vendor/local/share/gir-1.0/Cally-1.0.gir +74 -74
- data/vendor/local/share/gir-1.0/Clutter-1.0.gir +6548 -6241
- data/vendor/local/share/gir-1.0/Cogl-1.0.gir +1906 -1405
- data/vendor/local/share/gir-1.0/CoglPango-1.0.gir +69 -46
- data/vendor/local/share/gir-1.0/Json-1.0.gir +694 -694
- data/vendor/local/share/gtk-doc/html/cally/CallyActor.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyClone.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyGroup.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyRectangle.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyRoot.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyStage.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyText.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyTexture.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/CallyUtil.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/cally-General-API.html +12 -15
- data/vendor/local/share/gtk-doc/html/cally/callyannotationglossary.html +12 -12
- data/vendor/local/share/gtk-doc/html/cally/callybase.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/callyobjecthierarchy.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/callyobjectindex.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/callyobjects.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/clutter-overview.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/index.html +4 -4
- data/vendor/local/share/gtk-doc/html/cally/index.sgml +1 -1
- data/vendor/local/share/gtk-doc/html/cally/ix01.html +23 -26
- data/vendor/local/share/gtk-doc/html/cally/ix02.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/ix03.html +23 -26
- data/vendor/local/share/gtk-doc/html/cally/ix04.html +10 -13
- data/vendor/local/share/gtk-doc/html/cally/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/license.html +9 -9
- data/vendor/local/share/gtk-doc/html/cally/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/cally/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/cally/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAction.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActor.html +196 -87
- data/vendor/local/share/gtk-doc/html/clutter/ClutterActorMeta.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlignConstraint.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAlpha.html +28 -31
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimatable.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterAnimator.html +37 -40
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBackend.html +51 -31
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviour.html +28 -31
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourDepth.html +19 -22
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourEllipse.html +15 -18
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourOpacity.html +19 -22
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourPath.html +21 -24
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourRotate.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBehaviourScale.html +21 -24
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBinLayout.html +51 -54
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBindConstraint.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBlurEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBox.html +22 -25
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBoxLayout.html +31 -34
- data/vendor/local/share/gtk-doc/html/clutter/ClutterBrightnessContrastEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCairoTexture.html +59 -62
- data/vendor/local/share/gtk-doc/html/clutter/ClutterCanvas.html +49 -24
- data/vendor/local/share/gtk-doc/html/clutter/ClutterChildMeta.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClickAction.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterClone.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterColorizeEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterConstraint.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContainer.html +24 -27
- data/vendor/local/share/gtk-doc/html/clutter/ClutterContent.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeformEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDesaturateEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDeviceManager.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDragAction.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterDropAction.html +13 -18
- data/vendor/local/share/gtk-doc/html/clutter/ClutterEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFixedLayout.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterFlowLayout.html +107 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGestureAction.html +33 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGridLayout.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterGroup.html +16 -19
- data/vendor/local/share/gtk-doc/html/clutter/ClutterImage.html +26 -41
- data/vendor/local/share/gtk-doc/html/clutter/ClutterInputDevice.html +44 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterKeyframeTransition.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutManager.html +15 -18
- data/vendor/local/share/gtk-doc/html/clutter/ClutterLayoutMeta.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterListModel.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterMedia.html +39 -42
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModel.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterModelIter.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterOffscreenEffect.html +60 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPageTurnEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPaintNode.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPanAction.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPath.html +16 -19
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPathConstraint.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterPropertyTransition.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRectangle.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterRotateAction.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScore.html +32 -35
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScript.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScriptable.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterScrollActor.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSettings.html +16 -19
- data/vendor/local/share/gtk-doc/html/clutter/ClutterShaderEffect.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSnapConstraint.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterStage.html +731 -686
- data/vendor/local/share/gtk-doc/html/clutter/ClutterState.html +39 -42
- data/vendor/local/share/gtk-doc/html/clutter/ClutterSwipeAction.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTableLayout.html +27 -30
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTapAction.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterText.html +95 -27
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTextBuffer.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTexture.html +47 -50
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTimeline.html +20 -23
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransition.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/ClutterTransitionGroup.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/ClutterZoomAction.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/annotation-glossary.html +59 -59
- data/vendor/local/share/gtk-doc/html/clutter/building-clutter.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch01.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch02.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch03.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch04.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch05.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch06.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch07.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch08.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch09.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch10.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch11.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ch12.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Base-geometric-types.html +33 -24
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterGLXTexturePixmap.html +34 -35
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterWaylandSurface.html +18 -21
- data/vendor/local/share/gtk-doc/html/clutter/clutter-ClutterX11TexturePixmap.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Colors.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-EGL-Specific-Support.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Events.html +96 -37
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Features.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-GDK-Specific-Support.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/clutter-General.html +32 -35
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Implicit-Animations.html +60 -63
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Intel-CE3100-CE4100-Specific-Support.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Key-Bindings.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Paint-Nodes.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Shaders.html +33 -36
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Stage-Manager.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Unit-conversion.html +14 -17
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Utilities.html +23 -26
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Value-intervals.html +20 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Versioning-Macros.html +31 -22
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-compositor-specific-support.html +13 -16
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Wayland-specific-support.html +259 -0
- data/vendor/local/share/gtk-doc/html/clutter/clutter-Win32-Specific-Support.html +12 -15
- data/vendor/local/share/gtk-doc/html/clutter/clutter-X11-Specific-Support.html +19 -22
- data/vendor/local/share/gtk-doc/html/clutter/clutter-overview.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutter.devhelp2 +48 -25
- data/vendor/local/share/gtk-doc/html/clutter/clutteranimation.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterbackends.html +12 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterbase.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterglossary.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjecthierarchy.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjectindex.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/clutterobjects.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/cluttertools.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/deprecated.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/go01.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/index.html +7 -4
- data/vendor/local/share/gtk-doc/html/clutter/index.sgml +55 -26
- data/vendor/local/share/gtk-doc/html/clutter/iterating-paths.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/ix01.html +155 -70
- data/vendor/local/share/gtk-doc/html/clutter/ix02.html +89 -45
- data/vendor/local/share/gtk-doc/html/clutter/ix03.html +39 -34
- data/vendor/local/share/gtk-doc/html/clutter/ix04.html +37 -40
- data/vendor/local/share/gtk-doc/html/clutter/ix05.html +33 -36
- data/vendor/local/share/gtk-doc/html/clutter/ix06.html +40 -43
- data/vendor/local/share/gtk-doc/html/clutter/ix07.html +39 -42
- data/vendor/local/share/gtk-doc/html/clutter/ix08.html +35 -38
- data/vendor/local/share/gtk-doc/html/clutter/ix09.html +33 -36
- data/vendor/local/share/gtk-doc/html/clutter/ix10.html +25 -28
- data/vendor/local/share/gtk-doc/html/clutter/ix11.html +31 -34
- data/vendor/local/share/gtk-doc/html/clutter/ix12.html +56 -47
- data/vendor/local/share/gtk-doc/html/clutter/ix13.html +49 -52
- data/vendor/local/share/gtk-doc/html/clutter/ix14.html +36 -24
- data/vendor/local/share/gtk-doc/html/clutter/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/license.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterAnimation.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterBehaviour.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterEffect.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/migrating-ClutterPath.html +10 -10
- data/vendor/local/share/gtk-doc/html/clutter/migration.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/pt09.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/running-clutter.html +9 -9
- data/vendor/local/share/gtk-doc/html/clutter/style.css +71 -16
- data/vendor/local/share/gtk-doc/html/clutter/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/clutter/using-cairo.html +9 -9
- data/vendor/local/share/gtk-doc/html/json-glib/index.html +1 -1
- data/vendor/local/share/gtk-doc/html/json-glib/json-glib-Versioning-information.html +3 -3
- data/vendor/local/share/locale/an/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/tg/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/json-glib-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/clutter-1.0.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/cogl.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/json-glib-1.0.mo +0 -0
- metadata +39 -51
- data/vendor/local/bin/libcogl-12.dll +0 -0
- data/vendor/local/bin/libcogl-pango-12.dll +0 -0
- data/vendor/local/bin/libglut-0.dll +0 -0
- data/vendor/local/include/GL/freeglut.h +0 -22
- data/vendor/local/include/GL/freeglut_ext.h +0 -239
- data/vendor/local/include/GL/freeglut_std.h +0 -636
- data/vendor/local/include/GL/glut.h +0 -21
- data/vendor/local/include/cogl/cogl/cogl2-compatibility.h +0 -55
- data/vendor/local/lib/libglut.a +0 -0
- data/vendor/local/lib/libglut.dll.a +0 -0
- data/vendor/local/lib/libglut.la +0 -41
- data/vendor/local/share/license/freeglut/AUTHORS +0 -39
- data/vendor/local/share/license/freeglut/COPYING +0 -27
- data/vendor/local/share/locale/tg/LC_MESSAGES/clutter-1.0.mo +0 -0
Binary file
|
Binary file
|
Binary file
|
@@ -1,22 +0,0 @@
|
|
1
|
-
#ifndef __FREEGLUT_H__
|
2
|
-
#define __FREEGLUT_H__
|
3
|
-
|
4
|
-
/*
|
5
|
-
* freeglut.h
|
6
|
-
*
|
7
|
-
* The freeglut library include file
|
8
|
-
*
|
9
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
10
|
-
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
11
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
12
|
-
* PAWEL W. OLSZTA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
13
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
14
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
15
|
-
*/
|
16
|
-
|
17
|
-
#include "freeglut_std.h"
|
18
|
-
#include "freeglut_ext.h"
|
19
|
-
|
20
|
-
/*** END OF FILE ***/
|
21
|
-
|
22
|
-
#endif /* __FREEGLUT_H__ */
|
@@ -1,239 +0,0 @@
|
|
1
|
-
#ifndef __FREEGLUT_EXT_H__
|
2
|
-
#define __FREEGLUT_EXT_H__
|
3
|
-
|
4
|
-
/*
|
5
|
-
* freeglut_ext.h
|
6
|
-
*
|
7
|
-
* The non-GLUT-compatible extensions to the freeglut library include file
|
8
|
-
*
|
9
|
-
* Copyright (c) 1999-2000 Pawel W. Olszta. All Rights Reserved.
|
10
|
-
* Written by Pawel W. Olszta, <olszta@sourceforge.net>
|
11
|
-
* Creation date: Thu Dec 2 1999
|
12
|
-
*
|
13
|
-
* Permission is hereby granted, free of charge, to any person obtaining a
|
14
|
-
* copy of this software and associated documentation files (the "Software"),
|
15
|
-
* to deal in the Software without restriction, including without limitation
|
16
|
-
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
17
|
-
* and/or sell copies of the Software, and to permit persons to whom the
|
18
|
-
* Software is furnished to do so, subject to the following conditions:
|
19
|
-
*
|
20
|
-
* The above copyright notice and this permission notice shall be included
|
21
|
-
* in all copies or substantial portions of the Software.
|
22
|
-
*
|
23
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
24
|
-
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
25
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
26
|
-
* PAWEL W. OLSZTA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
27
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
28
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
29
|
-
*/
|
30
|
-
|
31
|
-
#ifdef __cplusplus
|
32
|
-
extern "C" {
|
33
|
-
#endif
|
34
|
-
|
35
|
-
/*
|
36
|
-
* Additional GLUT Key definitions for the Special key function
|
37
|
-
*/
|
38
|
-
#define GLUT_KEY_NUM_LOCK 0x006D
|
39
|
-
#define GLUT_KEY_BEGIN 0x006E
|
40
|
-
#define GLUT_KEY_DELETE 0x006F
|
41
|
-
#define GLUT_KEY_SHIFT_L 0x0070
|
42
|
-
#define GLUT_KEY_SHIFT_R 0x0071
|
43
|
-
#define GLUT_KEY_CTRL_L 0x0072
|
44
|
-
#define GLUT_KEY_CTRL_R 0x0073
|
45
|
-
#define GLUT_KEY_ALT_L 0x0074
|
46
|
-
#define GLUT_KEY_ALT_R 0x0075
|
47
|
-
|
48
|
-
/*
|
49
|
-
* GLUT API Extension macro definitions -- behaviour when the user clicks on an "x" to close a window
|
50
|
-
*/
|
51
|
-
#define GLUT_ACTION_EXIT 0
|
52
|
-
#define GLUT_ACTION_GLUTMAINLOOP_RETURNS 1
|
53
|
-
#define GLUT_ACTION_CONTINUE_EXECUTION 2
|
54
|
-
|
55
|
-
/*
|
56
|
-
* Create a new rendering context when the user opens a new window?
|
57
|
-
*/
|
58
|
-
#define GLUT_CREATE_NEW_CONTEXT 0
|
59
|
-
#define GLUT_USE_CURRENT_CONTEXT 1
|
60
|
-
|
61
|
-
/*
|
62
|
-
* Direct/Indirect rendering context options (has meaning only in Unix/X11)
|
63
|
-
*/
|
64
|
-
#define GLUT_FORCE_INDIRECT_CONTEXT 0
|
65
|
-
#define GLUT_ALLOW_DIRECT_CONTEXT 1
|
66
|
-
#define GLUT_TRY_DIRECT_CONTEXT 2
|
67
|
-
#define GLUT_FORCE_DIRECT_CONTEXT 3
|
68
|
-
|
69
|
-
/*
|
70
|
-
* GLUT API Extension macro definitions -- the glutGet parameters
|
71
|
-
*/
|
72
|
-
#define GLUT_INIT_STATE 0x007C
|
73
|
-
|
74
|
-
#define GLUT_ACTION_ON_WINDOW_CLOSE 0x01F9
|
75
|
-
|
76
|
-
#define GLUT_WINDOW_BORDER_WIDTH 0x01FA
|
77
|
-
#define GLUT_WINDOW_BORDER_HEIGHT 0x01FB
|
78
|
-
#define GLUT_WINDOW_HEADER_HEIGHT 0x01FB /* Docs say it should always have been GLUT_WINDOW_BORDER_HEIGHT, keep this for backward compatibility */
|
79
|
-
|
80
|
-
#define GLUT_VERSION 0x01FC
|
81
|
-
|
82
|
-
#define GLUT_RENDERING_CONTEXT 0x01FD
|
83
|
-
#define GLUT_DIRECT_RENDERING 0x01FE
|
84
|
-
|
85
|
-
#define GLUT_FULL_SCREEN 0x01FF
|
86
|
-
|
87
|
-
#define GLUT_SKIP_STALE_MOTION_EVENTS 0x0204
|
88
|
-
|
89
|
-
/*
|
90
|
-
* New tokens for glutInitDisplayMode.
|
91
|
-
* Only one GLUT_AUXn bit may be used at a time.
|
92
|
-
* Value 0x0400 is defined in OpenGLUT.
|
93
|
-
*/
|
94
|
-
#define GLUT_AUX 0x1000
|
95
|
-
|
96
|
-
#define GLUT_AUX1 0x1000
|
97
|
-
#define GLUT_AUX2 0x2000
|
98
|
-
#define GLUT_AUX3 0x4000
|
99
|
-
#define GLUT_AUX4 0x8000
|
100
|
-
|
101
|
-
/*
|
102
|
-
* Context-related flags, see freeglut_state.c
|
103
|
-
*/
|
104
|
-
#define GLUT_INIT_MAJOR_VERSION 0x0200
|
105
|
-
#define GLUT_INIT_MINOR_VERSION 0x0201
|
106
|
-
#define GLUT_INIT_FLAGS 0x0202
|
107
|
-
#define GLUT_INIT_PROFILE 0x0203
|
108
|
-
|
109
|
-
/*
|
110
|
-
* Flags for glutInitContextFlags, see freeglut_init.c
|
111
|
-
*/
|
112
|
-
#define GLUT_DEBUG 0x0001
|
113
|
-
#define GLUT_FORWARD_COMPATIBLE 0x0002
|
114
|
-
|
115
|
-
|
116
|
-
/*
|
117
|
-
* Flags for glutInitContextProfile, see freeglut_init.c
|
118
|
-
*/
|
119
|
-
#define GLUT_CORE_PROFILE 0x0001
|
120
|
-
#define GLUT_COMPATIBILITY_PROFILE 0x0002
|
121
|
-
|
122
|
-
/*
|
123
|
-
* Process loop function, see freeglut_main.c
|
124
|
-
*/
|
125
|
-
FGAPI void FGAPIENTRY glutMainLoopEvent( void );
|
126
|
-
FGAPI void FGAPIENTRY glutLeaveMainLoop( void );
|
127
|
-
FGAPI void FGAPIENTRY glutExit ( void );
|
128
|
-
|
129
|
-
/*
|
130
|
-
* Window management functions, see freeglut_window.c
|
131
|
-
*/
|
132
|
-
FGAPI void FGAPIENTRY glutFullScreenToggle( void );
|
133
|
-
FGAPI void FGAPIENTRY glutLeaveFullScreen( void );
|
134
|
-
|
135
|
-
/*
|
136
|
-
* Window-specific callback functions, see freeglut_callbacks.c
|
137
|
-
*/
|
138
|
-
FGAPI void FGAPIENTRY glutMouseWheelFunc( void (* callback)( int, int, int, int ) );
|
139
|
-
FGAPI void FGAPIENTRY glutCloseFunc( void (* callback)( void ) );
|
140
|
-
FGAPI void FGAPIENTRY glutWMCloseFunc( void (* callback)( void ) );
|
141
|
-
/* A. Donev: Also a destruction callback for menus */
|
142
|
-
FGAPI void FGAPIENTRY glutMenuDestroyFunc( void (* callback)( void ) );
|
143
|
-
|
144
|
-
/*
|
145
|
-
* State setting and retrieval functions, see freeglut_state.c
|
146
|
-
*/
|
147
|
-
FGAPI void FGAPIENTRY glutSetOption ( GLenum option_flag, int value );
|
148
|
-
FGAPI int * FGAPIENTRY glutGetModeValues(GLenum mode, int * size);
|
149
|
-
/* A.Donev: User-data manipulation */
|
150
|
-
FGAPI void* FGAPIENTRY glutGetWindowData( void );
|
151
|
-
FGAPI void FGAPIENTRY glutSetWindowData(void* data);
|
152
|
-
FGAPI void* FGAPIENTRY glutGetMenuData( void );
|
153
|
-
FGAPI void FGAPIENTRY glutSetMenuData(void* data);
|
154
|
-
|
155
|
-
/*
|
156
|
-
* Font stuff, see freeglut_font.c
|
157
|
-
*/
|
158
|
-
FGAPI int FGAPIENTRY glutBitmapHeight( void* font );
|
159
|
-
FGAPI GLfloat FGAPIENTRY glutStrokeHeight( void* font );
|
160
|
-
FGAPI void FGAPIENTRY glutBitmapString( void* font, const unsigned char *string );
|
161
|
-
FGAPI void FGAPIENTRY glutStrokeString( void* font, const unsigned char *string );
|
162
|
-
|
163
|
-
/*
|
164
|
-
* Geometry functions, see freeglut_geometry.c
|
165
|
-
*/
|
166
|
-
FGAPI void FGAPIENTRY glutWireRhombicDodecahedron( void );
|
167
|
-
FGAPI void FGAPIENTRY glutSolidRhombicDodecahedron( void );
|
168
|
-
FGAPI void FGAPIENTRY glutWireSierpinskiSponge ( int num_levels, GLdouble offset[3], GLdouble scale );
|
169
|
-
FGAPI void FGAPIENTRY glutSolidSierpinskiSponge ( int num_levels, GLdouble offset[3], GLdouble scale );
|
170
|
-
FGAPI void FGAPIENTRY glutWireCylinder( GLdouble radius, GLdouble height, GLint slices, GLint stacks);
|
171
|
-
FGAPI void FGAPIENTRY glutSolidCylinder( GLdouble radius, GLdouble height, GLint slices, GLint stacks);
|
172
|
-
|
173
|
-
/*
|
174
|
-
* Extension functions, see freeglut_ext.c
|
175
|
-
*/
|
176
|
-
typedef void (*GLUTproc)();
|
177
|
-
FGAPI GLUTproc FGAPIENTRY glutGetProcAddress( const char *procName );
|
178
|
-
|
179
|
-
/*
|
180
|
-
* Multi-touch/multi-pointer extensions
|
181
|
-
*/
|
182
|
-
|
183
|
-
#define GLUT_HAS_MULTI 1
|
184
|
-
|
185
|
-
FGAPI void FGAPIENTRY glutMultiEntryFunc( void (* callback)( int, int ) );
|
186
|
-
FGAPI void FGAPIENTRY glutMultiButtonFunc( void (* callback)( int, int, int, int, int ) );
|
187
|
-
FGAPI void FGAPIENTRY glutMultiMotionFunc( void (* callback)( int, int, int ) );
|
188
|
-
FGAPI void FGAPIENTRY glutMultiPassiveFunc( void (* callback)( int, int, int ) );
|
189
|
-
|
190
|
-
/*
|
191
|
-
* Joystick functions, see freeglut_joystick.c
|
192
|
-
*/
|
193
|
-
/* USE OF THESE FUNCTIONS IS DEPRECATED !!!!! */
|
194
|
-
/* If you have a serious need for these functions in your application, please either
|
195
|
-
* contact the "freeglut" developer community at freeglut-developer@lists.sourceforge.net,
|
196
|
-
* switch to the OpenGLUT library, or else port your joystick functionality over to PLIB's
|
197
|
-
* "js" library.
|
198
|
-
*/
|
199
|
-
int glutJoystickGetNumAxes( int ident );
|
200
|
-
int glutJoystickGetNumButtons( int ident );
|
201
|
-
int glutJoystickNotWorking( int ident );
|
202
|
-
float glutJoystickGetDeadBand( int ident, int axis );
|
203
|
-
void glutJoystickSetDeadBand( int ident, int axis, float db );
|
204
|
-
float glutJoystickGetSaturation( int ident, int axis );
|
205
|
-
void glutJoystickSetSaturation( int ident, int axis, float st );
|
206
|
-
void glutJoystickSetMinRange( int ident, float *axes );
|
207
|
-
void glutJoystickSetMaxRange( int ident, float *axes );
|
208
|
-
void glutJoystickSetCenter( int ident, float *axes );
|
209
|
-
void glutJoystickGetMinRange( int ident, float *axes );
|
210
|
-
void glutJoystickGetMaxRange( int ident, float *axes );
|
211
|
-
void glutJoystickGetCenter( int ident, float *axes );
|
212
|
-
|
213
|
-
/*
|
214
|
-
* Initialization functions, see freeglut_init.c
|
215
|
-
*/
|
216
|
-
FGAPI void FGAPIENTRY glutInitContextVersion( int majorVersion, int minorVersion );
|
217
|
-
FGAPI void FGAPIENTRY glutInitContextFlags( int flags );
|
218
|
-
FGAPI void FGAPIENTRY glutInitContextProfile( int profile );
|
219
|
-
|
220
|
-
/* to get the typedef for va_list */
|
221
|
-
#include <stdarg.h>
|
222
|
-
|
223
|
-
FGAPI void FGAPIENTRY glutInitErrorFunc( void (* vError)( const char *fmt, va_list ap ) );
|
224
|
-
FGAPI void FGAPIENTRY glutInitWarningFunc( void (* vWarning)( const char *fmt, va_list ap ) );
|
225
|
-
|
226
|
-
/*
|
227
|
-
* GLUT API macro definitions -- the display mode definitions
|
228
|
-
*/
|
229
|
-
#define GLUT_CAPTIONLESS 0x0400
|
230
|
-
#define GLUT_BORDERLESS 0x0800
|
231
|
-
#define GLUT_SRGB 0x1000
|
232
|
-
|
233
|
-
#ifdef __cplusplus
|
234
|
-
}
|
235
|
-
#endif
|
236
|
-
|
237
|
-
/*** END OF FILE ***/
|
238
|
-
|
239
|
-
#endif /* __FREEGLUT_EXT_H__ */
|
@@ -1,636 +0,0 @@
|
|
1
|
-
#ifndef __FREEGLUT_STD_H__
|
2
|
-
#define __FREEGLUT_STD_H__
|
3
|
-
|
4
|
-
/*
|
5
|
-
* freeglut_std.h
|
6
|
-
*
|
7
|
-
* The GLUT-compatible part of the freeglut library include file
|
8
|
-
*
|
9
|
-
* Copyright (c) 1999-2000 Pawel W. Olszta. All Rights Reserved.
|
10
|
-
* Written by Pawel W. Olszta, <olszta@sourceforge.net>
|
11
|
-
* Creation date: Thu Dec 2 1999
|
12
|
-
*
|
13
|
-
* Permission is hereby granted, free of charge, to any person obtaining a
|
14
|
-
* copy of this software and associated documentation files (the "Software"),
|
15
|
-
* to deal in the Software without restriction, including without limitation
|
16
|
-
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
17
|
-
* and/or sell copies of the Software, and to permit persons to whom the
|
18
|
-
* Software is furnished to do so, subject to the following conditions:
|
19
|
-
*
|
20
|
-
* The above copyright notice and this permission notice shall be included
|
21
|
-
* in all copies or substantial portions of the Software.
|
22
|
-
*
|
23
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
24
|
-
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
25
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
26
|
-
* PAWEL W. OLSZTA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
27
|
-
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
28
|
-
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
29
|
-
*/
|
30
|
-
|
31
|
-
#ifdef __cplusplus
|
32
|
-
extern "C" {
|
33
|
-
#endif
|
34
|
-
|
35
|
-
/*
|
36
|
-
* Under windows, we have to differentiate between static and dynamic libraries
|
37
|
-
*/
|
38
|
-
#ifdef _WIN32
|
39
|
-
/* #pragma may not be supported by some compilers.
|
40
|
-
* Discussion by FreeGLUT developers suggests that
|
41
|
-
* Visual C++ specific code involving pragmas may
|
42
|
-
* need to move to a separate header. 24th Dec 2003
|
43
|
-
*/
|
44
|
-
|
45
|
-
/* Define FREEGLUT_LIB_PRAGMAS to 1 to include library
|
46
|
-
* pragmas or to 0 to exclude library pragmas.
|
47
|
-
* The default behavior depends on the compiler/platform.
|
48
|
-
*/
|
49
|
-
# ifndef FREEGLUT_LIB_PRAGMAS
|
50
|
-
# if ( defined(_MSC_VER) || defined(__WATCOMC__) ) && !defined(_WIN32_WCE)
|
51
|
-
# define FREEGLUT_LIB_PRAGMAS 1
|
52
|
-
# else
|
53
|
-
# define FREEGLUT_LIB_PRAGMAS 0
|
54
|
-
# endif
|
55
|
-
# endif
|
56
|
-
|
57
|
-
# ifndef WIN32_LEAN_AND_MEAN
|
58
|
-
# define WIN32_LEAN_AND_MEAN 1
|
59
|
-
# endif
|
60
|
-
# ifndef NOMINMAX
|
61
|
-
# define NOMINMAX
|
62
|
-
# endif
|
63
|
-
# include <windows.h>
|
64
|
-
|
65
|
-
/* Windows static library */
|
66
|
-
# ifdef FREEGLUT_STATIC
|
67
|
-
|
68
|
-
# define FGAPI
|
69
|
-
# define FGAPIENTRY
|
70
|
-
|
71
|
-
/* Link with Win32 static freeglut lib */
|
72
|
-
# if FREEGLUT_LIB_PRAGMAS
|
73
|
-
# pragma comment (lib, "freeglut_static.lib")
|
74
|
-
# endif
|
75
|
-
|
76
|
-
/* Windows shared library (DLL) */
|
77
|
-
# else
|
78
|
-
|
79
|
-
# define FGAPIENTRY __stdcall
|
80
|
-
# if defined(FREEGLUT_EXPORTS)
|
81
|
-
# define FGAPI __declspec(dllexport)
|
82
|
-
# else
|
83
|
-
# define FGAPI __declspec(dllimport)
|
84
|
-
|
85
|
-
/* Link with Win32 shared freeglut lib */
|
86
|
-
# if FREEGLUT_LIB_PRAGMAS
|
87
|
-
# pragma comment (lib, "freeglut.lib")
|
88
|
-
# endif
|
89
|
-
|
90
|
-
# endif
|
91
|
-
|
92
|
-
# endif
|
93
|
-
|
94
|
-
/* Drag in other Windows libraries as required by FreeGLUT */
|
95
|
-
# if FREEGLUT_LIB_PRAGMAS
|
96
|
-
# pragma comment (lib, "glu32.lib") /* link OpenGL Utility lib */
|
97
|
-
# pragma comment (lib, "opengl32.lib") /* link Microsoft OpenGL lib */
|
98
|
-
# pragma comment (lib, "gdi32.lib") /* link Windows GDI lib */
|
99
|
-
# pragma comment (lib, "winmm.lib") /* link Windows MultiMedia lib */
|
100
|
-
# pragma comment (lib, "user32.lib") /* link Windows user lib */
|
101
|
-
# endif
|
102
|
-
|
103
|
-
#else
|
104
|
-
|
105
|
-
/* Non-Windows definition of FGAPI and FGAPIENTRY */
|
106
|
-
# define FGAPI
|
107
|
-
# define FGAPIENTRY
|
108
|
-
|
109
|
-
#endif
|
110
|
-
|
111
|
-
/*
|
112
|
-
* The freeglut and GLUT API versions
|
113
|
-
*/
|
114
|
-
#define FREEGLUT 1
|
115
|
-
#define GLUT_API_VERSION 4
|
116
|
-
#define GLUT_XLIB_IMPLEMENTATION 13
|
117
|
-
/* Deprecated:
|
118
|
-
cf. http://sourceforge.net/mailarchive/forum.php?thread_name=CABcAi1hw7cr4xtigckaGXB5X8wddLfMcbA_rZ3NAuwMrX_zmsw%40mail.gmail.com&forum_name=freeglut-developer */
|
119
|
-
#define FREEGLUT_VERSION_2_0 1
|
120
|
-
|
121
|
-
/*
|
122
|
-
* Always include OpenGL and GLU headers
|
123
|
-
*/
|
124
|
-
#if __APPLE__
|
125
|
-
# include <OpenGL/gl.h>
|
126
|
-
# include <OpenGL/glu.h>
|
127
|
-
#else
|
128
|
-
# include <GL/gl.h>
|
129
|
-
# include <GL/glu.h>
|
130
|
-
#endif
|
131
|
-
|
132
|
-
/*
|
133
|
-
* GLUT API macro definitions -- the special key codes:
|
134
|
-
*/
|
135
|
-
#define GLUT_KEY_F1 0x0001
|
136
|
-
#define GLUT_KEY_F2 0x0002
|
137
|
-
#define GLUT_KEY_F3 0x0003
|
138
|
-
#define GLUT_KEY_F4 0x0004
|
139
|
-
#define GLUT_KEY_F5 0x0005
|
140
|
-
#define GLUT_KEY_F6 0x0006
|
141
|
-
#define GLUT_KEY_F7 0x0007
|
142
|
-
#define GLUT_KEY_F8 0x0008
|
143
|
-
#define GLUT_KEY_F9 0x0009
|
144
|
-
#define GLUT_KEY_F10 0x000A
|
145
|
-
#define GLUT_KEY_F11 0x000B
|
146
|
-
#define GLUT_KEY_F12 0x000C
|
147
|
-
#define GLUT_KEY_LEFT 0x0064
|
148
|
-
#define GLUT_KEY_UP 0x0065
|
149
|
-
#define GLUT_KEY_RIGHT 0x0066
|
150
|
-
#define GLUT_KEY_DOWN 0x0067
|
151
|
-
#define GLUT_KEY_PAGE_UP 0x0068
|
152
|
-
#define GLUT_KEY_PAGE_DOWN 0x0069
|
153
|
-
#define GLUT_KEY_HOME 0x006A
|
154
|
-
#define GLUT_KEY_END 0x006B
|
155
|
-
#define GLUT_KEY_INSERT 0x006C
|
156
|
-
|
157
|
-
/*
|
158
|
-
* GLUT API macro definitions -- mouse state definitions
|
159
|
-
*/
|
160
|
-
#define GLUT_LEFT_BUTTON 0x0000
|
161
|
-
#define GLUT_MIDDLE_BUTTON 0x0001
|
162
|
-
#define GLUT_RIGHT_BUTTON 0x0002
|
163
|
-
#define GLUT_DOWN 0x0000
|
164
|
-
#define GLUT_UP 0x0001
|
165
|
-
#define GLUT_LEFT 0x0000
|
166
|
-
#define GLUT_ENTERED 0x0001
|
167
|
-
|
168
|
-
/*
|
169
|
-
* GLUT API macro definitions -- the display mode definitions
|
170
|
-
*/
|
171
|
-
#define GLUT_RGB 0x0000
|
172
|
-
#define GLUT_RGBA 0x0000
|
173
|
-
#define GLUT_INDEX 0x0001
|
174
|
-
#define GLUT_SINGLE 0x0000
|
175
|
-
#define GLUT_DOUBLE 0x0002
|
176
|
-
#define GLUT_ACCUM 0x0004
|
177
|
-
#define GLUT_ALPHA 0x0008
|
178
|
-
#define GLUT_DEPTH 0x0010
|
179
|
-
#define GLUT_STENCIL 0x0020
|
180
|
-
#define GLUT_MULTISAMPLE 0x0080
|
181
|
-
#define GLUT_STEREO 0x0100
|
182
|
-
#define GLUT_LUMINANCE 0x0200
|
183
|
-
|
184
|
-
/*
|
185
|
-
* GLUT API macro definitions -- windows and menu related definitions
|
186
|
-
*/
|
187
|
-
#define GLUT_MENU_NOT_IN_USE 0x0000
|
188
|
-
#define GLUT_MENU_IN_USE 0x0001
|
189
|
-
#define GLUT_NOT_VISIBLE 0x0000
|
190
|
-
#define GLUT_VISIBLE 0x0001
|
191
|
-
#define GLUT_HIDDEN 0x0000
|
192
|
-
#define GLUT_FULLY_RETAINED 0x0001
|
193
|
-
#define GLUT_PARTIALLY_RETAINED 0x0002
|
194
|
-
#define GLUT_FULLY_COVERED 0x0003
|
195
|
-
|
196
|
-
/*
|
197
|
-
* GLUT API macro definitions -- fonts definitions
|
198
|
-
*
|
199
|
-
* Steve Baker suggested to make it binary compatible with GLUT:
|
200
|
-
*/
|
201
|
-
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__WATCOMC__)
|
202
|
-
# define GLUT_STROKE_ROMAN ((void *)0x0000)
|
203
|
-
# define GLUT_STROKE_MONO_ROMAN ((void *)0x0001)
|
204
|
-
# define GLUT_BITMAP_9_BY_15 ((void *)0x0002)
|
205
|
-
# define GLUT_BITMAP_8_BY_13 ((void *)0x0003)
|
206
|
-
# define GLUT_BITMAP_TIMES_ROMAN_10 ((void *)0x0004)
|
207
|
-
# define GLUT_BITMAP_TIMES_ROMAN_24 ((void *)0x0005)
|
208
|
-
# define GLUT_BITMAP_HELVETICA_10 ((void *)0x0006)
|
209
|
-
# define GLUT_BITMAP_HELVETICA_12 ((void *)0x0007)
|
210
|
-
# define GLUT_BITMAP_HELVETICA_18 ((void *)0x0008)
|
211
|
-
#else
|
212
|
-
/*
|
213
|
-
* I don't really know if it's a good idea... But here it goes:
|
214
|
-
*/
|
215
|
-
extern void* glutStrokeRoman;
|
216
|
-
extern void* glutStrokeMonoRoman;
|
217
|
-
extern void* glutBitmap9By15;
|
218
|
-
extern void* glutBitmap8By13;
|
219
|
-
extern void* glutBitmapTimesRoman10;
|
220
|
-
extern void* glutBitmapTimesRoman24;
|
221
|
-
extern void* glutBitmapHelvetica10;
|
222
|
-
extern void* glutBitmapHelvetica12;
|
223
|
-
extern void* glutBitmapHelvetica18;
|
224
|
-
|
225
|
-
/*
|
226
|
-
* Those pointers will be used by following definitions:
|
227
|
-
*/
|
228
|
-
# define GLUT_STROKE_ROMAN ((void *) &glutStrokeRoman)
|
229
|
-
# define GLUT_STROKE_MONO_ROMAN ((void *) &glutStrokeMonoRoman)
|
230
|
-
# define GLUT_BITMAP_9_BY_15 ((void *) &glutBitmap9By15)
|
231
|
-
# define GLUT_BITMAP_8_BY_13 ((void *) &glutBitmap8By13)
|
232
|
-
# define GLUT_BITMAP_TIMES_ROMAN_10 ((void *) &glutBitmapTimesRoman10)
|
233
|
-
# define GLUT_BITMAP_TIMES_ROMAN_24 ((void *) &glutBitmapTimesRoman24)
|
234
|
-
# define GLUT_BITMAP_HELVETICA_10 ((void *) &glutBitmapHelvetica10)
|
235
|
-
# define GLUT_BITMAP_HELVETICA_12 ((void *) &glutBitmapHelvetica12)
|
236
|
-
# define GLUT_BITMAP_HELVETICA_18 ((void *) &glutBitmapHelvetica18)
|
237
|
-
#endif
|
238
|
-
|
239
|
-
/*
|
240
|
-
* GLUT API macro definitions -- the glutGet parameters
|
241
|
-
*/
|
242
|
-
#define GLUT_WINDOW_X 0x0064
|
243
|
-
#define GLUT_WINDOW_Y 0x0065
|
244
|
-
#define GLUT_WINDOW_WIDTH 0x0066
|
245
|
-
#define GLUT_WINDOW_HEIGHT 0x0067
|
246
|
-
#define GLUT_WINDOW_BUFFER_SIZE 0x0068
|
247
|
-
#define GLUT_WINDOW_STENCIL_SIZE 0x0069
|
248
|
-
#define GLUT_WINDOW_DEPTH_SIZE 0x006A
|
249
|
-
#define GLUT_WINDOW_RED_SIZE 0x006B
|
250
|
-
#define GLUT_WINDOW_GREEN_SIZE 0x006C
|
251
|
-
#define GLUT_WINDOW_BLUE_SIZE 0x006D
|
252
|
-
#define GLUT_WINDOW_ALPHA_SIZE 0x006E
|
253
|
-
#define GLUT_WINDOW_ACCUM_RED_SIZE 0x006F
|
254
|
-
#define GLUT_WINDOW_ACCUM_GREEN_SIZE 0x0070
|
255
|
-
#define GLUT_WINDOW_ACCUM_BLUE_SIZE 0x0071
|
256
|
-
#define GLUT_WINDOW_ACCUM_ALPHA_SIZE 0x0072
|
257
|
-
#define GLUT_WINDOW_DOUBLEBUFFER 0x0073
|
258
|
-
#define GLUT_WINDOW_RGBA 0x0074
|
259
|
-
#define GLUT_WINDOW_PARENT 0x0075
|
260
|
-
#define GLUT_WINDOW_NUM_CHILDREN 0x0076
|
261
|
-
#define GLUT_WINDOW_COLORMAP_SIZE 0x0077
|
262
|
-
#define GLUT_WINDOW_NUM_SAMPLES 0x0078
|
263
|
-
#define GLUT_WINDOW_STEREO 0x0079
|
264
|
-
#define GLUT_WINDOW_CURSOR 0x007A
|
265
|
-
|
266
|
-
#define GLUT_SCREEN_WIDTH 0x00C8
|
267
|
-
#define GLUT_SCREEN_HEIGHT 0x00C9
|
268
|
-
#define GLUT_SCREEN_WIDTH_MM 0x00CA
|
269
|
-
#define GLUT_SCREEN_HEIGHT_MM 0x00CB
|
270
|
-
#define GLUT_MENU_NUM_ITEMS 0x012C
|
271
|
-
#define GLUT_DISPLAY_MODE_POSSIBLE 0x0190
|
272
|
-
#define GLUT_INIT_WINDOW_X 0x01F4
|
273
|
-
#define GLUT_INIT_WINDOW_Y 0x01F5
|
274
|
-
#define GLUT_INIT_WINDOW_WIDTH 0x01F6
|
275
|
-
#define GLUT_INIT_WINDOW_HEIGHT 0x01F7
|
276
|
-
#define GLUT_INIT_DISPLAY_MODE 0x01F8
|
277
|
-
#define GLUT_ELAPSED_TIME 0x02BC
|
278
|
-
#define GLUT_WINDOW_FORMAT_ID 0x007B
|
279
|
-
|
280
|
-
/*
|
281
|
-
* GLUT API macro definitions -- the glutDeviceGet parameters
|
282
|
-
*/
|
283
|
-
#define GLUT_HAS_KEYBOARD 0x0258
|
284
|
-
#define GLUT_HAS_MOUSE 0x0259
|
285
|
-
#define GLUT_HAS_SPACEBALL 0x025A
|
286
|
-
#define GLUT_HAS_DIAL_AND_BUTTON_BOX 0x025B
|
287
|
-
#define GLUT_HAS_TABLET 0x025C
|
288
|
-
#define GLUT_NUM_MOUSE_BUTTONS 0x025D
|
289
|
-
#define GLUT_NUM_SPACEBALL_BUTTONS 0x025E
|
290
|
-
#define GLUT_NUM_BUTTON_BOX_BUTTONS 0x025F
|
291
|
-
#define GLUT_NUM_DIALS 0x0260
|
292
|
-
#define GLUT_NUM_TABLET_BUTTONS 0x0261
|
293
|
-
#define GLUT_DEVICE_IGNORE_KEY_REPEAT 0x0262
|
294
|
-
#define GLUT_DEVICE_KEY_REPEAT 0x0263
|
295
|
-
#define GLUT_HAS_JOYSTICK 0x0264
|
296
|
-
#define GLUT_OWNS_JOYSTICK 0x0265
|
297
|
-
#define GLUT_JOYSTICK_BUTTONS 0x0266
|
298
|
-
#define GLUT_JOYSTICK_AXES 0x0267
|
299
|
-
#define GLUT_JOYSTICK_POLL_RATE 0x0268
|
300
|
-
|
301
|
-
/*
|
302
|
-
* GLUT API macro definitions -- the glutLayerGet parameters
|
303
|
-
*/
|
304
|
-
#define GLUT_OVERLAY_POSSIBLE 0x0320
|
305
|
-
#define GLUT_LAYER_IN_USE 0x0321
|
306
|
-
#define GLUT_HAS_OVERLAY 0x0322
|
307
|
-
#define GLUT_TRANSPARENT_INDEX 0x0323
|
308
|
-
#define GLUT_NORMAL_DAMAGED 0x0324
|
309
|
-
#define GLUT_OVERLAY_DAMAGED 0x0325
|
310
|
-
|
311
|
-
/*
|
312
|
-
* GLUT API macro definitions -- the glutVideoResizeGet parameters
|
313
|
-
*/
|
314
|
-
#define GLUT_VIDEO_RESIZE_POSSIBLE 0x0384
|
315
|
-
#define GLUT_VIDEO_RESIZE_IN_USE 0x0385
|
316
|
-
#define GLUT_VIDEO_RESIZE_X_DELTA 0x0386
|
317
|
-
#define GLUT_VIDEO_RESIZE_Y_DELTA 0x0387
|
318
|
-
#define GLUT_VIDEO_RESIZE_WIDTH_DELTA 0x0388
|
319
|
-
#define GLUT_VIDEO_RESIZE_HEIGHT_DELTA 0x0389
|
320
|
-
#define GLUT_VIDEO_RESIZE_X 0x038A
|
321
|
-
#define GLUT_VIDEO_RESIZE_Y 0x038B
|
322
|
-
#define GLUT_VIDEO_RESIZE_WIDTH 0x038C
|
323
|
-
#define GLUT_VIDEO_RESIZE_HEIGHT 0x038D
|
324
|
-
|
325
|
-
/*
|
326
|
-
* GLUT API macro definitions -- the glutUseLayer parameters
|
327
|
-
*/
|
328
|
-
#define GLUT_NORMAL 0x0000
|
329
|
-
#define GLUT_OVERLAY 0x0001
|
330
|
-
|
331
|
-
/*
|
332
|
-
* GLUT API macro definitions -- the glutGetModifiers parameters
|
333
|
-
*/
|
334
|
-
#define GLUT_ACTIVE_SHIFT 0x0001
|
335
|
-
#define GLUT_ACTIVE_CTRL 0x0002
|
336
|
-
#define GLUT_ACTIVE_ALT 0x0004
|
337
|
-
|
338
|
-
/*
|
339
|
-
* GLUT API macro definitions -- the glutSetCursor parameters
|
340
|
-
*/
|
341
|
-
#define GLUT_CURSOR_RIGHT_ARROW 0x0000
|
342
|
-
#define GLUT_CURSOR_LEFT_ARROW 0x0001
|
343
|
-
#define GLUT_CURSOR_INFO 0x0002
|
344
|
-
#define GLUT_CURSOR_DESTROY 0x0003
|
345
|
-
#define GLUT_CURSOR_HELP 0x0004
|
346
|
-
#define GLUT_CURSOR_CYCLE 0x0005
|
347
|
-
#define GLUT_CURSOR_SPRAY 0x0006
|
348
|
-
#define GLUT_CURSOR_WAIT 0x0007
|
349
|
-
#define GLUT_CURSOR_TEXT 0x0008
|
350
|
-
#define GLUT_CURSOR_CROSSHAIR 0x0009
|
351
|
-
#define GLUT_CURSOR_UP_DOWN 0x000A
|
352
|
-
#define GLUT_CURSOR_LEFT_RIGHT 0x000B
|
353
|
-
#define GLUT_CURSOR_TOP_SIDE 0x000C
|
354
|
-
#define GLUT_CURSOR_BOTTOM_SIDE 0x000D
|
355
|
-
#define GLUT_CURSOR_LEFT_SIDE 0x000E
|
356
|
-
#define GLUT_CURSOR_RIGHT_SIDE 0x000F
|
357
|
-
#define GLUT_CURSOR_TOP_LEFT_CORNER 0x0010
|
358
|
-
#define GLUT_CURSOR_TOP_RIGHT_CORNER 0x0011
|
359
|
-
#define GLUT_CURSOR_BOTTOM_RIGHT_CORNER 0x0012
|
360
|
-
#define GLUT_CURSOR_BOTTOM_LEFT_CORNER 0x0013
|
361
|
-
#define GLUT_CURSOR_INHERIT 0x0064
|
362
|
-
#define GLUT_CURSOR_NONE 0x0065
|
363
|
-
#define GLUT_CURSOR_FULL_CROSSHAIR 0x0066
|
364
|
-
|
365
|
-
/*
|
366
|
-
* GLUT API macro definitions -- RGB color component specification definitions
|
367
|
-
*/
|
368
|
-
#define GLUT_RED 0x0000
|
369
|
-
#define GLUT_GREEN 0x0001
|
370
|
-
#define GLUT_BLUE 0x0002
|
371
|
-
|
372
|
-
/*
|
373
|
-
* GLUT API macro definitions -- additional keyboard and joystick definitions
|
374
|
-
*/
|
375
|
-
#define GLUT_KEY_REPEAT_OFF 0x0000
|
376
|
-
#define GLUT_KEY_REPEAT_ON 0x0001
|
377
|
-
#define GLUT_KEY_REPEAT_DEFAULT 0x0002
|
378
|
-
|
379
|
-
#define GLUT_JOYSTICK_BUTTON_A 0x0001
|
380
|
-
#define GLUT_JOYSTICK_BUTTON_B 0x0002
|
381
|
-
#define GLUT_JOYSTICK_BUTTON_C 0x0004
|
382
|
-
#define GLUT_JOYSTICK_BUTTON_D 0x0008
|
383
|
-
|
384
|
-
/*
|
385
|
-
* GLUT API macro definitions -- game mode definitions
|
386
|
-
*/
|
387
|
-
#define GLUT_GAME_MODE_ACTIVE 0x0000
|
388
|
-
#define GLUT_GAME_MODE_POSSIBLE 0x0001
|
389
|
-
#define GLUT_GAME_MODE_WIDTH 0x0002
|
390
|
-
#define GLUT_GAME_MODE_HEIGHT 0x0003
|
391
|
-
#define GLUT_GAME_MODE_PIXEL_DEPTH 0x0004
|
392
|
-
#define GLUT_GAME_MODE_REFRESH_RATE 0x0005
|
393
|
-
#define GLUT_GAME_MODE_DISPLAY_CHANGED 0x0006
|
394
|
-
|
395
|
-
/*
|
396
|
-
* Initialization functions, see fglut_init.c
|
397
|
-
*/
|
398
|
-
FGAPI void FGAPIENTRY glutInit( int* pargc, char** argv );
|
399
|
-
FGAPI void FGAPIENTRY glutInitWindowPosition( int x, int y );
|
400
|
-
FGAPI void FGAPIENTRY glutInitWindowSize( int width, int height );
|
401
|
-
FGAPI void FGAPIENTRY glutInitDisplayMode( unsigned int displayMode );
|
402
|
-
FGAPI void FGAPIENTRY glutInitDisplayString( const char* displayMode );
|
403
|
-
|
404
|
-
/*
|
405
|
-
* Process loop function, see freeglut_main.c
|
406
|
-
*/
|
407
|
-
FGAPI void FGAPIENTRY glutMainLoop( void );
|
408
|
-
|
409
|
-
/*
|
410
|
-
* Window management functions, see freeglut_window.c
|
411
|
-
*/
|
412
|
-
FGAPI int FGAPIENTRY glutCreateWindow( const char* title );
|
413
|
-
FGAPI int FGAPIENTRY glutCreateSubWindow( int window, int x, int y, int width, int height );
|
414
|
-
FGAPI void FGAPIENTRY glutDestroyWindow( int window );
|
415
|
-
FGAPI void FGAPIENTRY glutSetWindow( int window );
|
416
|
-
FGAPI int FGAPIENTRY glutGetWindow( void );
|
417
|
-
FGAPI void FGAPIENTRY glutSetWindowTitle( const char* title );
|
418
|
-
FGAPI void FGAPIENTRY glutSetIconTitle( const char* title );
|
419
|
-
FGAPI void FGAPIENTRY glutReshapeWindow( int width, int height );
|
420
|
-
FGAPI void FGAPIENTRY glutPositionWindow( int x, int y );
|
421
|
-
FGAPI void FGAPIENTRY glutShowWindow( void );
|
422
|
-
FGAPI void FGAPIENTRY glutHideWindow( void );
|
423
|
-
FGAPI void FGAPIENTRY glutIconifyWindow( void );
|
424
|
-
FGAPI void FGAPIENTRY glutPushWindow( void );
|
425
|
-
FGAPI void FGAPIENTRY glutPopWindow( void );
|
426
|
-
FGAPI void FGAPIENTRY glutFullScreen( void );
|
427
|
-
|
428
|
-
/*
|
429
|
-
* Display-connected functions, see freeglut_display.c
|
430
|
-
*/
|
431
|
-
FGAPI void FGAPIENTRY glutPostWindowRedisplay( int window );
|
432
|
-
FGAPI void FGAPIENTRY glutPostRedisplay( void );
|
433
|
-
FGAPI void FGAPIENTRY glutSwapBuffers( void );
|
434
|
-
|
435
|
-
/*
|
436
|
-
* Mouse cursor functions, see freeglut_cursor.c
|
437
|
-
*/
|
438
|
-
FGAPI void FGAPIENTRY glutWarpPointer( int x, int y );
|
439
|
-
FGAPI void FGAPIENTRY glutSetCursor( int cursor );
|
440
|
-
|
441
|
-
/*
|
442
|
-
* Overlay stuff, see freeglut_overlay.c
|
443
|
-
*/
|
444
|
-
FGAPI void FGAPIENTRY glutEstablishOverlay( void );
|
445
|
-
FGAPI void FGAPIENTRY glutRemoveOverlay( void );
|
446
|
-
FGAPI void FGAPIENTRY glutUseLayer( GLenum layer );
|
447
|
-
FGAPI void FGAPIENTRY glutPostOverlayRedisplay( void );
|
448
|
-
FGAPI void FGAPIENTRY glutPostWindowOverlayRedisplay( int window );
|
449
|
-
FGAPI void FGAPIENTRY glutShowOverlay( void );
|
450
|
-
FGAPI void FGAPIENTRY glutHideOverlay( void );
|
451
|
-
|
452
|
-
/*
|
453
|
-
* Menu stuff, see freeglut_menu.c
|
454
|
-
*/
|
455
|
-
FGAPI int FGAPIENTRY glutCreateMenu( void (* callback)( int menu ) );
|
456
|
-
FGAPI void FGAPIENTRY glutDestroyMenu( int menu );
|
457
|
-
FGAPI int FGAPIENTRY glutGetMenu( void );
|
458
|
-
FGAPI void FGAPIENTRY glutSetMenu( int menu );
|
459
|
-
FGAPI void FGAPIENTRY glutAddMenuEntry( const char* label, int value );
|
460
|
-
FGAPI void FGAPIENTRY glutAddSubMenu( const char* label, int subMenu );
|
461
|
-
FGAPI void FGAPIENTRY glutChangeToMenuEntry( int item, const char* label, int value );
|
462
|
-
FGAPI void FGAPIENTRY glutChangeToSubMenu( int item, const char* label, int value );
|
463
|
-
FGAPI void FGAPIENTRY glutRemoveMenuItem( int item );
|
464
|
-
FGAPI void FGAPIENTRY glutAttachMenu( int button );
|
465
|
-
FGAPI void FGAPIENTRY glutDetachMenu( int button );
|
466
|
-
|
467
|
-
/*
|
468
|
-
* Global callback functions, see freeglut_callbacks.c
|
469
|
-
*/
|
470
|
-
FGAPI void FGAPIENTRY glutTimerFunc( unsigned int time, void (* callback)( int ), int value );
|
471
|
-
FGAPI void FGAPIENTRY glutIdleFunc( void (* callback)( void ) );
|
472
|
-
|
473
|
-
/*
|
474
|
-
* Window-specific callback functions, see freeglut_callbacks.c
|
475
|
-
*/
|
476
|
-
FGAPI void FGAPIENTRY glutKeyboardFunc( void (* callback)( unsigned char, int, int ) );
|
477
|
-
FGAPI void FGAPIENTRY glutSpecialFunc( void (* callback)( int, int, int ) );
|
478
|
-
FGAPI void FGAPIENTRY glutReshapeFunc( void (* callback)( int, int ) );
|
479
|
-
FGAPI void FGAPIENTRY glutVisibilityFunc( void (* callback)( int ) );
|
480
|
-
FGAPI void FGAPIENTRY glutDisplayFunc( void (* callback)( void ) );
|
481
|
-
FGAPI void FGAPIENTRY glutMouseFunc( void (* callback)( int, int, int, int ) );
|
482
|
-
FGAPI void FGAPIENTRY glutMotionFunc( void (* callback)( int, int ) );
|
483
|
-
FGAPI void FGAPIENTRY glutPassiveMotionFunc( void (* callback)( int, int ) );
|
484
|
-
FGAPI void FGAPIENTRY glutEntryFunc( void (* callback)( int ) );
|
485
|
-
|
486
|
-
FGAPI void FGAPIENTRY glutKeyboardUpFunc( void (* callback)( unsigned char, int, int ) );
|
487
|
-
FGAPI void FGAPIENTRY glutSpecialUpFunc( void (* callback)( int, int, int ) );
|
488
|
-
FGAPI void FGAPIENTRY glutJoystickFunc( void (* callback)( unsigned int, int, int, int ), int pollInterval );
|
489
|
-
FGAPI void FGAPIENTRY glutMenuStateFunc( void (* callback)( int ) );
|
490
|
-
FGAPI void FGAPIENTRY glutMenuStatusFunc( void (* callback)( int, int, int ) );
|
491
|
-
FGAPI void FGAPIENTRY glutOverlayDisplayFunc( void (* callback)( void ) );
|
492
|
-
FGAPI void FGAPIENTRY glutWindowStatusFunc( void (* callback)( int ) );
|
493
|
-
|
494
|
-
FGAPI void FGAPIENTRY glutSpaceballMotionFunc( void (* callback)( int, int, int ) );
|
495
|
-
FGAPI void FGAPIENTRY glutSpaceballRotateFunc( void (* callback)( int, int, int ) );
|
496
|
-
FGAPI void FGAPIENTRY glutSpaceballButtonFunc( void (* callback)( int, int ) );
|
497
|
-
FGAPI void FGAPIENTRY glutButtonBoxFunc( void (* callback)( int, int ) );
|
498
|
-
FGAPI void FGAPIENTRY glutDialsFunc( void (* callback)( int, int ) );
|
499
|
-
FGAPI void FGAPIENTRY glutTabletMotionFunc( void (* callback)( int, int ) );
|
500
|
-
FGAPI void FGAPIENTRY glutTabletButtonFunc( void (* callback)( int, int, int, int ) );
|
501
|
-
|
502
|
-
/*
|
503
|
-
* State setting and retrieval functions, see freeglut_state.c
|
504
|
-
*/
|
505
|
-
FGAPI int FGAPIENTRY glutGet( GLenum query );
|
506
|
-
FGAPI int FGAPIENTRY glutDeviceGet( GLenum query );
|
507
|
-
FGAPI int FGAPIENTRY glutGetModifiers( void );
|
508
|
-
FGAPI int FGAPIENTRY glutLayerGet( GLenum query );
|
509
|
-
|
510
|
-
/*
|
511
|
-
* Font stuff, see freeglut_font.c
|
512
|
-
*/
|
513
|
-
FGAPI void FGAPIENTRY glutBitmapCharacter( void* font, int character );
|
514
|
-
FGAPI int FGAPIENTRY glutBitmapWidth( void* font, int character );
|
515
|
-
FGAPI void FGAPIENTRY glutStrokeCharacter( void* font, int character );
|
516
|
-
FGAPI int FGAPIENTRY glutStrokeWidth( void* font, int character );
|
517
|
-
FGAPI int FGAPIENTRY glutBitmapLength( void* font, const unsigned char* string );
|
518
|
-
FGAPI int FGAPIENTRY glutStrokeLength( void* font, const unsigned char* string );
|
519
|
-
|
520
|
-
/*
|
521
|
-
* Geometry functions, see freeglut_geometry.c
|
522
|
-
*/
|
523
|
-
FGAPI void FGAPIENTRY glutWireCube( GLdouble size );
|
524
|
-
FGAPI void FGAPIENTRY glutSolidCube( GLdouble size );
|
525
|
-
FGAPI void FGAPIENTRY glutWireSphere( GLdouble radius, GLint slices, GLint stacks );
|
526
|
-
FGAPI void FGAPIENTRY glutSolidSphere( GLdouble radius, GLint slices, GLint stacks );
|
527
|
-
FGAPI void FGAPIENTRY glutWireCone( GLdouble base, GLdouble height, GLint slices, GLint stacks );
|
528
|
-
FGAPI void FGAPIENTRY glutSolidCone( GLdouble base, GLdouble height, GLint slices, GLint stacks );
|
529
|
-
|
530
|
-
FGAPI void FGAPIENTRY glutWireTorus( GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings );
|
531
|
-
FGAPI void FGAPIENTRY glutSolidTorus( GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings );
|
532
|
-
FGAPI void FGAPIENTRY glutWireDodecahedron( void );
|
533
|
-
FGAPI void FGAPIENTRY glutSolidDodecahedron( void );
|
534
|
-
FGAPI void FGAPIENTRY glutWireOctahedron( void );
|
535
|
-
FGAPI void FGAPIENTRY glutSolidOctahedron( void );
|
536
|
-
FGAPI void FGAPIENTRY glutWireTetrahedron( void );
|
537
|
-
FGAPI void FGAPIENTRY glutSolidTetrahedron( void );
|
538
|
-
FGAPI void FGAPIENTRY glutWireIcosahedron( void );
|
539
|
-
FGAPI void FGAPIENTRY glutSolidIcosahedron( void );
|
540
|
-
|
541
|
-
/*
|
542
|
-
* Teapot rendering functions, found in freeglut_teapot.c
|
543
|
-
* NB: front facing polygons have clockwise winding, not counter clockwise
|
544
|
-
*/
|
545
|
-
FGAPI void FGAPIENTRY glutWireTeapot( GLdouble size );
|
546
|
-
FGAPI void FGAPIENTRY glutSolidTeapot( GLdouble size );
|
547
|
-
|
548
|
-
/*
|
549
|
-
* Game mode functions, see freeglut_gamemode.c
|
550
|
-
*/
|
551
|
-
FGAPI void FGAPIENTRY glutGameModeString( const char* string );
|
552
|
-
FGAPI int FGAPIENTRY glutEnterGameMode( void );
|
553
|
-
FGAPI void FGAPIENTRY glutLeaveGameMode( void );
|
554
|
-
FGAPI int FGAPIENTRY glutGameModeGet( GLenum query );
|
555
|
-
|
556
|
-
/*
|
557
|
-
* Video resize functions, see freeglut_videoresize.c
|
558
|
-
*/
|
559
|
-
FGAPI int FGAPIENTRY glutVideoResizeGet( GLenum query );
|
560
|
-
FGAPI void FGAPIENTRY glutSetupVideoResizing( void );
|
561
|
-
FGAPI void FGAPIENTRY glutStopVideoResizing( void );
|
562
|
-
FGAPI void FGAPIENTRY glutVideoResize( int x, int y, int width, int height );
|
563
|
-
FGAPI void FGAPIENTRY glutVideoPan( int x, int y, int width, int height );
|
564
|
-
|
565
|
-
/*
|
566
|
-
* Colormap functions, see freeglut_misc.c
|
567
|
-
*/
|
568
|
-
FGAPI void FGAPIENTRY glutSetColor( int color, GLfloat red, GLfloat green, GLfloat blue );
|
569
|
-
FGAPI GLfloat FGAPIENTRY glutGetColor( int color, int component );
|
570
|
-
FGAPI void FGAPIENTRY glutCopyColormap( int window );
|
571
|
-
|
572
|
-
/*
|
573
|
-
* Misc keyboard and joystick functions, see freeglut_misc.c
|
574
|
-
*/
|
575
|
-
FGAPI void FGAPIENTRY glutIgnoreKeyRepeat( int ignore );
|
576
|
-
FGAPI void FGAPIENTRY glutSetKeyRepeat( int repeatMode );
|
577
|
-
FGAPI void FGAPIENTRY glutForceJoystickFunc( void );
|
578
|
-
|
579
|
-
/*
|
580
|
-
* Misc functions, see freeglut_misc.c
|
581
|
-
*/
|
582
|
-
FGAPI int FGAPIENTRY glutExtensionSupported( const char* extension );
|
583
|
-
FGAPI void FGAPIENTRY glutReportErrors( void );
|
584
|
-
|
585
|
-
/* Comment from glut.h of classic GLUT:
|
586
|
-
|
587
|
-
Win32 has an annoying issue where there are multiple C run-time
|
588
|
-
libraries (CRTs). If the executable is linked with a different CRT
|
589
|
-
from the GLUT DLL, the GLUT DLL will not share the same CRT static
|
590
|
-
data seen by the executable. In particular, atexit callbacks registered
|
591
|
-
in the executable will not be called if GLUT calls its (different)
|
592
|
-
exit routine). GLUT is typically built with the
|
593
|
-
"/MD" option (the CRT with multithreading DLL support), but the Visual
|
594
|
-
C++ linker default is "/ML" (the single threaded CRT).
|
595
|
-
|
596
|
-
One workaround to this issue is requiring users to always link with
|
597
|
-
the same CRT as GLUT is compiled with. That requires users supply a
|
598
|
-
non-standard option. GLUT 3.7 has its own built-in workaround where
|
599
|
-
the executable's "exit" function pointer is covertly passed to GLUT.
|
600
|
-
GLUT then calls the executable's exit function pointer to ensure that
|
601
|
-
any "atexit" calls registered by the application are called if GLUT
|
602
|
-
needs to exit.
|
603
|
-
|
604
|
-
Note that the __glut*WithExit routines should NEVER be called directly.
|
605
|
-
To avoid the atexit workaround, #define GLUT_DISABLE_ATEXIT_HACK. */
|
606
|
-
|
607
|
-
/* to get the prototype for exit() */
|
608
|
-
#include <stdlib.h>
|
609
|
-
|
610
|
-
#if defined(_WIN32) && !defined(GLUT_DISABLE_ATEXIT_HACK) && !defined(__WATCOMC__)
|
611
|
-
FGAPI void FGAPIENTRY __glutInitWithExit(int *argcp, char **argv, void (__cdecl *exitfunc)(int));
|
612
|
-
FGAPI int FGAPIENTRY __glutCreateWindowWithExit(const char *title, void (__cdecl *exitfunc)(int));
|
613
|
-
FGAPI int FGAPIENTRY __glutCreateMenuWithExit(void (* func)(int), void (__cdecl *exitfunc)(int));
|
614
|
-
#ifndef FREEGLUT_BUILDING_LIB
|
615
|
-
#if defined(__GNUC__)
|
616
|
-
#define FGUNUSED __attribute__((unused))
|
617
|
-
#else
|
618
|
-
#define FGUNUSED
|
619
|
-
#endif
|
620
|
-
static void FGAPIENTRY FGUNUSED glutInit_ATEXIT_HACK(int *argcp, char **argv) { __glutInitWithExit(argcp, argv, exit); }
|
621
|
-
#define glutInit glutInit_ATEXIT_HACK
|
622
|
-
static int FGAPIENTRY FGUNUSED glutCreateWindow_ATEXIT_HACK(const char *title) { return __glutCreateWindowWithExit(title, exit); }
|
623
|
-
#define glutCreateWindow glutCreateWindow_ATEXIT_HACK
|
624
|
-
static int FGAPIENTRY FGUNUSED glutCreateMenu_ATEXIT_HACK(void (* func)(int)) { return __glutCreateMenuWithExit(func, exit); }
|
625
|
-
#define glutCreateMenu glutCreateMenu_ATEXIT_HACK
|
626
|
-
#endif
|
627
|
-
#endif
|
628
|
-
|
629
|
-
#ifdef __cplusplus
|
630
|
-
}
|
631
|
-
#endif
|
632
|
-
|
633
|
-
/*** END OF FILE ***/
|
634
|
-
|
635
|
-
#endif /* __FREEGLUT_STD_H__ */
|
636
|
-
|