| 14 | { |
| 15 | |
| 16 | ImagePreview::ImagePreview() : Stage() |
| 17 | { |
| 18 | menuform = mksp<Form>(); |
| 19 | menuform->Location = {0, 0}; |
| 20 | menuform->Size = {fw().displayGetWidth(), fw().displayGetHeight()}; |
| 21 | |
| 22 | imageFilename = menuform->createChild<TextEdit>("", ui().getFont("smalfont")); |
| 23 | imageFilename->Location = {5, 5}; |
| 24 | imageFilename->Size = {fw().displayGetWidth() - 10, 15}; |
| 25 | imageFilename->setText("RAW:xcom3/ufodata/isobord1.dat:640:128:xcom3/ufodata/pal_01.dat"); |
| 26 | |
| 27 | imageView = menuform->createChild<Graphic>(); |
| 28 | updateImage(); |
| 29 | } |
| 30 | |
| 31 | ImagePreview::~ImagePreview() = default; |
| 32 |
nothing calls this directly
no test coverage detected