Glyphs.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #include <System.ImageList.hpp>
  10. //---------------------------------------------------------------------------
  11. class TGlyphsModule : public TDataModule
  12. {
  13. __published:
  14. TPngImageList *ExplorerImages;
  15. TPngImageList *SessionImages;
  16. TPngImageList *QueueImages;
  17. public:
  18. __fastcall TGlyphsModule(TComponent * Owner);
  19. bool IsLargerToolbarPossible(int Larger);
  20. __property int PixelsPerInch = { read = FBasePixelsPerInch, write = SetPixelsPerInch };
  21. __property int LargerToolbar = { read = FLargerToolbar, write = SetLargerToolbar };
  22. private:
  23. int FLargerToolbar;
  24. int FBasePixelsPerInch;
  25. int FPixelsPerInch;
  26. __fastcall TGlyphsModule();
  27. void UpdatePixelsPerInch();
  28. void SetPixelsPerInch(int PixelsPerInch);
  29. void SetLargerToolbar(int LargerToolbar);
  30. };
  31. //---------------------------------------------------------------------------
  32. extern PACKAGE TGlyphsModule * GlyphsModule;
  33. const int SiteImageIndex = 103;
  34. const int SiteColorMaskImageIndex = 104;
  35. const int LocalBrowserImageIndex = 114;
  36. //---------------------------------------------------------------------------
  37. #endif