亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? render_box.h

?? It is WEB browser core module with source code. Very good!
?? H
字號(hào):
/*
 * This file is part of the DOM implementation for KDE.
 *
 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
 *           (C) 1999 Antti Koivisto (koivisto@kde.org)
 * Copyright (C) 2003 Apple Computer, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 */
#ifndef RENDER_BOX_H
#define RENDER_BOX_H

#include "render_object.h"
#include "misc/loader.h"
#include "render_layer.h"

namespace khtml {
    class CachedObject;

    enum WidthType { Width, MinWidth, MaxWidth };
    enum HeightType { Height, MinHeight, MaxHeight };

class RenderBox : public RenderObject
{


// combines ElemImpl & PosElImpl (all rendering objects are positioned)
// should contain all border and padding handling

public:
    RenderBox(DOM::NodeImpl* node);
    virtual ~RenderBox();

    virtual const char *renderName() const { return "RenderBox"; }

    virtual void setStyle(RenderStyle *style);
    virtual void paint(PaintInfo& i, int _tx, int _ty);
    virtual bool nodeAtPoint(NodeInfo& i, int _x, int _y, int _tx, int _ty, HitTestAction hitTestAction);
#ifdef NOKIA_CHANGES
	virtual void getRenderersInRect(QPtrList<BoxInfo>& boxInfoList,int deltaX,int deltaY,const QRect& rect);
#endif

    virtual void detach();

    virtual int minWidth() const { return m_minWidth; }
    virtual int maxWidth() const { return m_maxWidth; }

    virtual int contentWidth() const;
    virtual int contentHeight() const;

    virtual int overrideSize() const { return m_overrideSize; }
    virtual int overrideWidth() const;
    virtual int overrideHeight() const;
    virtual void setOverrideSize(int s) { m_overrideSize = s; }

    virtual bool absolutePosition(int &xPos, int &yPos, bool f = false);

    virtual void setPos( int xPos, int yPos );

    virtual int xPos() const { return m_x; }
    virtual int yPos() const { return m_y; }
    virtual int width() const;
    virtual int height() const;

    virtual int marginTop() const { return m_marginTop; }
    virtual int marginBottom() const { return m_marginBottom; }
    virtual int marginLeft() const { return m_marginLeft; }
    virtual int marginRight() const { return m_marginRight; }

    virtual void setWidth( int width ) { m_width = width; }
    virtual void setHeight( int height ) { m_height = height; }

    virtual QRect borderBox() const { return QRect(0, -borderTopExtra(), width(), height() + borderTopExtra() + borderBottomExtra()); }

    // This method is now public so that centered objects like tables that are
    // shifted right by left-aligned floats can recompute their left and
    // right margins (so that they can remain centered after being
    // shifted. -dwh
    void calcHorizontalMargins(const Length& ml, const Length& mr, int cw);

    virtual void position(InlineBox* box, int from, int len, bool reverse);

    virtual void dirtyLineBoxes(bool fullLayout, bool isRootLineBox=false);

    // For inline replaced elements, this function returns the inline box that owns us.  Enables
    // the replaced RenderObject to quickly determine what line it is contained on and to easily
    // iterate over structures on the line.
    virtual InlineBox* inlineBoxWrapper() const;
    virtual void setInlineBoxWrapper(InlineBox* b);
    void deleteLineBoxWrapper();

    virtual int lowestPosition(bool includeOverflowInterior=true, bool includeSelf=true) const;
    virtual int rightmostPosition(bool includeOverflowInterior=true, bool includeSelf=true) const;
    virtual int leftmostPosition(bool includeOverflowInterior=true, bool includeSelf=true) const;

    virtual QRect getAbsoluteRepaintRect();
    virtual void computeAbsoluteRepaintRect(QRect& r, bool f=false);

    virtual void repaintDuringLayoutIfMoved(int oldX, int oldY);

    virtual int containingBlockWidth() const;

    virtual void calcWidth();
    virtual void calcHeight();

    int calcWidthUsing(WidthType widthType, int cw, LengthType& lengthType);
    int calcHeightUsing(const Length& height);
    int calcReplacedWidthUsing(WidthType widthType) const;
    int calcReplacedHeightUsing(HeightType heightType) const;

    virtual int calcReplacedWidth() const;
    virtual int calcReplacedHeight() const;

    int calcPercentageHeight(const Length& height);

    virtual int availableHeight() const;
    int availableHeightUsing(const Length& h) const;

    void calcVerticalMargins();

    void relativePositionOffset(int &tx, int &ty);

