Module: UI::Message::TemporaryOverwrites

Included in:
Layout
Defined in:
docs/4_Systems_004_Message.rb

Overview

Module implementing the overwrite functionality

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#line_number_overwriteInteger?

Returns Overwrite the number of line for the current message.

Returns:

  • (Integer, nil)

    Overwrite the number of line for the current message



437
438
439
# File 'docs/4_Systems_004_Message.rb', line 437

def line_number_overwrite
  @line_number_overwrite
end

#nameskin_overwriteString?

Returns Change the windowskin of the name.

Returns:

  • (String, nil)

    Change the windowskin of the name



435
436
437
# File 'docs/4_Systems_004_Message.rb', line 435

def nameskin_overwrite
  @nameskin_overwrite
end

#position_overwriteSymbol, ...

Note:

Values can be : :top, :middle, :bottom, :left, :right, [x, y]

Returns Overwrite the message position for the current message.

Returns:

  • (Symbol, Array, nil)

    Overwrite the message position for the current message



431
432
433
# File 'docs/4_Systems_004_Message.rb', line 431

def position_overwrite
  @position_overwrite
end

#width_overwriteInteger?

Returns Overwrite the width of the window.

Returns:

  • (Integer, nil)

    Overwrite the width of the window



439
440
441
# File 'docs/4_Systems_004_Message.rb', line 439

def width_overwrite
  @width_overwrite
end

#windowskin_overwriteString?

Returns Change the windowskin of the window.

Returns:

  • (String, nil)

    Change the windowskin of the window



433
434
435
# File 'docs/4_Systems_004_Message.rb', line 433

def windowskin_overwrite
  @windowskin_overwrite
end

Instance Method Details

#initialize

Initialize the overwrites



441
442
# File 'docs/4_Systems_004_Message.rb', line 441

def initialize(...)
end

#reset_overwrites

Reset all the overwrite when the message has been shown



444
445
# File 'docs/4_Systems_004_Message.rb', line 444

def reset_overwrites
end