All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
BatchedIconRange.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "BatchedIconAppearance.h"
6 
7 
8 namespace Eegeo
9 {
10  namespace Icons
11  {
12  // TODO: This type is pretty much BatchedTextRange with a different appearance - Make generic TBatchedRange<TApperance>?
14  {
15  public:
16  BatchedIconRange(const BatchedIconAppearance& appearance, int quadOffset, int quadCount);
17 
18  const BatchedIconAppearance& GetAppearance() const { return m_appearance; }
19  int GetQuadOffset() const { return m_quadOffset; }
20  int GetQuadCount() const { return m_quadCount; }
21 
22  private:
23  BatchedIconAppearance m_appearance;
24  int m_quadOffset;
25  int m_quadCount;
26  };
27  }
28 }