    virtual RenderLayer* layer() const { return m_layer; }

    virtual QRect caretRect(int offset, EAffinity affinity = UPSTREAM, int *extraWidthToEndOfLine = 0);

    virtual void paintBackgroundExtended(QPainter *p, const QColor& c, const BackgroundLayer* bgLayer, int clipy, int cliph,
                                         int _tx, int _ty, int w, int height,
                                         int bleft, int bright);

    virtual void setStaticX(int staticX);
    virtual void setStaticY(int staticY);
    virtual int staticX() const { return m_staticX; }
    virtual int staticY() const { return m_staticY; }

protected:
    virtual void paintBoxDecorations(PaintInfo& i, int _tx, int _ty);
    void paintRootBoxDecorations(PaintInfo& i, int _tx, int _ty);

    void paintBackgrounds(QPainter *p, const QColor& c, const BackgroundLayer* bgLayer, int clipy, int cliph, int _tx, int _ty, int w, int h);
    void paintBackground(QPainter *p, const QColor& c, const BackgroundLayer* bgLayer, int clipy, int cliph, int _tx, int _ty, int w, int h);
    void outlineBox(QPainter *p, int _tx, int _ty, const char *color = "red");

    virtual int borderTopExtra() const { return 0; }
    virtual int borderBottomExtra() const { return 0; }

    void calcAbsoluteHorizontal();
    void calcAbsoluteVertical();

    virtual QRect getOverflowClipRect(int tx, int ty);
    virtual QRect getClipRect(int tx, int ty);

    // the actual height of the contents + borders + padding
    int m_height;

    int m_y;

    int m_x;
    int m_width;

    int m_marginTop;
    int m_marginBottom;

    int m_marginLeft;
    int m_marginRight;

    /*
     * the minimum width the element needs, to be able to render
     * it's content without clipping
     */
    int m_minWidth;
    /* The maximum width the element can fill horizontally
     * ( = the width of the element with line breaking disabled)
     */
    int m_maxWidth;

    // Used by flexible boxes when flexing this element.
    int m_overrideSize;

    // Cached normal flow values for absolute positioned elements with static left/top values.
    int m_staticX;
    int m_staticY;

    // A pointer to our layer if we have one.  Currently only positioned elements
    // and floaters have layers.
    RenderLayer* m_layer;

    // For inline replaced elements, the inline box that owns us.
    InlineBox* m_inlineBoxWrapper;
};


}; //namespace

