#include "assets.h"
#include "awindowgui.h"
#include "awindow.h"
+#include "bccmodels.h"
#include "bcsignals.h"
#include "bchash.h"
#include "cache.h"
-#include "bccmodels.h"
+#include "clip.h"
#include "clippopup.h"
#include "cursors.h"
#include "cwindowgui.h"
mwindow->theme->get_awindow_sizes(this);
load_defaults(mwindow->defaults);
- add_subwindow(asset_list = new AWindowAssets(mwindow, this,
- mwindow->theme->alist_x, mwindow->theme->alist_y,
- mwindow->theme->alist_w, mwindow->theme->alist_h));
+ int x1 = mwindow->theme->alist_x, y1 = mwindow->theme->alist_y + 5;
+ int w1 = mwindow->theme->alist_w, h1 = mwindow->theme->alist_h;
+ search_text = new AWindowSearchText(mwindow, this, x1, y1);
+ search_text->create_objects();
+ int dy = search_text->get_h() + 10;
+ y1 += dy; h1 -= dy;
+ add_subwindow(asset_list = new AWindowAssets(mwindow, this, x1, y1, w1, h1));
vicon_thread = new VIconThread(asset_list);
vicon_thread->start();
void AWindowGUI::reposition_objects()
{
- asset_list->reposition_window(
- mwindow->theme->alist_x, mwindow->theme->alist_y,
- mwindow->theme->alist_w, mwindow->theme->alist_h);
+ int x1 = mwindow->theme->alist_x, y1 = mwindow->theme->alist_y + 5;
+ int w1 = mwindow->theme->alist_w, h1 = mwindow->theme->alist_h;
+ search_text->reposition_window(x1, y1, w1);
+ int dy = search_text->get_h() + 10;
+ y1 += dy; h1 -= dy;
+ asset_list->reposition_window(x1, y1, w1, h1);
divider->reposition_window(
mwindow->theme->adivider_x, mwindow->theme->adivider_y,
mwindow->theme->adivider_w, mwindow->theme->adivider_h);
if( folder < 0 ||
(picon->indexable && picon->indexable->awindow_folder == folder) ||
(picon->edl && picon->edl->local_session->awindow_folder == folder) ) {
+ const char *text = search_text->get_text();
+ if( text && text[0] && !strstr(picon->get_text(), text) ) continue;
BC_ListBoxItem *item2, *item1;
dst[0].append(item1 = picon);
if( picon->edl )
dst[1].append(item2 = new BC_ListBoxItem(picon->label->textstr));
else
dst[1].append(item2 = new BC_ListBoxItem(""));
- item1->set_autoplace_text(1);
- item2->set_autoplace_text(1);
+ item1->set_autoplace_text(1); item1->set_autoplace_icon(1);
+ item2->set_autoplace_text(1); item2->set_autoplace_icon(1);
}
}
}
return BC_ListBox::focus_out_event();
}
+AWindowSearchTextBox::AWindowSearchTextBox(AWindowSearchText *search_text, int x, int y, int w)
+ : BC_TextBox(x, y, w, 1, "")
+{
+ this->search_text = search_text;
+}
+int AWindowSearchTextBox::handle_event()
+{
+ return search_text->handle_event();
+}
+AWindowSearchText::AWindowSearchText(MWindow *mwindow, AWindowGUI *gui, int x, int y)
+{
+ this->mwindow = mwindow;
+ this->gui = gui;
+ this->x = x;
+ this->y = y;
+}
+void AWindowSearchText::create_objects()
+{
+ int x1 = x, y1 = y, margin = 10;
+ gui->add_subwindow(text_title = new BC_Title(x1, y1, _("Search:")));
+ x1 += text_title->get_w() + margin;
+ int w1 = gui->get_w() - x1 - 2*margin;
+ gui->add_subwindow(text_box = new AWindowSearchTextBox(this, x1, y1, w1));
+}
+int AWindowSearchText::handle_event()
+{
+ gui->async_update_assets();
+ return 1;
+}
+int AWindowSearchText::get_w()
+{
+ return text_box->get_w() + text_title->get_w() + 10;
+}
+int AWindowSearchText::get_h()
+{
+ return bmax(text_box->get_h(),text_title->get_h());
+}
+void AWindowSearchText::reposition_window(int x, int y, int w)
+{
+ int x1 = x, y1 = y, margin = 10;
+ text_title->reposition_window(x1, y1);
+ x1 += text_title->get_w() + margin;
+ int w1 = gui->get_w() - x1 - 2*margin;
+ text_box->reposition_window(x1, y1, w1);
+}
-
-
+const char *AWindowSearchText::get_text()
+{
+ return text_box->get_text();
+}
AWindowNewFolder::AWindowNewFolder(MWindow *mwindow, AWindowGUI *gui, int x, int y)
: BC_Button(x, y, mwindow->theme->newbin_data)
AWindowAssets *asset_list;
AWindowFolders *folder_list;
AWindowDivider *divider;
+ AWindowSearchText *search_text;
// Store data to speed up responses
// Persistant data for listboxes
AWindowGUI *gui;
};
+class AWindowSearchTextBox : public BC_TextBox
+{
+public:
+ AWindowSearchTextBox(AWindowSearchText *search_text, int x, int y, int w);
+ int handle_event();
+
+ AWindowSearchText *search_text;
+};
+
+class AWindowSearchText
+{
+public:
+ AWindowSearchText(MWindow *mwindow, AWindowGUI *gui, int x, int y);
+
+ int handle_event();
+ void create_objects();
+
+ MWindow *mwindow;
+ AWindowGUI *gui;
+ int x, y;
+ BC_Title *text_title;
+ BC_TextBox *text_box;
+ int get_w();
+ int get_h();
+ void reposition_window(int x, int y, int w);
+ const char *get_text();
+};
+
class AWindowNewFolder : public BC_Button
{
public:
class AWindowGUI;
class AWindowAssets;
class AWindowDivider;
+class AWindowSearchTextBox;
+class AWindowSearchText;
class AWindowFolders;
class AWindowNewFolder;
class AWindowDeleteFolder;
thread->data_type);
// Construct listbox items
- for(int i = 0; i < plugindb.total; i++)
- standalone_data.append(new BC_ListBoxItem(_(plugindb.values[i]->title)));
for(int i = 0; i < plugin_locations.total; i++)
{
Track *track = mwindow->edl->tracks->number(plugin_locations.values[i]->module);
add_subwindow(standalone_title = new BC_Title(mwindow->theme->plugindialog_new_x,
mwindow->theme->plugindialog_new_y - 20,
_("Plugins:")));
+ int x1 = mwindow->theme->plugindialog_new_x, y1 = mwindow->theme->plugindialog_new_y;
+ int w1 = mwindow->theme->plugindialog_new_w, h1 = mwindow->theme->plugindialog_new_h;
+ add_subwindow(search_text = new PluginDialogSearchText(this, x1, y1, w1));
+ int dy = search_text->get_h() + 10;
+ y1 += dy; h1 -= dy;
+ load_plugin_list(0);
+
add_subwindow(standalone_list = new PluginDialogNew(this,
- &standalone_data,
- mwindow->theme->plugindialog_new_x,
- mwindow->theme->plugindialog_new_y,
- mwindow->theme->plugindialog_new_w,
- mwindow->theme->plugindialog_new_h));
+ &standalone_data, x1, y1, w1, h1));
//
// if(thread->plugin)
// add_subwindow(standalone_change = new PluginDialogChangeNew(mwindow,
standalone_title->reposition_window(mwindow->theme->plugindialog_new_x,
mwindow->theme->plugindialog_new_y - 20);
- standalone_list->reposition_window(mwindow->theme->plugindialog_new_x,
- mwindow->theme->plugindialog_new_y,
- mwindow->theme->plugindialog_new_w,
- mwindow->theme->plugindialog_new_h);
+ int x1 = mwindow->theme->plugindialog_new_x, y1 = mwindow->theme->plugindialog_new_y;
+ int w1 = mwindow->theme->plugindialog_new_w, h1 = mwindow->theme->plugindialog_new_h;
+ search_text->reposition_window(x1, y1, w1);
+ int dy = search_text->get_h() + 10;
+ y1 += dy; h1 -= dy;
+ standalone_list->reposition_window(x1, y1, w1, h1);
+
// if(standalone_attach)
// standalone_attach->reposition_window(mwindow->theme->plugindialog_newattach_x,
// mwindow->theme->plugindialog_newattach_y);
// standalone_change->reposition_window(mwindow->theme->plugindialog_newattach_x,
// mwindow->theme->plugindialog_newattach_y);
-
-
-
-
shared_title->reposition_window(mwindow->theme->plugindialog_shared_x,
mwindow->theme->plugindialog_shared_y - 20);
shared_list->reposition_window(mwindow->theme->plugindialog_shared_x,
PluginDialogNew::PluginDialogNew(PluginDialog *dialog,
ArrayList<BC_ListBoxItem*> *standalone_data,
- int x,
- int y,
- int w,
- int h)
- : BC_ListBox(x,
- y,
- w,
- h,
- LISTBOX_TEXT,
- standalone_data)
+ int x, int y, int w, int h)
+ : BC_ListBox(x, y, w, h, LISTBOX_TEXT, standalone_data)
{
this->dialog = dialog;
}
+
PluginDialogNew::~PluginDialogNew() { }
int PluginDialogNew::handle_event()
{
return 1;
}
+void PluginDialog::load_plugin_list(int redraw)
+{
+ standalone_data.remove_all_objects();
+ const char *text = search_text->get_text();
+
+ for( int i=0; i<plugindb.total; ++i ) {
+ const char *title = plugindb.values[i]->title;
+ if( text && text[0] && !strstr(title, text) ) continue;
+ standalone_data.append(new BC_ListBoxItem(title));
+ }
+
+ if( redraw )
+ standalone_list->draw_items(1);
+}
+
+PluginDialogSearchText::PluginDialogSearchText(PluginDialog *dialog, int x, int y, int w)
+ : BC_TextBox(x, y, w, 1, "")
+{
+ this->dialog = dialog;
+}
+
+int PluginDialogSearchText::handle_event()
+{
+ dialog->load_plugin_list(1);
+ return 1;
+}
PluginDialogSingle::PluginDialogSingle(PluginDialog *dialog, int x, int y)
: BC_CheckBox(x,
class PluginDialogDetach;
class PluginDialogNew;
class PluginDialogShared;
+class PluginDialogSearchText;
class PluginDialogModules;
class PluginDialogAttachNew;
class PluginDialogChangeNew;
int attach_module(int number);
void save_settings();
int resize_event(int w, int h);
+ void load_plugin_list(int redraw);
BC_Title *standalone_title;
PluginDialogNew *standalone_list;
BC_Title *module_title;
PluginDialogModules *module_list;
PluginDialogSingle *single_standalone;
-
+ PluginDialogSearchText *search_text;
PluginDialogThru *thru;
PluginDialog *dialog;
};
+class PluginDialogSearchText : public BC_TextBox
+{
+public:
+ PluginDialogSearchText(PluginDialog *dialog, int x, int y, int w);
+ int handle_event();
+
+ PluginDialog *dialog;
+};
/*
* class PluginDialogAttachShared : public BC_GenericButton
int cx, cy;
get_abs_cursor(cx, cy);
- cx -= mwindow->theme->get_image("clip_icon")->get_w() / 2,
- cy -= mwindow->theme->get_image("clip_icon")->get_h() / 2;
gui->drag_popup = new BC_DragWindow(gui,
mwindow->theme->get_image("clip_icon"), cx, cy);
}
int cx, cy;
get_abs_cursor(cx, cy);
- cx -= frame->get_w() / 2;
- cy -= frame->get_h() / 2;
gui->drag_popup = new BC_DragWindow(gui, frame, cx, cy);
break; }
VFrame *frame = mwindow->theme->get_image("clip_icon");
int cx, cy;
get_abs_cursor(cx, cy);
- cx -= frame->get_w() / 2;
- cy -= frame->get_h() / 2;
gui->drag_popup = new BC_DragWindow(gui, frame, cx, cy);
break; }
}
*/
#include "bcdragwindow.h"
+#include "bcbitmap.h"
#include "bcpixmap.h"
#include "vframe.h"
#include <unistd.h>
BC_DragWindow::BC_DragWindow(BC_WindowBase *parent_window,
- BC_Pixmap *pixmap, int icon_x, int icon_y)
- : BC_Popup(parent_window, icon_x, icon_y, pixmap->get_w(), pixmap->get_h(),
- -1, 0, pixmap)
+ BC_Pixmap *pixmap, int center_x, int center_y)
+ : BC_Popup(parent_window,
+ center_x - pixmap->get_w() / 2, center_y - pixmap->get_h() / 2,
+ pixmap->get_w(), pixmap->get_h(), -1, 0,
+ prepare_pixmap(pixmap, parent_window))
{
drag_pixmap = 0;
- init_x = icon_x;
- init_y = icon_y;
+ init_x = get_x();
+ init_y = get_y();
end_x = BC_INFINITY;
end_y = BC_INFINITY;
- icon_offset_x = init_x - parent_window->get_abs_cursor_x(0);
- icon_offset_y = init_y - parent_window->get_abs_cursor_y(0);
-//printf("BC_DragWindow::BC_DragWindow 1 %d %d\n", icon_offset_x, icon_offset_y);
do_animation = 1;
}
BC_DragWindow::BC_DragWindow(BC_WindowBase *parent_window,
- VFrame *frame, int icon_x, int icon_y)
- : BC_Popup(parent_window, icon_x, icon_y, frame->get_w(), frame->get_h(),
- -1, 0, prepare_frame(frame, parent_window))
+ VFrame *frame, int center_x, int center_y)
+ : BC_Popup(parent_window,
+ center_x - frame->get_w() / 2, center_y - frame->get_h() / 2,
+ frame->get_w(), frame->get_h(), -1, 0,
+ prepare_frame(frame, parent_window))
{
- init_x = icon_x;
- init_y = icon_y;
+ init_x = get_x();
+ init_y = get_y();
end_x = BC_INFINITY;
end_y = BC_INFINITY;
- icon_offset_x = init_x - parent_window->get_abs_cursor_x(0);
- icon_offset_y = init_y - parent_window->get_abs_cursor_y(0);
-//printf("BC_DragWindow::BC_DragWindow 1 %d %d\n", icon_offset_x, icon_offset_y);
do_animation = 1;
}
delete drag_pixmap;
}
-int BC_DragWindow::get_init_x(BC_WindowBase *parent_window, int icon_x)
-{
- int output_x, temp = 0;
- Window tempwin;
- XTranslateCoordinates(parent_window->top_level->display,
- parent_window->win, parent_window->top_level->rootwin,
- icon_x, temp, &output_x, &temp, &tempwin);
- return output_x;
-}
-
-int BC_DragWindow::get_init_y(BC_WindowBase *parent_window, int icon_y)
-{
- int output_y, temp = 0;
- Window tempwin;
- XTranslateCoordinates(parent_window->top_level->display,
- parent_window->win, parent_window->top_level->rootwin,
- temp, icon_y, &temp, &output_y, &tempwin);
- return output_y;
-}
-
int BC_DragWindow::cursor_motion_event()
{
int cx, cy;
get_abs_cursor(cx, cy);
- reposition_window(cx + icon_offset_x, cy + icon_offset_y, get_w(), get_h());
+ cx -= get_w() / 2;
+ cy -= get_h() / 2;
+ reposition_window(cx, cy, get_w(), get_h());
flush();
return 1;
}
return BC_WindowBase::button_release_event();
}
-int BC_DragWindow::get_offset_x()
-{
- return icon_offset_x;
-}
-
-int BC_DragWindow::get_offset_y()
-{
- return icon_offset_y;
-}
-
int BC_DragWindow::drag_failure_event()
{
if(!do_animation) return 0;
BC_Pixmap *BC_DragWindow::prepare_frame(VFrame *frame, BC_WindowBase *parent_window)
{
- VFrame *temp_frame = 0;
+ VFrame *temp_frame = frame;
int tw = frame->get_w(), th = frame->get_h();
if( frame->get_color_model() != BC_RGBA8888 ) {
temp_frame = new VFrame(tw, th, BC_RGBA8888);
temp_frame->transfer_from(frame);
}
- else
- temp_frame = new VFrame(*frame);
int tx = tw/2, ty = th/2, tx1 = tx-1, ty1 = ty-1, tx2 = tx+2, ty2 = ty+2;
int bpp = BC_CModels::calculate_pixelsize(temp_frame->get_color_model());
}
drag_pixmap = new BC_Pixmap(parent_window, temp_frame, PIXMAP_ALPHA);
- delete temp_frame;
+ if( temp_frame != frame )
+ delete temp_frame;
return drag_pixmap;
}
+BC_Pixmap *BC_DragWindow::prepare_pixmap(BC_Pixmap *pixmap, BC_WindowBase *parent_window)
+{
+ int pix_w = pixmap->get_w(), pix_h = pixmap->get_h();
+ BC_Bitmap bitmap(parent_window, pix_w, pix_h, BC_RGB888, 0);
+ Pixmap xpixmap = pixmap->get_pixmap();
+ VFrame frame(pix_w, pix_h, BC_RGB888);
+ bitmap.read_drawable(xpixmap, 0,0,&frame);
+ return prepare_frame(&frame, parent_window);
+}
class BC_DragWindow : public BC_Popup
{
public:
- BC_DragWindow(BC_WindowBase *parent_window, BC_Pixmap *pixmap, int icon_x, int icon_y);
- BC_DragWindow(BC_WindowBase *parent_window, VFrame *frame, int icon_x, int icon_y);
+ BC_DragWindow(BC_WindowBase *parent_window, BC_Pixmap *pixmap, int center_x, int center_y);
+ BC_DragWindow(BC_WindowBase *parent_window, VFrame *frame, int center_x, int center_y);
~BC_DragWindow();
int cursor_motion_event();
int button_release_event();
int drag_failure_event();
- int get_offset_x();
- int get_offset_y();
// Disable failure animation
void set_animation(int value);
BC_Pixmap *prepare_frame(VFrame *frame, BC_WindowBase *parent_window);
+ BC_Pixmap *prepare_pixmap(BC_Pixmap *pixmap, BC_WindowBase *parent_window);
private:
- static int get_init_x(BC_WindowBase *parent_window, int icon_x);
- static int get_init_y(BC_WindowBase *parent_window, int icon_y);
-
int init_x, init_y;
int end_x, end_y;
- int icon_offset_x, icon_offset_y;
int do_animation;
BC_Pixmap *drag_pixmap;
};
int cx, cy;
get_abs_cursor(cx, cy);
if( item_return->icon_vframe ) {
- cx -= item_return->icon_vframe->get_w() / 2,
- cy -= item_return->icon_vframe->get_h() / 2;
drag_popup = new BC_DragWindow(this,
item_return->icon_vframe, cx, cy);
}
else
-// this probably works not!
if( item_return->icon ) {
- cx -= item_return->icon->get_w() / 2,
- cy -= item_return->icon->get_h() / 2;
drag_popup = new BC_DragWindow(this,
item_return->icon, cx, cy);
}
else {
- cx -= drag_icon_vframe->get_w() / 2,
- cy -= drag_icon_vframe->get_h() / 2;
drag_popup = new BC_DragWindow(this,
drag_icon_vframe, cx, cy);
}
if( display_format == LISTBOX_ICONS ) {
reposition_item(data,
selection_number,
- top_level->cursor_x + drag_popup->get_offset_x() -
+ top_level->cursor_x - drag_popup->get_w() / 2 -
LISTBOX_MARGIN - 2 + xposition,
- top_level->cursor_y + drag_popup->get_offset_y() -
+ top_level->cursor_y - drag_popup->get_h() / 2 -
LISTBOX_MARGIN - 2 + yposition);
}
else
https://cinelerra-cv.org/five/Features5.pdf
http://beccatoria.dreamwidth.org/144288.html#cutid2
http://g-raffa.eu/Cinelerra/HOWTO/basics.html
-.
Cinfinity icons selected in Preferences (Creative Common
By https://creativecommons.org/licenses/by/3.0/)
.
+October 2017 New Features of note:
+ HV7 mods merged in to include X11 Direct playback for
+ large format files and Presets for plugins with edit.
+ Multiple windows available now for multiple assets.
+ Many more new icons for ffmpeg plugins + others.
+ Alternative shortcut keys for computers without numpad.
+ Snap/Cut editing and snap while dragging stickiness.
+ Snapshot capability for single frame png, jpg, or tiff.
+ Preference for Set Input Focus when window entered.
+ Upgraded Russian translation provided by Igor.
+ Search box in the Resources window to narrow choices.
September 2017 New Features of note:
Proxy Editing added to Settings pulldown.
OpenCV optional compile with 4 plugins now available.
setformat_w = get_image("setformat_bg")->get_w();
setformat_h = get_image("setformat_bg")->get_h();
setformat_x1 = 15;
- setformat_x2 = 100;
+ setformat_x2 = 110;
setformat_x3 = 315;
- setformat_x4 = 415;
+ setformat_x4 = 425;
setformat_y1 = 20;
setformat_y2 = 85;
setformat_y3 = 125;
"scope_toggle");
new_button("picture.png", editpanel_up, editpanel_hi, editpanel_dn, "picture");
- new_button("histogram.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram");
+ new_button("histogram_img.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram_img");
new_button("copy.png", editpanel_up, editpanel_hi, editpanel_dn, "copy");
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.0 r9654"
+ width="630"
+ height="560"
+ sodipodi:docname="setformat_bg.svg"
+ inkscape:export-filename="/home/dell/Downloads/CNR/ADDITIONS/them/5.1/img_for_5.1(1004)/BLOND/setformat_bg.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <metadata
+ id="metadata8">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs6">
+ <linearGradient
+ id="linearGradient3709">
+ <stop
+ style="stop-color:#1a1a1a;stop-opacity:1;"
+ offset="0"
+ id="stop3711" />
+ <stop
+ style="stop-color:#9e9e9e;stop-opacity:1;"
+ offset="1"
+ id="stop3713" />
+ </linearGradient>
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective10-3"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3709"
+ id="linearGradient3715"
+ x1="447.5"
+ y1="530"
+ x2="448.77637"
+ y2="81.708862"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.99902889,0,0,1.002011,0.28960303,-1.0330366)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3709"
+ id="linearGradient3731"
+ x1="122.52665"
+ y1="173.40161"
+ x2="122.44225"
+ y2="18.06407"
+ gradientUnits="userSpaceOnUse" />
+ </defs>
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#ded9b3"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1366"
+ inkscape:window-height="696"
+ id="namedview4"
+ showgrid="false"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:zoom="0.70710678"
+ inkscape:cx="454.5"
+ inkscape:cy="261"
+ inkscape:window-x="0"
+ inkscape:window-y="24"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2"
+ inkscape:showpageshadow="false" />
+ <rect
+ style="fill:#cecea2;fill-opacity:1;stroke:none"
+ id="rect3604"
+ width="630"
+ height="560"
+ x="0"
+ y="0" />
+ <path
+ style="fill:#c8c696;fill-opacity:1;stroke:#ded9b3;stroke-width:0.81815666;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="m 0.40907832,10.409079 239.18184168,0 0,59.181843 -239.18184168,0 0,-59.181843 z"
+ id="rect2818"
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#c8c696;fill-opacity:1;stroke:#ded9b3;stroke-width:0.99802053;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 10.49901,82.49901 0,32.85659 0,400.14539 279.00198,0 0,-419.049 -170.15328,0 0,-1.09639 C 110.86273,84.082402 108.08141,82.49901 94.10451,82.49901 l -83.6055,0 z"
+ id="rect2820"
+ sodipodi:nodetypes="ccccccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path2933"
+ d="m 309.50005,82.500049 0,31.055831 0,401.94407 310.00095,0 0,-418.8395 -202.99089,0 0,-1.10457 C 405.8772,82.642261 405.22853,82.500049 391.23263,82.500049 z"
+ style="fill:#c8c696;fill-opacity:1;stroke:#ded9b3;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ sodipodi:nodetypes="ccccccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#000000;fill-opacity:1;stroke:#ded9b3;stroke-width:2.10565186;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
+ d="m 270.94717,367.5 c 0,67.07342 -54.37376,121.44717 -121.44717,121.44717 -67.073423,0 -121.447174,-54.37375 -121.447174,-121.44717 0,-67.07342 54.373751,-121.44717 121.447174,-121.44717 67.07341,0 121.44717,54.37375 121.44717,121.44717 z"
+ id="path3707"
+ sodipodi:nodetypes="csssc"
+ inkscape:connector-curvature="0" />
+</svg>
setformat_w = get_image("setformat_bg")->get_w();
setformat_h = get_image("setformat_bg")->get_h();
setformat_x1 = 15;
- setformat_x2 = 100;
+ setformat_x2 = 110;
setformat_x3 = 315;
- setformat_x4 = 415;
+ setformat_x4 = 425;
setformat_y1 = 20;
setformat_y2 = 85;
setformat_y3 = 125;
"scope_toggle");
new_button("picture.png", editpanel_up, editpanel_hi, editpanel_dn, "picture");
- new_button("histogram.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram");
+ new_button("histogram_img.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram_img");
new_button("copy.png", editpanel_up, editpanel_hi, editpanel_dn, "copy");
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.0 r9654"
+ width="630"
+ height="560"
+ sodipodi:docname="setformat_bg.svg">
+ <metadata
+ id="metadata8">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs6">
+ <linearGradient
+ id="linearGradient3709">
+ <stop
+ style="stop-color:#1a1a1a;stop-opacity:1;"
+ offset="0"
+ id="stop3711" />
+ <stop
+ style="stop-color:#9e9e9e;stop-opacity:1;"
+ offset="1"
+ id="stop3713" />
+ </linearGradient>
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective10-3"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3709"
+ id="linearGradient3715"
+ x1="447.5"
+ y1="530"
+ x2="448.77637"
+ y2="81.708862"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.99902889,0,0,1.002011,0.28960303,-1.0330366)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3709"
+ id="linearGradient3731"
+ x1="122.52665"
+ y1="173.40161"
+ x2="122.44225"
+ y2="18.06407"
+ gradientUnits="userSpaceOnUse" />
+ </defs>
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#092340"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1366"
+ inkscape:window-height="696"
+ id="namedview4"
+ showgrid="false"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:zoom="0.77227792"
+ inkscape:cx="454.5"
+ inkscape:cy="261"
+ inkscape:window-x="0"
+ inkscape:window-y="24"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2" />
+ <rect
+ style="fill:#1a1447;fill-opacity:1;stroke:none"
+ id="rect3604"
+ width="630"
+ height="560"
+ x="0"
+ y="0" />
+ <path
+ style="fill:#939ed4;fill-opacity:1;stroke:#092340;stroke-width:0.81815666;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="m 0.40907832,10.409079 239.18184168,0 0,59.181843 -239.18184168,0 0,-59.181843 z"
+ id="rect2818"
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#939ed4;fill-opacity:1;stroke:#092340;stroke-width:0.99802053;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 10.49901,82.49901 0,32.85659 0,400.14539 279.00198,0 0,-419.049 -170.15328,0 0,-1.09639 C 110.86273,84.082402 108.08141,82.49901 94.10451,82.49901 l -83.6055,0 z"
+ id="rect2820"
+ sodipodi:nodetypes="ccccccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path2933"
+ d="m 309.50005,82.500049 0,31.055831 0,401.94407 310.00095,0 0,-418.8395 -202.99089,0 0,-1.10457 C 405.8772,82.642261 405.22853,82.500049 391.23263,82.500049 z"
+ style="fill:#939ed4;fill-opacity:1;stroke:#092340;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ sodipodi:nodetypes="ccccccccc"
+ inkscape:connector-curvature="0"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90" />
+ <path
+ style="fill:#000000;fill-opacity:1;stroke:#092340;stroke-width:2.10565186;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
+ d="m 270.94717,367.5 c 0,67.07342 -54.37376,121.44717 -121.44717,121.44717 -67.073423,0 -121.447174,-54.37375 -121.447174,-121.44717 0,-67.07342 54.373751,-121.44717 121.447174,-121.44717 67.07341,0 121.44717,54.37375 121.44717,121.44717 z"
+ id="path3707"
+ sodipodi:nodetypes="csssc"
+ inkscape:connector-curvature="0" />
+</svg>
"scope_toggle");
new_button("picture.png", editpanel_up, editpanel_hi, editpanel_dn, "picture");
- new_button("histogram.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram");
+ new_button("histogram_img.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram_img");
new_button("copy.png", editpanel_up, editpanel_hi, editpanel_dn, "copy");
new_button("commercial.png", editpanel_up, editpanel_hi, editpanel_dn, "commercial");
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.0 r9654"
+ width="630"
+ height="560"
+ sodipodi:docname="setformat_bg.svg"
+ inkscape:export-filename="/home/dell/Downloads/CNR/ADDITIONS/them/5.1/img_for_5.1(1004)/HULK/setformat_bg.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <metadata
+ id="metadata8">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs6">
+ <linearGradient
+ id="linearGradient3709">
+ <stop
+ style="stop-color:#1a1a1a;stop-opacity:1;"
+ offset="0"
+ id="stop3711" />
+ <stop
+ style="stop-color:#9e9e9e;stop-opacity:1;"
+ offset="1"
+ id="stop3713" />
+ </linearGradient>
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective10-3"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3709"
+ id="linearGradient3715"
+ x1="447.5"
+ y1="530"
+ x2="448.77637"
+ y2="81.708862"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.99902889,0,0,1.002011,0.28960303,-1.0330366)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3709"
+ id="linearGradient3731"
+ x1="122.52665"
+ y1="173.40161"
+ x2="122.44225"
+ y2="18.06407"
+ gradientUnits="userSpaceOnUse" />
+ </defs>
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#560070"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1366"
+ inkscape:window-height="696"
+ id="namedview4"
+ showgrid="false"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:zoom="0.38613896"
+ inkscape:cx="454.5"
+ inkscape:cy="261"
+ inkscape:window-x="0"
+ inkscape:window-y="24"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2"
+ inkscape:showpageshadow="false" />
+ <rect
+ style="fill:#75b697;fill-opacity:1;stroke:none"
+ id="rect3604"
+ width="630"
+ height="560"
+ x="0"
+ y="0" />
+ <path
+ style="fill:#82d4a9;fill-opacity:1;stroke:#560070;stroke-width:0.81815666;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="m 0.40907832,10.409079 239.18184168,0 0,59.181843 -239.18184168,0 0,-59.181843 z"
+ id="rect2818"
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#82d4a9;fill-opacity:1;stroke:#560070;stroke-width:0.99802053;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 10.49901,82.49901 0,32.85659 0,400.14539 279.00198,0 0,-419.049 -170.15328,0 0,-1.09639 C 110.86273,84.082402 108.08141,82.49901 94.10451,82.49901 l -83.6055,0 z"
+ id="rect2820"
+ sodipodi:nodetypes="ccccccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path2933"
+ d="m 309.50005,82.500049 0,31.055831 0,401.94407 310.00095,0 0,-418.8395 -202.99089,0 0,-1.10457 C 405.8772,82.642261 405.22853,82.500049 391.23263,82.500049 z"
+ style="fill:#82d4a9;fill-opacity:1;stroke:#560070;stroke-width:1.00010681;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ sodipodi:nodetypes="ccccccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#000000;fill-opacity:1;stroke:#560070;stroke-width:2.10565186;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
+ d="m 270.94717,367.5 c 0,67.07342 -54.37376,121.44717 -121.44717,121.44717 -67.073423,0 -121.447174,-54.37375 -121.447174,-121.44717 0,-67.07342 54.373751,-121.44717 121.447174,-121.44717 67.07341,0 121.44717,54.37375 121.44717,121.44717 z"
+ id="path3707"
+ sodipodi:nodetypes="csssc"
+ inkscape:connector-curvature="0" />
+</svg>
setformat_w = get_image("setformat_bg")->get_w();
setformat_h = get_image("setformat_bg")->get_h();
setformat_x1 = 15;
- setformat_x2 = 100;
+ setformat_x2 = 110;
setformat_x3 = 315;
- setformat_x4 = 415;
+ setformat_x4 = 425;
setformat_y1 = 20;
setformat_y2 = 85;
setformat_y3 = 125;
"scope_toggle");
new_button("picture.png", editpanel_up, editpanel_hi, editpanel_dn, "picture");
- new_button("histogram.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram");
+ new_button("histogram_img.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram_img");
new_button("copy.png", editpanel_up, editpanel_hi, editpanel_dn, "copy");
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.0 r9654"
+ width="630"
+ height="560"
+ sodipodi:docname="setformat_bg.svg">
+ <metadata
+ id="metadata8">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs6">
+ <linearGradient
+ id="linearGradient3709">
+ <stop
+ style="stop-color:#1a1a1a;stop-opacity:1;"
+ offset="0"
+ id="stop3711" />
+ <stop
+ style="stop-color:#9e9e9e;stop-opacity:1;"
+ offset="1"
+ id="stop3713" />
+ </linearGradient>
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective10-3"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3709"
+ id="linearGradient3715"
+ x1="447.5"
+ y1="530"
+ x2="448.77637"
+ y2="81.708862"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.99902889,0,0,1.002011,0.28960303,-1.0330366)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3709"
+ id="linearGradient3731"
+ x1="122.52665"
+ y1="173.40161"
+ x2="122.44225"
+ y2="18.06407"
+ gradientUnits="userSpaceOnUse" />
+ </defs>
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#70002d"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1366"
+ inkscape:window-height="696"
+ id="namedview4"
+ showgrid="false"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:zoom="0.38613896"
+ inkscape:cx="454.5"
+ inkscape:cy="261"
+ inkscape:window-x="0"
+ inkscape:window-y="24"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2" />
+ <rect
+ style="fill:#ffb1d0;fill-opacity:1;stroke:none"
+ id="rect3604"
+ width="630"
+ height="560"
+ x="0"
+ y="0" />
+ <path
+ style="fill:#d46a95;fill-opacity:1;stroke:#70002d;stroke-width:0.81815666;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="m 0.40907832,10.409079 239.18184168,0 0,59.181843 -239.18184168,0 0,-59.181843 z"
+ id="rect2818"
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#d46a95;fill-opacity:1;stroke:#70002d;stroke-width:0.99802053;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 10.49901,82.49901 0,32.85659 0,400.14539 279.00198,0 0,-419.049 -170.15328,0 0,-1.09639 C 110.86273,84.082402 108.08141,82.49901 94.10451,82.49901 l -83.6055,0 z"
+ id="rect2820"
+ sodipodi:nodetypes="ccccccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path2933"
+ d="m 309.50005,82.500049 0,31.055831 0,401.94407 310.00095,0 0,-418.8395 -202.99089,0 0,-1.10457 C 405.8772,82.642261 405.22853,82.500049 391.23263,82.500049 z"
+ style="fill:#d46a95;fill-opacity:1;stroke:#70002d;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ sodipodi:nodetypes="ccccccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#000000;fill-opacity:1;stroke:#70002d;stroke-width:2.10565186;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
+ d="m 270.94717,367.5 c 0,67.07342 -54.37376,121.44717 -121.44717,121.44717 -67.073423,0 -121.447174,-54.37375 -121.447174,-121.44717 0,-67.07342 54.373751,-121.44717 121.447174,-121.44717 67.07341,0 121.44717,54.37375 121.44717,121.44717 z"
+ id="path3707"
+ sodipodi:nodetypes="csssc"
+ inkscape:connector-curvature="0" />
+</svg>
setformat_w = get_image("setformat_bg")->get_w();
setformat_h = get_image("setformat_bg")->get_h();
setformat_x1 = 15;
- setformat_x2 = 100;
+ setformat_x2 = 110;
setformat_x3 = 315;
- setformat_x4 = 415;
+ setformat_x4 = 425;
setformat_y1 = 20;
setformat_y2 = 85;
setformat_y3 = 125;
"scope_toggle");
new_button("picture.png", editpanel_up, editpanel_hi, editpanel_dn, "picture");
- new_button("histogram.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram");
+ new_button("histogram_img.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram_img");
new_button("copy.png", editpanel_up, editpanel_hi, editpanel_dn, "copy");
"scope_toggle");
new_button("picture.png", editpanel_up, editpanel_hi, editpanel_dn, "picture");
- new_button("histogram.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram");
+ new_button("histogram_img.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram_img");
new_button("copy.png", editpanel_up, editpanel_hi, editpanel_dn, "copy");
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.0 r9654"
+ width="630"
+ height="560"
+ sodipodi:docname="setformat_bg.svg"
+ inkscape:export-filename="/home/dell/Downloads/CNR/ADDITIONS/them/setformat_bgUNF630.png"
+ inkscape:export-xdpi="90"
+ inkscape:export-ydpi="90">
+ <metadata
+ id="metadata8">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs6">
+ <linearGradient
+ id="linearGradient3709">
+ <stop
+ style="stop-color:#1a1a1a;stop-opacity:1;"
+ offset="0"
+ id="stop3711" />
+ <stop
+ style="stop-color:#9e9e9e;stop-opacity:1;"
+ offset="1"
+ id="stop3713" />
+ </linearGradient>
+ <inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ id="perspective10" />
+ <inkscape:perspective
+ id="perspective10-3"
+ inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
+ inkscape:vp_z="1 : 0.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 0.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3709"
+ id="linearGradient3715"
+ x1="447.5"
+ y1="530"
+ x2="448.77637"
+ y2="81.708862"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.99902889,0,0,1.002011,0.28960303,-1.0330366)" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3709"
+ id="linearGradient3731"
+ x1="122.52665"
+ y1="173.40161"
+ x2="122.44225"
+ y2="18.06407"
+ gradientUnits="userSpaceOnUse" />
+ </defs>
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1366"
+ inkscape:window-height="696"
+ id="namedview4"
+ showgrid="false"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:zoom="0.77227792"
+ inkscape:cx="511.00945"
+ inkscape:cy="249.87888"
+ inkscape:window-x="0"
+ inkscape:window-y="24"
+ inkscape:window-maximized="1"
+ inkscape:current-layer="svg2"
+ inkscape:showpageshadow="false" />
+ <rect
+ style="fill:#333333;fill-opacity:1;stroke:none"
+ id="rect3604"
+ width="630"
+ height="560"
+ x="0"
+ y="0" />
+ <path
+ style="fill:#4d4d4d;fill-opacity:1;stroke:#666666;stroke-width:0.81815666;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1"
+ d="m 0.40907832,10.409079 239.18184168,0 0,59.181843 -239.18184168,0 0,-59.181843 z"
+ id="rect2818"
+ sodipodi:nodetypes="ccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#4d4d4d;fill-opacity:1;stroke:#666666;stroke-width:0.99802053;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 10.49901,82.49901 0,32.85659 0,400.14539 279.00198,0 0,-419.049 -170.15328,0 0,-1.09639 C 110.86273,84.082402 108.08141,82.49901 94.10451,82.49901 l -83.6055,0 z"
+ id="rect2820"
+ sodipodi:nodetypes="ccccccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path2933"
+ d="m 309.50005,82.500049 0,31.055831 0,401.94407 310.00095,0 0,-418.8395 -202.99089,0 0,-1.10457 C 405.8772,82.642261 405.22853,82.500049 391.23263,82.500049 z"
+ style="fill:#4d4d4d;fill-opacity:1;stroke:#666666;stroke-width:1.00010681;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ sodipodi:nodetypes="ccccccccc"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:#000000;fill-opacity:1;stroke:#666666;stroke-width:2.10565186;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1"
+ d="m 270.94717,367.5 c 0,67.07342 -54.37376,121.44717 -121.44717,121.44717 -67.073423,0 -121.447174,-54.37375 -121.447174,-121.44717 0,-67.07342 54.373751,-121.44717 121.447174,-121.44717 67.07341,0 121.44717,54.37375 121.44717,121.44717 z"
+ id="path3707"
+ sodipodi:nodetypes="csssc"
+ inkscape:connector-curvature="0" />
+</svg>
setformat_w = get_image("setformat_bg")->get_w();
setformat_h = get_image("setformat_bg")->get_h();
setformat_x1 = 15;
- setformat_x2 = 100;
+ setformat_x2 = 110;
setformat_x3 = 315;
- setformat_x4 = 415;
+ setformat_x4 = 425;
setformat_y1 = 20;
setformat_y2 = 85;
setformat_y3 = 125;
"scope_toggle");
new_button("picture.png", editpanel_up, editpanel_hi, editpanel_dn, "picture");
- new_button("histogram.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram");
+ new_button("histogram_img.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram_img");
new_button("copy.png", editpanel_up, editpanel_hi, editpanel_dn, "copy");