Mercurial > MadButterfly
view include/mb_config.h.in @ 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 | fa5f71d4aa04 |
children |
line wrap: on
line source
// -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 4; -*- // vim: sw=4:ts=8:sts=4 #ifndef __MB_CONFIG_H_ #define __MB_CONFIG_H_ /* Enable Cairo Graphic Engine */ #undef CAIRO_GRAPH_ENGINE /* Enable Skia Graphic Engine */ #undef SKIA_GRAPH_ENGINE /* Enable OpenVG Graphic Engine */ #undef OPENVG_GRAPH_ENGINE /* Enable DirectFB Graphic Engine */ #undef DFB_GRAPH_ENGINE /* Enable Cairo Image Loader */ #undef CAIRO_IMG_LOADER /* Enable Imlib2 Image Loader */ #undef IMLIB2_IMG_LOADER /* Enable Dummy Image Loader */ #undef DUMMY_IMG_LOADER /* Enable sh_text */ #undef SH_TEXT /* Enable sh_stext */ #undef SH_STEXT /* Enable X backend */ #undef X_BACKEND /* Enable DirectFB backend */ #undef DFB_BACKEND /* Enable console backend */ #undef CONSOLE_BACKEND /* Enable XSHM */ #undef XSHM #endif /* __MB_CONFIG_H_ */