Mercurial > MadButterfly
annotate examples/svg2code_ex/Makefile.am @ 1224:5d731460b32c
Remove search_by_id() from frameline.
- frameline is only responsible for drawing a row of frames.
- layers and scenes are managed by MBScene_dom. So, function of
search_by_id() must move to MBScene_dom class.
- onCellClick() and _change_active_frame() are responsible for
handling GUI event.
- It should not be used with workaround to implement some function.
- Solutions
- MBScene_dom.find_layer_n_scene_of_nod() is used to replace
search_by_id().
- MBScene_framelines.active_frame() is used to replace the
workaround.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Thu, 06 Jan 2011 11:11:27 +0800 |
parents | c8b6ca46950b |
children |
rev | line source |
---|---|
185
c7e5b8779bb5
Move header files into include/mb/ subdirectory and remove symlink 'mb'.
Thinker K.F. Li <thinker@branda.to>
parents:
180
diff
changeset
|
1 include $(top_srcdir)/config.mk |
c7e5b8779bb5
Move header files into include/mb/ subdirectory and remove symlink 'mb'.
Thinker K.F. Li <thinker@branda.to>
parents:
180
diff
changeset
|
2 |
178 | 3 noinst_PROGRAMS = ex1 |
263
755bbf274259
Manage dsc_3241.png in svg2code_ex/Makefile.am.
Thinker K.F. Li <thinker@branda.to>
parents:
185
diff
changeset
|
4 EXTRA_DIST = svg2code_ex.svg dsc_3241.png |
178 | 5 |
6 ex1_SOURCES = main.c | |
7 nodist_ex1_SOURCES = svg2code_ex.c svg2code_ex.h | |
278
a90fd749af82
Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents:
185
diff
changeset
|
8 ex1_CPPFLAGS = @pangocairo_CFLAGS@ -I$(top_srcdir) |
a90fd749af82
Implement the whole tspan attribute. Currently, we can accept font family/font style/font weight and font size.
wycc
parents:
185
diff
changeset
|
9 ex1_LDFLAGS = @pangocairo_LIBS@ |
178 | 10 ex1_LDADD = $(top_builddir)/src/libmbfly.la |
11 BUILT_SOURCES = svg2code_ex.c svg2code_ex.h svg2code_ex.mb | |
12 CLEANFILES = svg2code_ex.c svg2code_ex.h svg2code_ex.mb | |
13 | |
14 svg2code_ex.mb: $(srcdir)/svg2code_ex.svg | |
15 $(top_srcdir)/tools/svg2code.py $? $@ | |
16 | |
17 svg2code_ex.h: svg2code_ex.mb | |
18 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ | |
19 | |
20 svg2code_ex.c: svg2code_ex.mb | |
21 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |