- ProxyThread(MWindow *mwindow);
- ~ProxyThread();
- BC_Window* new_gui();
- void handle_close_event(int result);
- static void to_proxy_path(char *new_path, Asset *asset, int scale);
- static void from_proxy_path(char *new_path, Asset *asset, int scale);
- void from_proxy();
- void to_proxy();
+ ProxyRender(MWindow *mwindow, Asset *format_asset);
+ ~ProxyRender();
+ void to_proxy_path(char *new_path, Indexable *indexable, int scale);
+ static int from_proxy_path(char *new_path, Indexable *indexable, int scale);
+
+ ArrayList<Indexable *> orig_idxbls; // originals which match the proxy assets
+ ArrayList<Indexable *> orig_proxies; // proxy assets
+ Asset *add_original(Indexable *idxbl, int new_scale);
+ ArrayList<Indexable *> needed_idxbls; // originals which match the needed_assets
+ ArrayList<Asset *> needed_proxies; // assets which must be created
+ void add_needed(Indexable *idxbl, Asset *proxy);
+
+ int create_needed_proxies(int new_scale);