From c90b607cf26112f1dfb0f518f0851c582ee3a183 Mon Sep 17 00:00:00 2001 From: oakes Date: Sun, 20 Apr 2014 19:02:57 -0400 Subject: [PATCH] Update select-box docstring --- src/play_clj/ui.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/play_clj/ui.clj b/src/play_clj/ui.clj index 463069a..c3ce900 100644 --- a/src/play_clj/ui.clj +++ b/src/play_clj/ui.clj @@ -384,9 +384,9 @@ based on the file at `path`. "Returns an entity based on [SelectBox](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/SelectBox.html). (select-box (style :select-box font color back scroll-style list-style) - :set-items [\"Item 1\" \"Item 2\" \"Item 3\"]) + :set-items (into-array [\"Item 1\" \"Item 2\" \"Item 3\"])) (select-box (skin \"uiskin.json\") - :set-items [\"Item 1\" \"Item 2\" \"Item 3\"])" + :set-items (into-array [\"Item 1\" \"Item 2\" \"Item 3\"]))" [arg & options] `(let [entity# (select-box* ~arg)] (u/calls! ^SelectBox (u/get-obj entity# :object) ~@options)