25 lines
379 B
Ruby
25 lines
379 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Widgets
|
||
|
class Chat
|
||
|
class History
|
||
|
attr_reader :x, :y, :width, :height
|
||
|
attr_accessor :focused
|
||
|
|
||
|
def initialize(x, y, width, height)
|
||
|
@x = x
|
||
|
@y = y
|
||
|
|
||
|
@width = width
|
||
|
@height = height
|
||
|
|
||
|
@focused = false
|
||
|
end
|
||
|
|
||
|
def render; end
|
||
|
|
||
|
def trigger(event); end
|
||
|
end
|
||
|
end
|
||
|
end
|