Sha256: 889ed65c72f4a1e0dc38551d3d05815430e809b9a7592169e5d7510e85ececc6

Contents?: true

Size: 1.34 KB

Versions: 18

Compression:

Stored size: 1.34 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, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=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, tgt=nil, sel=0, opts=0, x=0, y=0, w=0, h=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

18 entries across 18 versions & 1 rubygems

Version Path
fxruby-1.2.3 rdoc-sources/FXGLCanvas.rb
fxruby-1.2.2 rdoc-sources/FXGLCanvas.rb
fxruby-1.2.4 rdoc-sources/FXGLCanvas.rb
fxruby-1.2.5 rdoc-sources/FXGLCanvas.rb
fxruby-1.4.0 rdoc-sources/FXGLCanvas.rb
fxruby-1.2.6 rdoc-sources/FXGLCanvas.rb
fxruby-1.4.1 rdoc-sources/FXGLCanvas.rb
fxruby-1.4.2 rdoc-sources/FXGLCanvas.rb
fxruby-1.4.3 rdoc-sources/FXGLCanvas.rb
fxruby-1.4.4 rdoc-sources/FXGLCanvas.rb
fxruby-1.4.5 rdoc-sources/FXGLCanvas.rb
fxruby-1.4.6 rdoc-sources/FXGLCanvas.rb
fxruby-1.4.7 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.0 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.1 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.2 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.3 rdoc-sources/FXGLCanvas.rb
fxruby-1.6.4 rdoc-sources/FXGLCanvas.rb