• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ setInline函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中setInline函数的典型用法代码示例。如果您正苦于以下问题:C++ setInline函数的具体用法?C++ setInline怎么用?C++ setInline使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了setInline函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: LayoutBox

LayoutListMarker::LayoutListMarker(LayoutListItem* item)
    : LayoutBox(nullptr)
    , m_listItem(item)
{
    setInline(true);
    setIsAtomicInlineLevel(true);
}
开发者ID:astojilj,项目名称:chromium-crosswalk,代码行数:7,代码来源:LayoutListMarker.cpp


示例2: RenderBlock

RenderRubyRun::RenderRubyRun(Node* node)
    : RenderBlock(node)
    , m_beingDestroyed(false)
{
    setReplaced(true);
    setInline(true);
}
开发者ID:azrul2202,项目名称:WebKit-Smartphone,代码行数:7,代码来源:RenderRubyRun.cpp


示例3: RenderBlockFlow

RenderView::RenderView(Document* document)
    : RenderBlockFlow(document)
    , m_frameView(document->view())
    , m_selectionStart(0)
    , m_selectionEnd(0)
    , m_selectionStartPos(-1)
    , m_selectionEndPos(-1)
    , m_maximalOutlineSize(0)
    , m_pageLogicalHeight(0)
    , m_pageLogicalHeightChanged(false)
    , m_layoutState(0)
    , m_layoutStateDisableCount(0)
    , m_renderQuoteHead(0)
    , m_renderCounterCount(0)
{
    // init RenderObject attributes
    setInline(false);

    m_minPreferredLogicalWidth = 0;
    m_maxPreferredLogicalWidth = 0;

    setPreferredLogicalWidthsDirty(MarkOnlyThis);

    setPositionState(AbsolutePosition); // to 0,0 :)
}
开发者ID:Tkkg1994,项目名称:Platfrom-kccat6,代码行数:25,代码来源:RenderView.cpp


示例4: setInline

void RenderSVGInline::updateFromStyle()
{
    RenderInline::updateFromStyle();

    // SVG text layout code expects us to be an inline-level element.
    setInline(true);
}
开发者ID:Comcast,项目名称:WebKitForWayland,代码行数:7,代码来源:RenderSVGInline.cpp


示例5: RenderBox

RenderFrameSet::RenderFrameSet(HTMLFrameSetElement& frameSet, Ref<RenderStyle>&& style)
    : RenderBox(frameSet, WTF::move(style), 0)
    , m_isResizing(false)
    , m_isChildResizing(false)
{
    setInline(false);
}
开发者ID:cheekiatng,项目名称:webkit,代码行数:7,代码来源:RenderFrameSet.cpp


示例6: RenderBox

RenderFrameSet::RenderFrameSet(HTMLFrameSetElement* frameSet)
    : RenderBox(frameSet)
    , m_isResizing(false)
    , m_isChildResizing(false)
{
    setInline(false);
}
开发者ID:jackiekaon,项目名称:owb-mirror,代码行数:7,代码来源:RenderFrameSet.cpp


示例7: RenderBlock

RenderView::RenderView(Node* node, FrameView* view)
    : RenderBlock(node)
    , m_frameView(view)
    , m_selectionStart(0)
    , m_selectionEnd(0)
    , m_selectionStartPos(-1)
    , m_selectionEndPos(-1)
    , m_printImages(true)
    , m_maximalOutlineSize(0)
    , m_bestTruncatedAt(0)
    , m_truncatorWidth(0)
    , m_minimumColumnHeight(0)
    , m_forcedPageBreak(false)
    , m_layoutState(0)
    , m_layoutStateDisableCount(0)
{
    // Clear our anonymous bit, set because RenderObject assumes
    // any renderer with document as the node is anonymous.
    setIsAnonymous(false);

    // init RenderObject attributes
    setInline(false);
    
    m_minPrefWidth = 0;
    m_maxPrefWidth = 0;

    setPrefWidthsDirty(true, false);
    
    setPositioned(true); // to 0,0 :)
}
开发者ID:jackiekaon,项目名称:owb-mirror,代码行数:30,代码来源:RenderView.cpp


