Sha256: 9d42a00aa9b88e0f9d53c60dff6a5f4748c8eaecc7ecf22c4cee38d0f024c8f3

Contents?: true

Size: 926 Bytes

Versions: 3

Compression:

Stored size: 926 Bytes

Contents

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

module WXRuby3

  class Director

    class Cursor < Director

      def setup
        spec.gc_as_untracked 'wxCursor'
        # all but the default ctor require a running App
        spec.require_app 'wxCursor::wxCursor(const wxString &, wxBitmapType, int, int)',
                         'wxCursor::wxCursor(wxStockCursor)',
                         'wxCursor::wxCursor(const wxImage &)',
                         'wxCursor::wxCursor(const char *const *)',
                         'wxCursor::wxCursor(const wxCursor &)'
        spec.ignore 'wxCursor::wxCursor(const char[],int,int,int,int,const char[])'
        # ignore stock object (see RubyStockObjects.i)
        spec.ignore %w[wxSTANDARD_CURSOR wxHOURGLASS_CURSOR wxCROSS_CURSOR]
        super
      end
    end # class Cursor

  end # class Director

end # module WXRuby3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 rakelib/lib/director/cursor.rb
wxruby3-0.9.0.pre.rc.2 rakelib/lib/director/cursor.rb
wxruby3-0.9.0.pre.rc.1 rakelib/lib/director/cursor.rb