From a36de17212b556f43f0fdba1e604f0e096215998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 27 Feb 2012 14:39:02 +0100 Subject: add lib/efl/elm/elm_icon.rb --- lib/efl/elm/elm_icon.rb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lib/efl/elm/elm_icon.rb diff --git a/lib/efl/elm/elm_icon.rb b/lib/efl/elm/elm_icon.rb new file mode 100644 index 0000000..89a00ec --- /dev/null +++ b/lib/efl/elm/elm_icon.rb @@ -0,0 +1,26 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/elm/elm_object' +require 'efl/native/elm/elm_icon' +# +module Efl + # + module Elm + # + class ElmIcon < ElmObject + # + include Helper + constructor :elm_icon_add + search_prefixes 'elm_icon_' + # + def scale_set args + Native.elm_icon_scale_set @ptr, *args + end + alias :scale= :scale_set + end + # + end +end +# +# EOF -- cgit v1.1-2-g2b99