mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
14 lines
270 B
C++
14 lines
270 B
C++
#include <CtrlLib/CtrlLib.h>
|
|
#include <plugin/jpg/jpg.h>
|
|
|
|
using namespace Upp;
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
FileSel fs;
|
|
fs.AllFilesType();
|
|
fs.WhenIconLazy = [](const String& path, Image& result) {
|
|
result = StreamRaster::LoadFileAny(path);
|
|
};
|
|
fs.ExecuteOpen();
|
|
}
|