Example #1
0
        public SmdhProperties(SMDH smdh, Icon icon)
        {
            InitializeComponent();

            Icon  = icon;
            _smdh = smdh;
        }
Example #2
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _smdh    = new SMDH(FileInfo.OpenRead());
                _bitmaps = _smdh.bmps.Select(o => new SMDHBitmapInfo {
                    Bitmap = o, Format = new RGBA(5, 6, 5).FormatName
                }).ToList <BitmapInfo>();
            }
        }
Example #3
0
        public void Load(string filename)
        {
            FileInfo = new FileInfo(filename);

            if (FileInfo.Exists)
            {
                _smdh    = new SMDH(FileInfo.OpenRead());
                _bitmaps = _smdh.bmps.Select(o => new SMDHBitmapInfo {
                    Bitmap = o, Format = Cetera.Image.Format.RGB565
                }).ToList <BitmapInfo>();
            }
        }