class ProxyRender
{
public:
- ProxyRender(MWindow *mwindow, Asset *format_asset);
+ ProxyRender(MWindow *mwindow, Asset *format_asset, int asset_scale);
~ProxyRender();
void to_proxy_path(char *new_path, Indexable *indexable, int scale);
static int from_proxy_path(char *new_path, Indexable *indexable, int scale);
Mutex *counter_lock;
int total_rendered;
int failed, canceled;
+ int asset_scale;
};
class ProxyDialog : public BC_DialogThread
Asset *asset;
ProxyRender *proxy_render;
- int new_scale;
- int orig_scale;
- int use_scaler;
- int auto_scale;
- int beep;
+ int orig_scale, new_scale;
+ int use_scaler, auto_scale;
+ int orig_w, orig_h;
+ float beep;
char *size_text[MAX_SIZES];
int size_factors[MAX_SIZES];
int total_sizes;
ProxyWindow *pwindow;
};
-class ProxyBeepOnDone : public BC_CheckBox
+class ProxyBeepOnDone : public BC_FPot
{
public:
ProxyBeepOnDone(ProxyWindow *pwindow, int x, int y);