Class: UI::Bag::SearchBar

Inherits:
SpriteStack show all
Defined in:
docs/01450_Systems_00103_Bag.rb

Overview

Class that shows a search bar

Constant Summary collapse

COORDINATES =

Coordinate of the search bar

3, 220

Constants inherited from SpriteStack

SpriteStack::NO_INITIAL_IMAGE

Instance Attribute Summary collapse

Attributes inherited from SpriteStack

#animated, #data, #moving, #stack, #viewport, #x, #y

Instance Method Summary collapse

Methods inherited from SpriteStack

#[], #add_background, #add_line, #add_text, #anime, #anime_delta_set, #dispose, #each, #execute_anime, #move, #move_to, #opacity, #opacity=, #push, #push_sprite, #set_origin, #set_position, #simple_mouse_in?, #size, #stop_animation, #translate_mouse_coords, #update_animation, #update_position, #visible, #visible=, #with_cache, #with_font, #with_surface, #z, #z=

Constructor Details

#initialize(viewport) ⇒ SearchBar

Create a new SearchBar

Parameters:



475
476
# File 'docs/01450_Systems_00103_Bag.rb', line 475

def initialize(viewport)
end

Instance Attribute Details

#search_inputUI::UserInput (readonly)

Returns the search input object.

Returns:



472
473
474
# File 'docs/01450_Systems_00103_Bag.rb', line 472

def search_input
  @search_input
end

Instance Method Details

#update

Update the search bar



478
479
# File 'docs/01450_Systems_00103_Bag.rb', line 478

def update
end