Sha256: 63cdd0776bf73d621a3874218584759afdfa3064ecd368f1fd555117decf6f4d

Contents?: true

Size: 934 Bytes

Versions: 94

Compression:

Stored size: 934 Bytes

Contents

module Fox
  #
  # The bitmap frame is a simple frame widget displaying an monochrome bitmap
  # image; the bitmap is not owned by the bitmap frame so it must be explicitly
  # deleted elsewhere.
  #
  class FXBitmapFrame < FXFrame

    # The current image being displayed {FXBitmap}
    attr_accessor :bitmap

    # The color used for the "on" bits in the bitmap {FXColor}
    attr_accessor :onColor

    # The color used for the "off" bits in the bitmap {FXColor}
    attr_accessor :offColor

    #
    # The current justification mode, some combination of the flags
    # +JUSTIFY_LEFT+, +JUSTIFY_RIGHT+, +JUSTIFY_TOP+ and +JUSTIFY_BOTTOM+
    # [Integer]
    #
    attr_accessor :justify

    #
    # Return an initialized FXBitmapFrame instance.
    #
    def initialize(p, bmp, opts=FRAME_SUNKEN|FRAME_THICK, x=0, y=0, width=0, height=0, padLeft=0, padRight=0, padTop=0, padBottom=0) # :yields: theBitmapFrame
    end
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
fxruby-1.6.48 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.48-x64-mingw32 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.48-x64-mingw-ucrt rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.48-x86-mingw32 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.47 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.47-x64-mingw-ucrt rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.47-x64-mingw32 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.47-x86-mingw32 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.46 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.46-x64-mingw32 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.46-x64-mingw-ucrt rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.46-x86-mingw32 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.45 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.45-x64-mingw32 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.45-x64-mingw-ucrt rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.45-x86-mingw32 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.44 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.44-x64-mingw32 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.44-x86-mingw32 rdoc-sources/FXBitmapFrame.rb
fxruby-1.6.43 rdoc-sources/FXBitmapFrame.rb