示例8: WInteractWidget

WPaintedWidget::WPaintedWidget(WContainerWidget *parent)
  : WInteractWidget(parent),
    preferredMethod_(HtmlCanvas),
    painter_(0),
    needRepaint_(false),
    sizeChanged_(false),
    areaImageAdded_(false),
    repaintFlags_(0),
    areaImage_(0),
    renderWidth_(0), renderHeight_(0)
{
  if (WApplication::instance()) {
    const WEnvironment& env = WApplication::instance()->environment();

    if (env.agentIsOpera()
	&& env.userAgent().find("Mac OS X") == std::string::npos)
      preferredMethod_ = InlineSvgVml;
  }

  setLayoutSizeAware(true);
  setJavaScriptMember(WT_RESIZE_JS,
		      "function(self, w, h) {"
		      """var u = $(self).find('canvas, img');"
		      """if (w >= 0) "
		      ""  "u.width(w);"
		      """if (h >= 0) "
		      ""  "u.height(h);"
		      "}");
  setInline(false);
}
开发者ID:Dinesh-Ramakrishnan,项目名称:wt,代码行数:30,代码来源:WPaintedWidget.C


示例9: WInteractWidget

WPaintedWidget::WPaintedWidget(WContainerWidget *parent)
  : WInteractWidget(parent),
    preferredMethod_(HtmlCanvas),
    painter_(0),
    needRepaint_(false),
    sizeChanged_(false),
    areaImageAdded_(false),
    repaintFlags_(0),
    areaImage_(0),
    renderWidth_(0), renderHeight_(0),
    repaintSlot_("function() {"
	"var o=" + this->objJsRef() + ";"
	"if(o){o.repaint();}"
	"}", this),
    jsObjects_(this->objJsRef())
{
  if (WApplication::instance()) {
    const WEnvironment& env = WApplication::instance()->environment();

    if (env.agentIsOpera()
	&& env.userAgent().find("Mac OS X") == std::string::npos)
      preferredMethod_ = InlineSvgVml;
  }

  setInline(false);
}
开发者ID:pgquiles,项目名称:wt,代码行数:26,代码来源:WPaintedWidget.C


示例10: RenderBlock

RenderView::RenderView(Node* node, FrameView* view)
    : RenderBlock(node)
    , m_frameView(view)
    , m_selectionStart(0)
    , m_selectionEnd(0)
    , m_selectionStartPos(-1)
    , m_selectionEndPos(-1)
    , m_printImages(true)
    , m_maximalOutlineSize(0)
    , m_layoutState(0)
    , m_layoutStateDisableCount(0)
{
    // Clear our anonymous bit, set because RenderObject assumes
    // any renderer with document as the node is anonymous.
    setIsAnonymous(false);

    // init RenderObject attributes
    setInline(false);
    
    m_minPrefWidth = 0;
    m_maxPrefWidth = 0;

    setPrefWidthsDirty(true, false);
    
    setPositioned(true); // to 0,0 :)

    // Create a new root layer for our layer hierarchy.
    m_layer = new (node->document()->renderArena()) RenderLayer(this);
    setHasLayer(true);
}
开发者ID:halfkiss,项目名称:ComponentSuperAccessor,代码行数:30,代码来源:RenderView.cpp


示例11: RenderBlockFlow

RenderRubyBase::RenderRubyBase(Document& document, Ref<RenderStyle>&& style)
    : RenderBlockFlow(document, WTF::move(style))
    , m_initialOffset(0)
    , m_isAfterExpansion(true)
{
    setInline(false);
}
开发者ID:houzhenggang,项目名称:webkit,代码行数:7,代码来源:RenderRubyBase.cpp


示例12: WFormWidget

WLineEdit::WLineEdit(WContainerWidget *parent)
  : WFormWidget(parent),
    textSize_(10),
    maxLength_(-1),
    echoMode_(Normal)
{ 
  setInline(true);
  setFormObject(true);
}
开发者ID:ChowZenki,项目名称:wt,代码行数:9,代码来源:WLineEdit.C


示例13: WInteractWidget

WTemplate::WTemplate(WContainerWidget *parent)
  : WInteractWidget(parent),
    previouslyRendered_(0),
    newlyRendered_(0),
    encodeInternalPaths_(false),
    changed_(false)
{
  setInline(false);
}
开发者ID:ScienziatoBestia,项目名称:wt,代码行数:9,代码来源:WTemplate.C


示例14: WContainerWidget

WAnchor::WAnchor(WContainerWidget *parent)
  : WContainerWidget(parent),
    text_(0),
    image_(0),
    target_(TargetSelf),
    changeInternalPathJS_(0)
{
  setInline(true);
}
开发者ID:bvanhauwaert,项目名称:wt,代码行数:9,代码来源:WAnchor.C


示例15: setInline

void RenderScrollbarPart::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
{
    RenderBlock::styleDidChange(diff, oldStyle);
    setInline(false);
    clearPositionedState();
    setFloating(false);
    setHasOverflowClip(false);
    if (oldStyle && m_scrollbar && m_part != NoPart && diff >= StyleDifferenceRepaint)
        m_scrollbar->theme()->invalidatePart(*m_scrollbar, m_part);
}
开发者ID:nickooms,项目名称:webkit,代码行数:10,代码来源:RenderScrollbarPart.cpp


示例16: LayoutReplaced

LayoutPart::LayoutPart(Element* element)
    : LayoutReplaced(element)
    // Reference counting is used to prevent the part from being destroyed
    // while inside the Widget code, which might not be able to handle that.
    , m_refCount(1)
{
    ASSERT(element);
    frameView()->addPart(this);
    setInline(false);
}
开发者ID:aobzhirov,项目名称:ChromiumGStreamerBackend,代码行数:10,代码来源:LayoutPart.cpp


示例17: style

void RenderBoxModelObject::updateFromStyle()
{
    RenderLayerModelObject::updateFromStyle();

    RenderStyle* styleToUse = style();
    setHasBoxDecorationBackground(calculateHasBoxDecorations());
    setInline(styleToUse->isDisplayInlineType());
    setPositionState(styleToUse->position());
    setHorizontalWritingMode(styleToUse->isHorizontalWritingMode());
}
开发者ID:335969568,项目名称:Blink-1,代码行数:10,代码来源:RenderBoxModelObject.cpp


示例18: WFormWidget

WComboBox::WComboBox(WContainerWidget *parent)
  : WFormWidget(parent),
    currentIndex_(-1),
    itemsChanged_(false),
    selectionChanged_(false),
    currentlyConnected_(false)
{ 
  setInline(true);
  setFormObject(true);
}
开发者ID:SiteView,项目名称:ecc82Server,代码行数:10,代码来源:WComboBox.Cpp


示例19: WInteractWidget

WTable::WTable(WContainerWidget *parent)
  : WInteractWidget(parent),
    rowsChanged_(0),
    rowsAdded_(0),
    headerRowCount_(0),
    headerColumnCount_(0)
{ 
  setInline(false);
  setIgnoreChildRemoves(true);
}
开发者ID:DTidd,项目名称:wt,代码行数:10,代码来源:WTable.C


示例20: WPaintedWidget

WCartesianChart::IconWidget::IconWidget(WCartesianChart *chart, 
					int index, 
					WContainerWidget *parent) 
  : WPaintedWidget(parent),
    chart_(chart),
    index_(index)
{
  setInline(true);
  resize(20, 20);
}
开发者ID:913862627,项目名称:wt,代码行数:10,代码来源:WCartesianChart.C



注:本文中的setInline函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ setInstance函数代码示例发布时间:2022-05-30
下一篇:
C++ setInfoBoxMessage函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap