YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
Hover.h
浏览该文件的文档.
1 /*
2  © 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 #ifndef YSL_INC_UI_Hover_h_
29 #define YSL_INC_UI_Hover_h_ 1
30 
31 #include "YModules.h"
32 #include YFM_YSLib_UI_YWidget
33 
34 namespace YSLib
35 {
36 
37 namespace UI
38 {
39 
48 {
49 private:
50  bool entered = {};
51 
52 public:
53  std::reference_wrapper<IWidget> Widget;
54 
55  HoverUpdater(IWidget&);
56 
57  DefPred(const ynothrow, Entered, entered)
58 };
59 
60 } // namespace UI;
61 
62 } // namespace YSLib;
63 
64 #endif
65 
#define DefPred(_q, _n,...)
Definition: YBaseMacro.h:172
#define YF_API
Definition: Platform.h:64
#define ynothrow
YSLib 无异常抛出保证:若支持 noexcept 关键字, 指定特定的 noexcept 异常规范。
Definition: ydef.h:514
std::reference_wrapper< IWidget > Widget
Definition: Hover.h:53
悬停更新器。
Definition: Hover.h:47