mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2026-09-20 22:03:56 +00:00
40 lines
456 B
Ruby
40 lines
456 B
Ruby
module CyberarmEngine
|
|
class Page
|
|
include CyberarmEngine::DSL
|
|
include CyberarmEngine::Common
|
|
|
|
attr_reader :parent
|
|
|
|
def initialize(parent:)
|
|
@parent = parent
|
|
|
|
@options = {}
|
|
end
|
|
|
|
def options=(options)
|
|
@options = options
|
|
end
|
|
|
|
def setup
|
|
end
|
|
|
|
def focus
|
|
end
|
|
|
|
def blur
|
|
end
|
|
|
|
def draw
|
|
end
|
|
|
|
def update
|
|
end
|
|
|
|
def button_down(id)
|
|
end
|
|
|
|
def button_up(id)
|
|
end
|
|
end
|
|
end
|