mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Add some initial widget functionality (prefs partly working)
This commit is contained in:
21
PortabilityLayer/IconLoader.h
Normal file
21
PortabilityLayer/IconLoader.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
template<class T>
|
||||
class THandle;
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class PixMapImpl;
|
||||
class SimpleImage;
|
||||
|
||||
class IconLoader
|
||||
{
|
||||
public:
|
||||
virtual bool LoadColorIcon(const int16_t id, THandle<PixMapImpl> &outColorImage, THandle<PixMapImpl> &outBWImage, THandle<PixMapImpl> &outMaskImage) = 0;
|
||||
virtual THandle<PixMapImpl> LoadBWIcon(const int16_t id) = 0;
|
||||
|
||||
static IconLoader *GetInstance();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user