| 852 | } |
| 853 | |
| 854 | PixelFormat app_get_current_pixel_format() |
| 855 | { |
| 856 | Context* context = UIContext::instance(); |
| 857 | ASSERT(context != NULL); |
| 858 | |
| 859 | Document* document = context->activeDocument(); |
| 860 | if (document != NULL) |
| 861 | return document->sprite()->pixelFormat(); |
| 862 | else |
| 863 | return IMAGE_RGB; |
| 864 | } |
| 865 | |
| 866 | void app_default_statusbar_message() |
| 867 | { |
no test coverage detected