projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upgrade x265 base as provided by Andrew
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
mainerror.C
diff --git
a/cinelerra-5.1/cinelerra/mainerror.C
b/cinelerra-5.1/cinelerra/mainerror.C
index c82d23a3662379cdb61d998f263e9b7f56bacc6d..e206a22d6a7c8579acb2cd13ac875f83fed5f62d 100644
(file)
--- a/
cinelerra-5.1/cinelerra/mainerror.C
+++ b/
cinelerra-5.1/cinelerra/mainerror.C
@@
-41,18
+41,8
@@
MainError* MainError::main_error = 0;
MainErrorGUI::MainErrorGUI(MWindow *mwindow, MainError *thread, int x, int y)
: BC_Window(_(PROGRAM_NAME ": Messages"),
MainErrorGUI::MainErrorGUI(MWindow *mwindow, MainError *thread, int x, int y)
: BC_Window(_(PROGRAM_NAME ": Messages"),
- x,
- y,
- mwindow->session->ewindow_w,
- mwindow->session->ewindow_h,
- 50,
- 50,
- 1,
- 0,
- 1,
- -1,
- "",
- 1)
+ x, y, mwindow->session->ewindow_w, mwindow->session->ewindow_h,
+ xS(50), yS(50), 1, 0, 1, -1, "", 1)
{
this->mwindow = mwindow;
this->thread = thread;
{
this->mwindow = mwindow;
this->thread = thread;
@@
-67,11
+57,11
@@
void MainErrorGUI::create_objects()
lock_window("MainErrorGUI::create_objects");
BC_Button *button;
add_subwindow(button = new BC_OKButton(this));
lock_window("MainErrorGUI::create_objects");
BC_Button *button;
add_subwindow(button = new BC_OKButton(this));
- int x =
10, y = 10
;
+ int x =
xS(10), y = yS(10)
;
add_subwindow(title = new BC_Title(x, y, _("Message log:")));
add_subwindow(title = new BC_Title(x, y, _("Message log:")));
- y += title->get_h() +
5
;
+ y += title->get_h() +
yS(5)
;
add_subwindow(list = new BC_ListBox(x, y,
add_subwindow(list = new BC_ListBox(x, y,
- get_w() -
20, button->get_y() - y - 5
,
+ get_w() -
xS(20), button->get_y() - y - yS(5)
,
LISTBOX_TEXT, // Display text list or icons
&thread->errors, // Each column has an ArrayList of BC_ListBoxItems.
0, // Titles for columns. Set to 0 for no titles
LISTBOX_TEXT, // Display text list or icons
&thread->errors, // Each column has an ArrayList of BC_ListBoxItems.
0, // Titles for columns. Set to 0 for no titles
@@
-105,10
+95,6
@@
int MainErrorGUI::resize_event(int w, int h)
}
}
-
-
-
-
MainError::MainError(MWindow *mwindow)
: BC_DialogThread()
{
MainError::MainError(MWindow *mwindow)
: BC_DialogThread()
{
@@
-197,9
+183,3
@@
void MainError::show_error(const char *string)
printf("%s%s", string, len>0 && string[len-1] == '\n' ? "" : "\n");
}
printf("%s%s", string, len>0 && string[len-1] == '\n' ? "" : "\n");
}
-
-
-
-
-
-