1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Files
winscp/source/forms/Glyphs.h
Martin Prikryl e09e95ee43 Upgrade to C++ Builder 11
Comments:
- .res files seem to be linked automatically, so explicit entries in project files caused duplicates
- JCL updated for compatibility with BCB11 (jcld28win32.inc obtained by running JCJ installer [uninstalled afterwards])

Source commit: ec28d10a0bbb346ed2bb3940aed37e777342e663
2024-10-08 07:18:18 +02:00

43 lines
1.4 KiB
C++

//---------------------------------------------------------------------------
#ifndef GlyphsH
#define GlyphsH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <ImgList.hpp>
#include "PngImageList.hpp"
#include <System.ImageList.hpp>
//---------------------------------------------------------------------------
class TGlyphsModule : public TDataModule
{
__published:
TPngImageList *ExplorerImages;
TPngImageList *SessionImages;
TPngImageList *QueueImages;
public:
__fastcall TGlyphsModule(TComponent * Owner);
bool IsLargerToolbarPossible(int Larger);
__property int PixelsPerInch = { read = FBasePixelsPerInch, write = SetPixelsPerInch };
__property int LargerToolbar = { read = FLargerToolbar, write = SetLargerToolbar };
private:
int FLargerToolbar;
int FBasePixelsPerInch;
int FPixelsPerInch;
__fastcall TGlyphsModule();
void UpdatePixelsPerInch();
void SetPixelsPerInch(int PixelsPerInch);
void SetLargerToolbar(int LargerToolbar);
};
//---------------------------------------------------------------------------
extern PACKAGE TGlyphsModule * GlyphsModule;
const int SiteImageIndex = 103;
const int SiteColorMaskImageIndex = 104;
const int LocalBrowserImageIndex = 114;
//---------------------------------------------------------------------------
#endif