theme_config_panel_.cpp
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:2k
- /*
- * ===========================================================================
- * PRODUCTION $Log: theme_config_panel_.cpp,v $
- * PRODUCTION Revision 1000.1 2004/06/01 20:45:51 gouriano
- * PRODUCTION PRODUCTION: UPGRADED [GCC34_MSVC7] Dev-tree R1.5
- * PRODUCTION
- * ===========================================================================
- */
- // generated by Fast Light User Interface Designer (fluid) version 1.0105
- /* $Id: theme_config_panel_.cpp,v 1000.1 2004/06/01 20:45:51 gouriano Exp $ */
- #include <ncbi_pch.hpp>
- inline void CThemeConfigPanel::cb_m_ItemList_i(Fl_Choice*, void*) {
- UpdateWidgets();
- }
- void CThemeConfigPanel::cb_m_ItemList(Fl_Choice* o, void* v) {
- ((CThemeConfigPanel*)(o->parent()->parent()->user_data()))->cb_m_ItemList_i(o,v);
- }
- inline void CThemeConfigPanel::cb_m_StyleList_i(Fl_Choice*, void*) {
- x_StyleChosen();
- }
- void CThemeConfigPanel::cb_m_StyleList(Fl_Choice* o, void* v) {
- ((CThemeConfigPanel*)(o->parent()->parent()->user_data()))->cb_m_StyleList_i(o,v);
- }
- Fl_Group* CThemeConfigPanel::x_MakeWidgets() {
- Fl_Group* w;
- { Fl_Group* o = m_ConfigPanel = new Fl_Group(0, 0, 315, 225);
- w = o;
- o->box(FL_FLAT_BOX);
- o->color(FL_BACKGROUND_COLOR);
- o->selection_color(FL_BACKGROUND_COLOR);
- o->labeltype(FL_NO_LABEL);
- o->labelfont(0);
- o->labelsize(14);
- o->labelcolor(FL_BLACK);
- o->user_data((void*)(this));
- o->align(FL_ALIGN_TOP);
- o->when(FL_WHEN_RELEASE);
- { Fl_Group* o = new Fl_Group(0, 0, 314, 64);
- { Fl_Box* o = new Fl_Box(20, 5, 45, 25, "Item");
- o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
- }
- { Fl_Choice* o = m_ItemList = new Fl_Choice(76, 5, 233, 25);
- o->down_box(FL_BORDER_BOX);
- o->callback((Fl_Callback*)cb_m_ItemList);
- }
- { Fl_Box* o = new Fl_Box(20, 35, 45, 25, "Style");
- o->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
- }
- { Fl_Choice* o = m_StyleList = new Fl_Choice(75, 35, 235, 25);
- o->down_box(FL_BORDER_BOX);
- o->callback((Fl_Callback*)cb_m_StyleList);
- }
- { Fl_Box* o = new Fl_Box(93, 60, 109, 2, "resizable");
- o->labeltype(FL_NO_LABEL);
- o->hide();
- o->deactivate();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- }
- { Fl_Group* o = m_Preview = new Fl_Group(0, 65, 315, 160);
- o->box(FL_DOWN_BOX);
- o->end();
- Fl_Group::current()->resizable(o);
- }
- o->end();
- }
- return w;
- }