Sha256: 2a65459f814a0448d726a784ef9b16a8885f8bef1d43dcf4ad1cfebb184811f1

Contents?: true

Size: 516 Bytes

Versions: 18

Compression:

Stored size: 516 Bytes

Contents

module Gosuplus
  module GUI
    module Form
      class Base
        def initialize(position, image, input_handler, key_id, font, text = nil)
          @icon = Icon.new(image, position)
          @input_handler, @key_id, @font = input_handler, key_id, font

          @visible_text = text ? text : String
          @actual_text = String
        end

        def draw

        end

        def update(x, y)

        end

        def activated?(x, y)

        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
Gosuplus-1.0.261 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.26 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.25 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.24 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.23 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.22 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.21 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.20 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.19 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.18 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.17 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.16 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.15 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.14 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.13 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.12 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.11 lib/Gosuplus/gui/form/base.rb
Gosuplus-1.0.1 lib/Gosuplus/gui/form/base.rb