SputnikBarDrawer.h 995 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. ============================================================================
  3. Name : SputnikBarDrawer.h
  4. Author : Den Grigorenko
  5. Copyright : Copyright (c) 2008 Den123
  6. Description : CSputnikBarDrawer - this custom control allows to display the
  7. strenght of satellite signal.
  8. ============================================================================
  9. */
  10. #ifndef __SPUTNIK_BAR_DRAWER_H__
  11. #define __SPUTNIK_BAR_DRAWER_H__
  12. #include <coecntrl.h>
  13. #include <lbssatellite.h>
  14. // FORWARD DECLARATIONS
  15. class SFontData;
  16. class CSputnikBarDrawer : public CCoeControl
  17. {
  18. public:
  19. ~CSputnikBarDrawer();
  20. void ConstructL( const CCoeControl* aParent, SFontData* aFontData, TPositionSatelliteInfo* aData );
  21. private:
  22. void Draw( const TRect& aRect ) const;
  23. TInt DrawGrid( CWindowGc& aGc, const TRect& aRect ) const;
  24. private:
  25. SFontData* iFontData;
  26. TPositionSatelliteInfo* iData;
  27. };
  28. #endif