istereo2

diff src/uitheme.cc @ 11:03cc3b1884d1

implemented builtin themes registration and lookup in goatkit
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 28 Sep 2015 06:53:06 +0300
parents 64e15874f3bd
children 57188f7d9304
line diff
     1.1 --- a/src/uitheme.cc	Sat Sep 26 02:56:07 2015 +0300
     1.2 +++ b/src/uitheme.cc	Mon Sep 28 06:53:06 2015 +0300
     1.3 @@ -42,6 +42,9 @@
     1.4  	return funcmap[name];
     1.5  }
     1.6  
     1.7 +// register ourselves as a built-in theme
     1.8 +GOATKIT_BUILTIN_THEME("istereo", get_widget_func);
     1.9 +
    1.10  static void begin_drawing(const Widget *w)
    1.11  {
    1.12  	Vec2 pos = w->get_position();