summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2024-12-30 22:02:33 -0300
committerFrederico Linhares <fred@linhares.blue>2024-12-30 22:02:33 -0300
commit4a1c10205ff009afa89ce22ae84862620bb9babc (patch)
treefe2bdd69bf75b653b207d16fd8f68f780859e8b8
parentd5a2b6bca9f9cc57dcca19962d5ba9b83d26da3e (diff)
fixt Add missing methods to Menu::Stack
-rw-r--r--lib/menu.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/menu.rb b/lib/menu.rb
index 4ed44e9..801b5a7 100644
--- a/lib/menu.rb
+++ b/lib/menu.rb
@@ -30,6 +30,9 @@ module CandyGear
def draw() = @stack.each {_1.draw();}
def size() = @stack.size;
+
+ def pred_opt() = self.current_menu.pred_opt();
+ def next_opt() = self.current_menu.next_opt();
end
class BorderlessView