本文整理汇总了C++中showCorrectTab函数的典型用法代码示例。如果您正苦于以下问题:C++ showCorrectTab函数的具体用法?C++ showCorrectTab怎么用?C++ showCorrectTab使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了showCorrectTab函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: perform
bool perform()
{
showCorrectTab();
getComponent()->setExplicitFocusOrder (newValue);
changed();
return true;
}
开发者ID:kristiandelay,项目名称:JUCE,代码行数:7,代码来源:jucer_ComponentTypeHandler.cpp
示例2: undo
bool undo()
{
showCorrectTab();
getComponent()->setExplicitFocusOrder (oldValue);
changed();
return true;
}
开发者ID:kristiandelay,项目名称:JUCE,代码行数:7,代码来源:jucer_ComponentTypeHandler.cpp
示例3: perform
bool perform()
{
showCorrectTab();
Component* comp = layout.getComponent (oldIndex);
layout.moveComponentZOrder (oldIndex, newIndex);
newIndex = layout.indexOfComponent (comp);
return true;
}
开发者ID:Crazybond,项目名称:JUCE,代码行数:8,代码来源:jucer_ComponentLayout.cpp
示例4: perform
bool perform()
{
showCorrectTab();
PaintElementPath* const path = getElement();
jassert (path != nullptr);
path->deletePoint (indexToRemove, false);
return path != nullptr;
}
开发者ID:Krewn,项目名称:LIOS,代码行数:10,代码来源:jucer_PaintElementPath.cpp
示例5: undo
bool undo()
{
showCorrectTab();
PaintElementPath* const path = getElement();
jassert (path != nullptr);
path->deletePoint (indexAdded, false);
return true;
}
开发者ID:Krewn,项目名称:LIOS,代码行数:10,代码来源:jucer_PaintElementPath.cpp
示例6: perform
bool perform()
{
showCorrectTab();
PaintElement* newElement = routine.addElementFromXml (*xml, -1, false);
jassert (newElement != nullptr);
indexAdded = routine.indexOfElement (newElement);
jassert (indexAdded >= 0);
return indexAdded >= 0;
}
开发者ID:AmirooR,项目名称:JUCE,代码行数:10,代码来源:jucer_PaintRoutine.cpp
示例7: undo
bool undo()
{
Component* c = layout.addComponentFromXml (*xml, false);
jassert (c != nullptr);
layout.moveComponentZOrder (layout.indexOfComponent (c), oldIndex);
showCorrectTab();
return c != nullptr;
}
开发者ID:Crazybond,项目名称:JUCE,代码行数:10,代码来源:jucer_ComponentLayout.cpp
示例8: undo
bool undo()
{
showCorrectTab();
if (SettableTooltipClient* ttc = dynamic_cast <SettableTooltipClient*> (getComponent()))
{
ttc->setTooltip (oldValue);
changed();
return true;
}
return false;
}
开发者ID:Krewn,项目名称:LIOS,代码行数:13,代码来源:jucer_ComponentTypeHandler.cpp
示例9: changeTo
bool changeTo (const PathPoint& value) const
{
showCorrectTab();
PaintElementPath* const path = getElement();
jassert (path != nullptr);
PathPoint* const p = path->getPoint (index);
jassert (p != nullptr);
const bool typeChanged = (p->type != value.type);
*p = value;
p->owner = path;
if (typeChanged)
path->pointListChanged();
path->changed();
return true;
}
开发者ID:Krewn,项目名称:LIOS,代码行数:20,代码来源:jucer_PaintElementPath.cpp
示例10: undo
bool undo()
{
showCorrectTab();
routine.removeElement (routine.getElement (indexAdded), false);
return true;
}
开发者ID:AmirooR,项目名称:JUCE,代码行数:6,代码来源:jucer_PaintRoutine.cpp
示例11: undo
bool undo()
{
showCorrectTab();
getElement()->setPosition (oldState, false);
return true;
}
开发者ID:gmhendler,项目名称:PluginDev,代码行数:6,代码来源:jucer_PaintElement.cpp
示例12: perform
bool perform()
{
showCorrectTab();
getElement()->setPosition (newState, false);
return true;
}
开发者ID:gmhendler,项目名称:PluginDev,代码行数:6,代码来源:jucer_PaintElement.cpp
示例13: perform
bool perform()
{
showCorrectTab();
getElement()->setStrokeFill (newState, false);
return true;
}
开发者ID:AlessandroGiacomini,项目名称:pyplasm,代码行数:6,代码来源:jucer_ColouredElement.cpp
示例14: undo
bool undo()
{
showCorrectTab();
getElement()->enableStroke (oldState, false);
return true;
}
开发者ID:AlessandroGiacomini,项目名称:pyplasm,代码行数:6,代码来源:jucer_ColouredElement.cpp
注:本文中的showCorrectTab函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论