diff options
-rw-r--r-- | lib/efl/native/elm/elm_fonts.rb | 50 | ||||
-rwxr-xr-x | tools/genruby.rb | 1 |
2 files changed, 0 insertions, 51 deletions
diff --git a/lib/efl/native/elm/elm_fonts.rb b/lib/efl/native/elm/elm_fonts.rb deleted file mode 100644 index 8bdc612..0000000 --- a/lib/efl/native/elm/elm_fonts.rb +++ /dev/null @@ -1,50 +0,0 @@ -#! /usr/bin/env ruby -# -*- coding: UTF-8 -*- -# -require 'efl/native' -require 'efl/native/eina_hash' -require 'efl/native/elementary' -# -module Efl - # - module ElmFonts - # - FCT_PREFIX = 'elm_fonts_' unless const_defined? :FCT_PREFIX - # - def self.method_missing meth, *args, &block - sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX - self.send sym, *args, &block - end - # - end - # - module Native - # - ffi_lib 'elementary' - # - # TYPEDEFS - # typedef struct _Elm_Font_Properties Elm_Font_Properties; - typedef :pointer, :elm_font_properties - # - # FUNCTIONS - fcts = [ - # EAPI Elm_Font_Properties *elm_font_properties_get(const char *font); - [ :elm_font_properties_get, [ :string ], :elm_font_properties ], - # EAPI void elm_font_properties_free(Elm_Font_Properties *efp); - [ :elm_font_properties_free, [ :elm_font_properties ], :void ], - # EAPI char *elm_font_fontconfig_name_get(const char *name, const char *style); - [ :elm_font_fontconfig_name_get, [ :string, :string ], :string ], - # EAPI void elm_font_fontconfig_name_free(char *name); - [ :elm_font_fontconfig_name_free, [ :string ], :void ], - # EAPI Eina_Hash *elm_font_available_hash_add(Eina_List *list); - [ :elm_font_available_hash_add, [ :eina_list ], :eina_hash ], - # EAPI void elm_font_available_hash_del(Eina_Hash *hash); - [ :elm_font_available_hash_del, [ :eina_hash ], :void ], - ] - # - attach_fcts fcts - # - end -end -# -# EOF diff --git a/tools/genruby.rb b/tools/genruby.rb index 9532d47..365780a 100755 --- a/tools/genruby.rb +++ b/tools/genruby.rb @@ -396,7 +396,6 @@ libs << elm_h('elm_finger.h', 'ElmFinger') libs << elm_h('elm_flip.h', 'ElmFlip') libs << elm_h('elm_flipselector.h', 'ElmFlipSelector') libs << elm_h('elm_focus.h', 'ElmFocus') -libs << elm_h('elm_fonts.h', 'ElmFonts', ["#{NATIVE}/eina_hash","#{NATIVE}/elementary"]) libs << elm_h('elm_frame.h', 'ElmFrame') libs << elm_h('elm_gengrid.h', 'ElmGenGrid', ["#{NATIVE}/elementary","#{NATIVE}/elm/elm_gen","#{NATIVE}/elm/elm_scroller"]) libs << elm_h('elm_gen.h', 'ElmGen') |