projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xyz toggle camera/projector, single frame proxy fix, neophyte size fix, shortcuts...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
statusbar.C
diff --git
a/cinelerra-5.1/cinelerra/statusbar.C
b/cinelerra-5.1/cinelerra/statusbar.C
index 02b92d058c0b9d889e9a2fe4943d960de39e5930..4e86de5916f346b2926d6826cc33993d39dba551 100644
(file)
--- a/
cinelerra-5.1/cinelerra/statusbar.C
+++ b/
cinelerra-5.1/cinelerra/statusbar.C
@@
-103,24
+103,25
@@
void StatusBar::resize_event()
flash(0);
}
flash(0);
}
-void StatusBar::s
et
_message(const char *text, int color)
+void StatusBar::s
how
_message(const char *text, int color)
{
if( color < 0 ) color = mwindow->theme->message_normal;
status_text->set_color(color);
status_text->update(text);
}
{
if( color < 0 ) color = mwindow->theme->message_normal;
status_text->set_color(color);
status_text->update(text);
}
-void StatusBar::
set_default_message(const char *text
)
+void StatusBar::
reset_default_message(
)
{
{
- st
rcpy(default_msg, text)
;
-
default_message(
);
+ st
atus_color = -1
;
+
strcpy(default_msg, _("Welcome to Cinelerra.")
);
}
}
-void StatusBar::
reset
_default_message()
+void StatusBar::
update
_default_message()
{
{
- set_default_message(_("Welcome to cinelerra"));
+ status_color = status_text->get_color();
+ strcpy(default_msg, status_text->get_text());
}
void StatusBar::default_message()
{
}
void StatusBar::default_message()
{
- s
et_message(default_msg, mwindow->theme->message_normal
);
+ s
how_message(default_msg, status_color
);
}
StatusBarCancel::StatusBarCancel(MWindow *mwindow, int x, int y)
}
StatusBarCancel::StatusBarCancel(MWindow *mwindow, int x, int y)