All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
BatchedIconRangeBuilder.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "BatchedIconAppearance.h"
6 #include "BatchedIconRange.h"
7 
8 namespace Eegeo
9 {
10  namespace Icons
11  {
12  // TODO: As with Icon Range this type is pretty general.
14  {
15  public:
17 
18  bool NeedsNewRange(const BatchedIconAppearance& appearance) const;
19  void Begin(const BatchedIconAppearance& textAppearance, int quadOffset);
20  BatchedIconRange End(int quadOffset);
21  bool IsOpen() const { return m_isOpen; }
22 
23  private:
24 
25  BatchedIconAppearance m_appearance;
26  int m_initialQuadOffset;
27  bool m_isOpen;
28  };
29  }
30 }