You.i Engine
YiFocusSearchOptions.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2016. All rights reserved.
2 #ifndef _YI_FOCUS_SEARCH_OPTIONS_H_
3 #define _YI_FOCUS_SEARCH_OPTIONS_H_
4 
5 #include "framework/YiPredef.h"
6 
7 class CYISceneView;
8 
24 {
25 public:
29  typedef bool (*SearchPredicate)(const CYISceneView *);
30 
34  enum WRAP_MODE
35  {
36  WRAP,
38  };
39 
44 
49 
54 
60  WRAP_MODE GetWrapMode() const;
61 
65  bool IsValidCandidate(const CYISceneView *pView) const;
66 
67 private:
68  const SearchPredicate m_pPredicate;
69  const WRAP_MODE m_eWrapMode;
70 };
71 
76 #endif // _YI_FOCUS_SEARCH_OPTIONS_H_
A class containing focus search options.
Definition: YiFocusSearchOptions.h:23
The base class for all view types. Views are containers of renderable elements that often define inte...
Definition: YiSceneView.h:47
WRAP_MODE GetWrapMode() const
Indicates that the focus search abort when the 'end' of the candidates list is reached.
Definition: YiFocusSearchOptions.h:37
Indicates that the focus search should wrap around when the 'end' of the candidates list is reached...
Definition: YiFocusSearchOptions.h:36
SearchPredicate GetSearchPredicate() const
WRAP_MODE
Definition: YiFocusSearchOptions.h:34
bool(* SearchPredicate)(const CYISceneView *)
Definition: YiFocusSearchOptions.h:29
bool IsValidCandidate(const CYISceneView *pView) const