Oh, I forgot, thank you tons, that was it!
On 9/15/12, tarn...@tarnyko.net wrote:
>
> Hi David,
>
> Do you have the following line at the beginning of your method :
>
> SDLTTF.init ();
>
>
> Regards, Tarnyko
>
>
>
> David Gomes writes:
>
>> Hello there, first of all here's the relevant part of my
Hi David,
Do you have the following line at the beginning of your method :
SDLTTF.init ();
Regards, Tarnyko
David Gomes writes:
Hello there, first of all here's the relevant part of my code:
using SDLTTF;
(...)
public void draw_string (string text, int x, int y, Color color)
GLib.Object.get() actually is g_object_get() in C.
ClutterColor is registered as a boxed type in GObject's term.
Returns boxed type from g_object_get() in GObject type system will make a
copy with g_boxed_copy() first, so, what you get is a pointer instead of
simple value (pass by value).
Here i
Hello there, first of all here's the relevant part of my code:
using SDLTTF;
(...)
public void draw_string (string text, int x, int y, Color color) {
Rect destination = {};
Font pixel_font = new Font ("font.ttf", 20);
if (pixel_font == null) print ("Font not found\n");
(...)
}
hi;
On 15 September 2012 02:30, Kerrick Staley wrote:
> I've created a patch for Vala [1] that will expose the CLUTTER_COLOR_*
> macros in Vala as Clutter.Color.*. It maps e.g. CLUTTER_COLOR_Red to
> Clutter.Color.RED and CLUTTER_COLOR_DarkOrange to
> Clutter.Color.DARK_ORANGE. This convention di