#endif

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线看不卡av| 欧美一区二区三区小说| 欧美日韩国产经典色站一区二区三区| 国产精品丝袜久久久久久app| 欧美a级一区二区| 欧美日韩国产欧美日美国产精品| 国产老妇另类xxxxx| 2022国产精品视频| 国产一区二区在线视频| 久久蜜桃av一区精品变态类天堂 | 国产精品午夜久久| 欧美人妇做爰xxxⅹ性高电影| 国产ts人妖一区二区| 国产日韩影视精品| 成人av网在线| 亚洲欧美经典视频| 欧美系列日韩一区| 蜜桃精品在线观看| 久久精品欧美一区二区三区麻豆 | 国产不卡在线一区| 久久国内精品自在自线400部| 精品国产乱码91久久久久久网站| 国产一区二区三区四区五区美女 | 五月天一区二区| 56国语精品自产拍在线观看| 毛片av一区二区| 婷婷激情综合网| 一区二区三区在线视频播放 | 69p69国产精品| 欧美三片在线视频观看 | 麻豆成人免费电影| 亚洲v日本v欧美v久久精品| 欧美成人三级电影在线| 不卡的看片网站| 国产91丝袜在线18| 大尺度一区二区| 日韩高清不卡一区| 日韩美女久久久| 日韩一区二区电影网| 成人黄色在线网站| 波多野结衣精品在线| 日韩av网站在线观看| 日产精品久久久久久久性色| 全部av―极品视觉盛宴亚洲| 人禽交欧美网站| 精品一区中文字幕| 亚洲成a人v欧美综合天堂| 一区二区三区久久| 五月天婷婷综合| 久久国产免费看| 国产福利精品导航| 久久精品国产精品亚洲精品| 国内精品视频一区二区三区八戒| 亚洲va在线va天堂| 麻豆视频一区二区| 国产一区91精品张津瑜| 成人丝袜高跟foot| 91精品办公室少妇高潮对白| 国产一区二区三区不卡在线观看| 国产精品88av| 91毛片在线观看| 国产成人在线网站| 一本色道久久综合狠狠躁的推荐| 国产精品自产自拍| 成人黄色一级视频| 欧美日韩成人在线一区| 久久综合色天天久久综合图片| 国产精品美日韩| 亚洲国产精品人人做人人爽| 秋霞午夜av一区二区三区| 美女视频黄频大全不卡视频在线播放| 国产一区二区福利| 在线观看视频一区| 久久综合资源网| 亚洲黄色小说网站| 国产精品国产三级国产有无不卡| 久久人人超碰精品| 亚洲青青青在线视频| 另类欧美日韩国产在线| 不卡高清视频专区| 91麻豆精品国产| 国产精品久久精品日日| 日韩电影免费一区| 99在线精品一区二区三区| 欧美日韩国产大片| 国产精品国产三级国产普通话99| 午夜久久久久久久久久一区二区| 国产成人一级电影| 欧美日韩在线不卡| 中文字幕电影一区| 久久综合国产精品| 亚洲第一成年网| 成人国产亚洲欧美成人综合网| 欧美日韩国产一区二区三区地区| 久久免费美女视频| 日韩国产高清影视| 91蜜桃在线观看| 国产丝袜在线精品| 久久国产精品免费| 欧美三级欧美一级| 国产精品天天摸av网| 奇米综合一区二区三区精品视频| 91在线视频在线| 国产精品天美传媒沈樵| 日本人妖一区二区| 欧美性xxxxxxxx| 18欧美亚洲精品| 亚洲va国产va欧美va观看| 成人免费观看av| 久久色中文字幕| 麻豆精品视频在线观看| 欧美欧美欧美欧美首页| 一区二区在线观看不卡| 成人毛片视频在线观看| 久久精品视频网| 国产麻豆精品theporn| 日韩三区在线观看| 亚洲国产精品久久人人爱蜜臀| 91麻豆免费观看| 国产精品免费视频一区| 懂色av噜噜一区二区三区av| 欧美成人精品3d动漫h| 日韩电影在线一区二区三区| 欧美老女人第四色| 国产日韩在线不卡| 国产激情视频一区二区在线观看| 日韩免费成人网| 亚洲女与黑人做爰| 不卡av在线网| 中文字幕一区二区三区在线不卡 | 午夜欧美视频在线观看| 欧美性生活一区| 亚洲成人福利片| 欧美日韩国产精品成人| 亚洲大尺度视频在线观看| 欧洲国产伦久久久久久久| 亚洲激情欧美激情| 欧美自拍偷拍午夜视频| 亚洲永久精品大片| 国产福利精品一区| 国产精品狼人久久影院观看方式| 国产宾馆实践打屁股91| 国产精品视频一二三| 粉嫩蜜臀av国产精品网站| 国产精品美女久久久久久久久 | 日韩午夜激情免费电影| 日本欧美一区二区| 欧美mv日韩mv| 国产精品99久久久久久久女警| 国产精品久久久久影视| 色综合中文字幕国产 | 欧美v亚洲v综合ⅴ国产v| 麻豆freexxxx性91精品| 精品成人一区二区三区四区| 国产一区二区免费看| 精品一区二区三区的国产在线播放| 精品国产一区二区国模嫣然| 国产福利一区二区| 亚洲色图一区二区| 欧美日韩国产区一| 国模一区二区三区白浆| 日本一二三不卡| 在线一区二区视频| 日韩主播视频在线| 成人99免费视频| 亚洲一区二区欧美激情| 91麻豆精品国产自产在线观看一区| 国产一区三区三区| 亚洲欧美在线另类| 欧美久久久久久久久久| 国产综合色视频| 一区二区在线观看视频在线观看| 欧美一级xxx| 不卡视频在线观看| 五月婷婷色综合| 国产精品五月天| 91精品免费在线| av中文字幕一区| 天天免费综合色| 国产精品久久久久久久久快鸭| 欧美日韩在线一区二区| 国产成人av在线影院| 亚洲丶国产丶欧美一区二区三区| 日韩久久久久久| 91久久免费观看| 国产精品一区二区男女羞羞无遮挡| 亚洲精品视频在线观看免费| 欧美一卡2卡三卡4卡5免费| 99在线精品免费| 国产一区二区视频在线播放| 亚洲欧美日韩在线播放| 久久久国产午夜精品| 欧美精品日韩综合在线| 99久久综合国产精品| 经典一区二区三区| 亚洲大片精品永久免费| 国产欧美日韩在线观看| 91精品国产免费| 日本福利一区二区| 国产精品一线二线三线精华|