YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
form.cpp
浏览该文件的文档.
1 /*
2  © 2010-2013 FrankHB.
3 
4  This file is part of the YSLib project, and may only be used,
5  modified, and distributed under the terms of the YSLib project
6  license, LICENSE.TXT. By continuing to use, modify, or distribute
7  this file you indicate that you have read the license and
8  understand and accept it fully.
9 */
10 
28 #include "YSLib/UI/YModules.h"
29 #include YFM_YSLib_UI_Form
30 
31 namespace YSLib
32 {
33 
34 namespace UI
35 {
36 
37 /*Form::Form(const Rect& r, const shared_ptr<Image>& hImg, IWidget* pCon)
38  : Window(r, hImg, pCon)//,
39 // Client(this, Rect::Emptyr)
40 {
41 // SetSize(Size.Width, Size.Height);
42 }
43 
44 void
45 Form::SetSize(SDst w, SDst h)
46 {
47  Window::SetSize(w, h);
48 // BitmapBuffer::SetSize(w, h);
49 // YWidget::SetSize(w, h);
50 }
51 void
52 Form::SetBounds(const Rect& r)
53 {
54  Window::SetBounds(r);
55 // Location = r.GetPoint();
56 // SetSize(r.Width, r.Height);
57 }
58 
59 void
60 Form::Draw()
61 {
62  Window::Draw();
63 // Client.Draw();
64 
65 }
66 */
67 
68 } // namespace UI;
69 
70 } // namespace YSLib;
71