本文整理汇总了C++中Fl_Group::deactivate方法的典型用法代码示例。如果您正苦于以下问题:C++ Fl_Group::deactivate方法的具体用法?C++ Fl_Group::deactivate怎么用?C++ Fl_Group::deactivate使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Fl_Group
的用法示例。
在下文中一共展示了Fl_Group::deactivate方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: make_window
//.........这里部分代码省略.........
magtype->callback((Fl_Callback*)cb_magtype);
magtype->align(FL_ALIGN_TOP);
magtype->menu(menu_magtype);
o->value(pars->Phmagtype);
} // Fl_Choice* magtype
{ Fl_Choice* o = start = new Fl_Choice(670, 340, 50, 15, "Start");
start->down_box(FL_BORDER_BOX);
start->labelfont(1);
start->labelsize(10);
start->textsize(11);
start->callback((Fl_Callback*)cb_start);
start->align(FL_ALIGN_TOP);
start->menu(menu_start);
o->value(pars->Pstart);
} // Fl_Choice* start
o->end();
} // Fl_Group* o
{ freqsettingsui = new Fl_Group(440, 5, 290, 135, "FREQUENCY");
freqsettingsui->box(FL_THIN_UP_FRAME);
freqsettingsui->labeltype(FL_EMBOSSED_LABEL);
freqsettingsui->labelfont(1);
freqsettingsui->align(FL_ALIGN_TOP|FL_ALIGN_INSIDE);
{ EnvelopeUI* o = freqenvelopegroup = new EnvelopeUI(445, 65, 205, 70, "SUBsynth - Frequency Envelope");
freqenvelopegroup->box(FL_FLAT_BOX);
freqenvelopegroup->color((Fl_Color)51);
freqenvelopegroup->selection_color(FL_BACKGROUND_COLOR);
freqenvelopegroup->labeltype(FL_NORMAL_LABEL);
freqenvelopegroup->labelfont(0);
freqenvelopegroup->labelsize(14);
freqenvelopegroup->labelcolor(FL_FOREGROUND_COLOR);
freqenvelopegroup->align(FL_ALIGN_WRAP|FL_ALIGN_INSIDE);
freqenvelopegroup->when(FL_WHEN_RELEASE);
o->init(pars->FreqEnvelope,master);
if (pars->PFreqEnvelopeEnabled==0) o->deactivate();
freqenvelopegroup->end();
} // EnvelopeUI* freqenvelopegroup
{ Fl_Check_Button* o = freqee = new Fl_Check_Button(445, 68, 55, 15, "Enabled");
freqee->down_box(FL_DOWN_BOX);
freqee->labelfont(1);
freqee->labelsize(10);
freqee->callback((Fl_Callback*)cb_freqee);
o->value(pars->PFreqEnvelopeEnabled);
} // Fl_Check_Button* freqee
{ Fl_Counter* o = octave = new Fl_Counter(670, 50, 45, 15, "Octave");
octave->tooltip("Octave");
octave->type(1);
octave->labelsize(10);
octave->minimum(-8);
octave->maximum(7);
octave->step(1);
octave->textfont(1);
octave->textsize(11);
octave->callback((Fl_Callback*)cb_octave);
octave->align(FL_ALIGN_TOP);
int k=pars->PCoarseDetune/1024;if (k>=8) k-=16;
o->value(k);
} // Fl_Counter* octave
{ Fl_Counter* o = coarsedet = new Fl_Counter(655, 115, 60, 20, "Coarse Det.");
coarsedet->tooltip("Coarse Detune");
coarsedet->labelsize(10);
coarsedet->minimum(-64);
coarsedet->maximum(63);
coarsedet->step(1);
coarsedet->textfont(1);
coarsedet->textsize(11);
coarsedet->callback((Fl_Callback*)cb_coarsedet);