imagerysection.pkg

来自「cegui界面库」· PKG 代码 · 共 29 行

PKG
29
字号
/******************************************************************************
  ImagerySection
******************************************************************************/

class ImagerySection
{
  void render(Window& srcWindow, float base_z, const ColourRect* modColours = 0, const Rect* clipper = 0, bool clipToDisplay = false) const;

  void render(Window& srcWindow, const Rect& baseRect, float base_z, const ColourRect* modColours = 0, const Rect* clipper = 0, bool clipToDisplay = false) const;
  void addImageryComponent(const ImageryComponent& img);
  void clearImageryComponents();
  void addTextComponent(const TextComponent& text);
  void clearTextComponents();
  void clearFrameComponents();
  void addFrameComponent(const FrameComponent& frame);
  const ColourRect& getMasterColours() const;
  void setMasterColours(const ColourRect& cols);
  string getName() const;
  void setMasterColoursPropertySource(string property);
  void setMasterColoursPropertyIsColourRect(bool setting = true);
  Rect getBoundingRect(const Window& wnd) const;
  Rect getBoundingRect(const Window& wnd, const Rect& rect) const;
  //void writeXMLToStream(OutStream& out_stream) const;

  ImagerySection();
  ImagerySection(string name);
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?