Sha256: 8a4304197fd4aebbafa130738a9f2c351301b2a0a579f495105b28698c642154

Contents?: true

Size: 1.37 KB

Versions: 37

Compression:

Stored size: 1.37 KB

Contents

module Fox
  #
  # FXGLCanvas is an area drawn by another object.
  #
  class FXGLCanvas < FXCanvas
    #
    # Construct an OpenGL-capable canvas, with its own private display list.
    #
    def initialize(parent, vis, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLCanvas
    end
  
    #
    # Construct an OpenGL-capable canvas that shares its display
    # list with another GL canvas.  This canvas becomes a member
    # of a display list share group.  All members of the display
    # list share group have to have the same visual.
    #
    def initialize(parent, vis, sharegroup, target=nil, selector=0, opts=0, x=0, y=0, width=0, height=0) # :yields: theGLCanvas
    end

    # Return +true+ if sharing display lists.
    def shared? ; end

    #
    # Return an integer handle to the underlying OpenGL context.
    # On Unix/Linux systems, this is the GLX rendering context
    # returned by a call to glXCreateContext(). On Microsoft Windows
    # systems, it is the value returns by wglCreateContext().
    #
    def context; end

    # Make OpenGL context current prior to performing OpenGL commands
    def makeCurrent(); end
  
    # Make OpenGL context non-current
    def makeNonCurrent(); end

    # Return +true+ if this canvas' context is the current context.
    def current? ; end

    # Swap front and back buffer
    def swapBuffers(); end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
fxruby-1.6.22.pre2-x86-mingw32 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.22.pre2 rdoc-sources/FXGLCanvas.rb
fxrubi-1.6.22.pre1-x86-mingw32 rdoc-sources/FXGLCanvas.rb
fxrubi-1.6.22.pre1 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.20-x86-mingw32 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.20-x86-linux rdoc-sources/FXGLCanvas.rb
fxruby-1.6.20 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.20-universal-darwin-10 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.19-x86-mingw32 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.14-mswin32 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.13-mswin32 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.11 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.10 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.12 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.13 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.14-universal-darwin-9 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.15-universal-darwin-9 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.14 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.15-x86-mswin32-60 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.15 rdoc-sources/FXGLCanvas.rb