diff options
author | William Hua <william.hua@canonical.com> | 2013-06-05 20:45:45 -0400 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2013-06-05 20:45:45 -0400 |
commit | 91ddc799bd01ce206e2822ae4b6c58b087efc6b6 (patch) | |
tree | 825bb36978c56d40980be45c7fb09bacef60fc59 /deps | |
parent | 97e9428331438a66fb78696b736d7046e96889cb (diff) | |
download | ayatana-indicator-keyboard-91ddc799bd01ce206e2822ae4b6c58b087efc6b6.tar.gz ayatana-indicator-keyboard-91ddc799bd01ce206e2822ae4b6c58b087efc6b6.tar.bz2 ayatana-indicator-keyboard-91ddc799bd01ce206e2822ae4b6c58b087efc6b6.zip |
Align text within icons properly.
Diffstat (limited to 'deps')
-rw-r--r-- | deps/README | 12 | ||||
-rw-r--r-- | deps/fontconfig.vapi | 13 | ||||
-rw-r--r-- | deps/freetype2.vapi | 20 | ||||
-rw-r--r-- | deps/pangoft2.vapi | 33 |
4 files changed, 78 insertions, 0 deletions
diff --git a/deps/README b/deps/README index 963a51bc..41775da2 100644 --- a/deps/README +++ b/deps/README @@ -1,3 +1,15 @@ +To generate fontconfig.vapi: + +vapigen --library fontconfig /path/to/fontconfig-2.0.gir + +To generate freetype2.vapi: + +vapigen --library freetype2 /path/to/freetype2-2.0.gir + +To generate pangoft2.vapi: + +vapigen --library pangoft2 /path/to/PangoFT2-1.0.gir + To generate gnome-desktop-3.0.vapi: vapigen --pkg gio-2.0 --pkg gtk+-3.0 --library gnome-desktop-3.0 /path/to/GnomeDesktop-3.0.gir diff --git a/deps/fontconfig.vapi b/deps/fontconfig.vapi new file mode 100644 index 00000000..dc3f450b --- /dev/null +++ b/deps/fontconfig.vapi @@ -0,0 +1,13 @@ +/* fontconfig.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "Fc", gir_namespace = "fontconfig", gir_version = "2.0", lower_case_cprefix = "fc_")] +namespace Fc { + [CCode (cheader_filename = "fontconfig-2.0.h", has_type_id = false)] + public struct CharSet { + } + [CCode (cheader_filename = "fontconfig-2.0.h", has_type_id = false)] + public struct Pattern { + } + [CCode (cheader_filename = "fontconfig-2.0.h", cname = "FcInit")] + public static void init (); +} diff --git a/deps/freetype2.vapi b/deps/freetype2.vapi new file mode 100644 index 00000000..5403be26 --- /dev/null +++ b/deps/freetype2.vapi @@ -0,0 +1,20 @@ +/* freetype2.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "FT", gir_namespace = "freetype2", gir_version = "2.0", lower_case_cprefix = "FT_")] +namespace FT { + [CCode (cheader_filename = "freetype2-2.0.h", cname = "FT_Bitmap", has_type_id = false)] + public struct Bitmap { + } + [CCode (cheader_filename = "freetype2-2.0.h", cname = "FT_Face", has_type_id = false)] + public struct Face { + } + [CCode (cheader_filename = "freetype2-2.0.h", cname = "FT_Int32")] + [SimpleType] + public struct Int32 : int32 { + } + [CCode (cheader_filename = "freetype2-2.0.h", cname = "FT_Library", has_type_id = false)] + public struct Library { + } + [CCode (cheader_filename = "freetype2-2.0.h", cname = "FT_Library_Version")] + public static void library_version (); +} diff --git a/deps/pangoft2.vapi b/deps/pangoft2.vapi new file mode 100644 index 00000000..8dc85109 --- /dev/null +++ b/deps/pangoft2.vapi @@ -0,0 +1,33 @@ +/* pangoft2.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "PangoFT2", gir_namespace = "PangoFT2", gir_version = "1.0", lower_case_cprefix = "pango_ft2_")] +namespace PangoFT2 { + [CCode (cheader_filename = "pango/pangoft2.h", type_id = "pango_ft2_font_map_get_type ()")] + public class FontMap : Pango.FontMap { + [CCode (has_construct_function = false, type = "PangoFontMap*")] + public FontMap (); + public void set_default_substitute (owned PangoFT2.SubstituteFunc func); + public void set_resolution (double dpi_x, double dpi_y); + public void substitute_changed (); + } + [CCode (cheader_filename = "pango/pangoft2.h", has_target = false)] + public delegate void SubstituteFunc (Fc.Pattern pattern, void* data); + [CCode (cheader_filename = "pango/pangoft2.h")] + public static int font_get_kerning (Pango.Font font, Pango.Glyph left, Pango.Glyph right); + [CCode (cheader_filename = "pango/pangoft2.h")] + public static Pango.Glyph get_unknown_glyph (Pango.Font font); + [CCode (cheader_filename = "pango/pangoft2.h")] + public static void render (FT.Bitmap bitmap, Pango.Font font, Pango.GlyphString glyphs, int x, int y); + [CCode (cheader_filename = "pango/pangoft2.h")] + public static void render_layout (FT.Bitmap bitmap, Pango.Layout layout, int x, int y); + [CCode (cheader_filename = "pango/pangoft2.h")] + public static void render_layout_line (FT.Bitmap bitmap, Pango.LayoutLine line, int x, int y); + [CCode (cheader_filename = "pango/pangoft2.h")] + public static void render_layout_line_subpixel (FT.Bitmap bitmap, Pango.LayoutLine line, int x, int y); + [CCode (cheader_filename = "pango/pangoft2.h")] + public static void render_layout_subpixel (FT.Bitmap bitmap, Pango.Layout layout, int x, int y); + [CCode (cheader_filename = "pango/pangoft2.h")] + public static void render_transformed (FT.Bitmap bitmap, Pango.Matrix matrix, Pango.Font font, Pango.GlyphString glyphs, int x, int y); + [CCode (cheader_filename = "pango/pangoft2.h")] + public static void shutdown_display (); +} |