andrew file-exr/png/tiff mods, png add depth/compression, exr add b44-dwab, tiff...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / filepng.h
index 2263bc381a8a526ad77eb700fe6f15dff4ce19b2..42c2e6caec1189d8a9ce900f0a7cb8a8e3a4ecc9 100644 (file)
 #include "file.inc"
 #include "filebase.h"
 #include "filelist.h"
+#include "filepng.inc"
 #include "vframe.inc"
 
+
 class FilePNG : public FileList
 {
 public:
@@ -74,12 +76,16 @@ public:
 
        void create_objects();
        int close_event();
+       int update_depth(int depth);
 
        BC_WindowBase *parent_window;
        Asset *asset;
+       PNGUseAlpha *use_alpha;
+       PNGCompression *compression;
+       PNGDepth8bit *depth8;
+       PNGDepth16bit *depth16;
 };
 
-
 class PNGUseAlpha : public BC_CheckBox
 {
 public:
@@ -88,5 +94,30 @@ public:
        PNGConfigVideo *gui;
 };
 
+class PNGCompression : public BC_TumbleTextBox
+{
+public:
+        PNGCompression(PNGConfigVideo *gui, int x, int y);
+        int handle_event();
+        PNGConfigVideo *gui;
+};
+
+class PNGDepth8bit : public BC_Radial
+{
+public:
+       PNGDepth8bit(PNGConfigVideo *gui, int x, int y);
+       int handle_event();
+
+       PNGConfigVideo *gui;
+};
+
+class PNGDepth16bit : public BC_Radial
+{
+public:
+       PNGDepth16bit(PNGConfigVideo *gui, int x, int y);
+       int handle_event();
+
+       PNGConfigVideo *gui;
+};
 
 #endif