add yuv411 plugin
[goodguy/history.git] / cinelerra-5.1 / plugins / lens / lens.C
index 24916156ada4286bdd3863db26409fa607d72a96..43aa4f1e4d3680eaafb5281f03a7e9f468578878 100644 (file)
@@ -23,6 +23,7 @@
 #include "bchash.h"
 #include "bcsignals.h"
 #include "clip.h"
+#include "file.h"
 #include "filexml.h"
 #include "language.h"
 #include "lens.h"
@@ -358,8 +359,7 @@ const char* LensMode::to_text(int mode)
 //     int total = total_items();
 //     for(int i = 0; i < total; i++)
 //     {
-//             BC_MenuItem *item = get_item(0);
-//             remove_item(item);
+//             del_item();
 //     }
 // 
 // // Create current items
@@ -726,7 +726,7 @@ void LensMain::update_gui()
 //void LensMain::save_presets()
 //{
 //     char path[BCTEXTLEN], string[BCTEXTLEN];
-//     sprintf(path, "%slenspresets.rc", BCASTDIR);
+//     sprintf(path, "%s/lenspresets.rc", File::get_config_path());
 //     BC_Hash *defaults = new BC_Hash(path);
 //
 //// Save presets