Mercurial > audlegacy
comparison audacious/mainwin.c @ 1799:9e37de705efa trunk
[svn] - othertext visibility enforcement
author | nenolod |
---|---|
date | Wed, 04 Oct 2006 20:10:32 -0700 |
parents | b8f082ddd9f1 |
children | e0e46bce806e |
comparison
equal
deleted
inserted
replaced
1798:565e9c1f8d4f | 1799:9e37de705efa |
---|---|
834 == TRUE) | 834 == TRUE) |
835 { | 835 { |
836 widget_hide(WIDGET(mainwin_rate_text)); | 836 widget_hide(WIDGET(mainwin_rate_text)); |
837 widget_hide(WIDGET(mainwin_freq_text)); | 837 widget_hide(WIDGET(mainwin_freq_text)); |
838 widget_hide(WIDGET(mainwin_monostereo)); | 838 widget_hide(WIDGET(mainwin_monostereo)); |
839 widget_show(WIDGET(mainwin_othertext)); | 839 |
840 if (bmp_active_skin->properties.mainwin_othertext_visible) | |
841 widget_show(WIDGET(mainwin_othertext)); | |
840 } | 842 } |
841 else | 843 else |
842 { | 844 { |
843 widget_show(WIDGET(mainwin_rate_text)); | 845 widget_show(WIDGET(mainwin_rate_text)); |
844 widget_show(WIDGET(mainwin_freq_text)); | 846 widget_show(WIDGET(mainwin_freq_text)); |
1000 textbox_set_text(mainwin_othertext, text); | 1002 textbox_set_text(mainwin_othertext, text); |
1001 | 1003 |
1002 widget_hide(WIDGET(mainwin_rate_text)); | 1004 widget_hide(WIDGET(mainwin_rate_text)); |
1003 widget_hide(WIDGET(mainwin_freq_text)); | 1005 widget_hide(WIDGET(mainwin_freq_text)); |
1004 widget_hide(WIDGET(mainwin_monostereo)); | 1006 widget_hide(WIDGET(mainwin_monostereo)); |
1005 widget_show(WIDGET(mainwin_othertext)); | 1007 |
1008 if (bmp_active_skin->properties.mainwin_othertext_visible) | |
1009 widget_show(WIDGET(mainwin_othertext)); | |
1006 } | 1010 } |
1007 else | 1011 else |
1008 { | 1012 { |
1009 widget_show(WIDGET(mainwin_rate_text)); | 1013 widget_show(WIDGET(mainwin_rate_text)); |
1010 widget_show(WIDGET(mainwin_freq_text)); | 1014 widget_show(WIDGET(mainwin_freq_text)); |