Glyphs.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //---------------------------------------------------------------------------
  2. #ifndef GlyphsH
  3. #define GlyphsH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <ImgList.hpp>
  8. #include "PngImageList.hpp"
  9. //---------------------------------------------------------------------------
  10. class TGlyphsModule : public TDataModule
  11. {
  12. __published:
  13. TPngImageList *ExplorerImages;
  14. TPngImageList *SessionImages;
  15. TPngImageList *QueueImages;
  16. public:
  17. __fastcall TGlyphsModule(TComponent * Owner);
  18. bool IsLargerToolbarPossible(int Larger);
  19. __property int PixelsPerInch = { read = FBasePixelsPerInch, write = SetPixelsPerInch };
  20. __property int LargerToolbar = { read = FLargerToolbar, write = SetLargerToolbar };
  21. private:
  22. int FLargerToolbar;
  23. int FBasePixelsPerInch;
  24. int FPixelsPerInch;
  25. __fastcall TGlyphsModule();
  26. void UpdatePixelsPerInch();
  27. void SetPixelsPerInch(int PixelsPerInch);
  28. void SetLargerToolbar(int LargerToolbar);
  29. };
  30. //---------------------------------------------------------------------------
  31. extern PACKAGE TGlyphsModule * GlyphsModule;
  32. const int SiteImageIndex = 103;
  33. const int SiteColorMaskImageIndex = 104;
  34. const int LocalBrowserImageIndex = 114;
  35. //---------------------------------------------------------------------------
  36. #endif