From 81e8b8dc14ef8c31e7f89ac101d56ee8e118cbeb Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Sun, 26 Sep 2021 20:05:41 +0900 Subject: [PATCH] Add some comments on The Red Turtle image --- examples/basic_table_image.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/basic_table_image.rb b/examples/basic_table_image.rb index f3633f4..0beec20 100644 --- a/examples/basic_table_image.rb +++ b/examples/basic_table_image.rb @@ -2,6 +2,8 @@ # NOTE: # This example displays images that can be freely downloaded from the Studio Ghibli website. +# https://www.ghibli.jp/works/red-turtle/ +# "Please feel free to use them within the scope of common sense." Toshio Suzuki (producer) require 'libui' require 'chunky_png' @@ -11,7 +13,7 @@ UI.init -main_window = UI.new_window('The Red Turtle', 310, 350, 0) +main_window = UI.new_window('The Red Turtle (2016)', 310, 350, 0) hbox = UI.new_horizontal_box UI.window_set_child(main_window, hbox) @@ -58,7 +60,7 @@ def rbcallback(*args, &block) table_params.RowBackgroundColorModelColumn = -1 table = UI.new_table(table_params) -UI.table_append_image_column(table, 'www.ghibli.jp/works/red-turtle', -1) +UI.table_append_image_column(table, 'Directed by Michaël Dudok de Wit', -1) UI.box_append(hbox, table, 1) UI.control_show(main_window)