Sha256: a1b47cc99adb100afd81e9f2a0e1f3d25717f79d7a21ad52aa84b796e9df8480

Contents?: true

Size: 909 Bytes

Versions: 1

Compression:

Stored size: 909 Bytes

Contents

###
# wxRuby3 wxWidgets interface director
# Copyright (c) M.J.N. Corino, The Netherlands
###

module WXRuby3

  class Director

    class Brush < Director

      def setup
        super
        spec.disable_proxies
        spec.gc_as_untracked 'wxBrush'
        # all but the default ctor require a running App
        spec.require_app 'wxBrush::wxBrush(const wxColour &colour, wxBrushStyle style)',
                         'wxBrush::wxBrush(const wxBitmap &stippleBitmap)',
                         'wxBrush::wxBrush(const wxBrush &brush)'
        # these are defined and loaded in RubyStockObjects.i
        spec.ignore %w[
          wxBLUE_BRUSH wxGREEN_BRUSH wxYELLOW_BRUSH wxWHITE_BRUSH wxBLACK_BRUSH wxGREY_BRUSH
          wxMEDIUM_GREY_BRUSH wxLIGHT_GREY_BRUSH wxTRANSPARENT_BRUSH wxCYAN_BRUSH wxRED_BRUSH wxTheBrushList]
      end
    end # class Brush

  end # class Director

end # module WXRuby3

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.1 rakelib/lib/director/brush.rb