add proxy scaler option, add sams icons
[goodguy/history.git] / cinelerra-5.1 / cinelerra / proxy.h
index 5436daf982502513ec22efb7125311ea6f12af0b..553ef481027bcd9ec9d5fd73f197322baad15587 100644 (file)
@@ -85,26 +85,38 @@ public:
        int orig_scale;
        int total_rendered;
        int failed;
+       int use_scaler;
        char *size_text[MAX_SIZES];
        int size_factors[MAX_SIZES];
        int total_sizes;
 };
 
-class ProxyReset : public BC_GenericButton
+class ProxyUseScaler : public BC_CheckBox
 {
 public:
-       ProxyReset(MWindow *mwindow, ProxyWindow *pwindow,
+       ProxyUseScaler(MWindow *mwindow, ProxyWindow *pwindow,
                int x, int y);
+       void update();
        int handle_event();
        MWindow *mwindow;
        ProxyWindow *pwindow;
 };
 
+class ProxyFormatTools : public FormatTools
+{
+public:
+       ProxyFormatTools(MWindow *mwindow, ProxyWindow *window, Asset *asset);
+
+       void update_format();
+       ProxyWindow *pwindow;
+};
+
 class ProxyMenu : public BC_PopupMenu
 {
 public:
        ProxyMenu(MWindow *mwindow, ProxyWindow *pwindow,
                int x, int y, int w, const char *text);
+       void update_sizes();
        int handle_event();
        MWindow *mwindow;
        ProxyWindow *pwindow;
@@ -138,8 +150,8 @@ public:
        ProxyThread *thread;
        FormatTools *format_tools;
        BC_Title *new_dimensions;
-       BC_PopupMenu *scale_factor;
-       ProxyReset *reset;
+       ProxyMenu *scale_factor;
+       ProxyUseScaler *use_scaler;
 };
 
 class ProxyFarm;