changeset 1894:5a357f0941cb trunk

[svn] - set status text when loop-point A has been set to "LOOP-POINT A HAS BEEN SET." - go back to normal when loop-points are cleared or loop-point B is set.
author nenolod
date Mon, 23 Oct 2006 13:04:21 -0700
parents 1830d09e33bf
children 4ab001eeef36
files ChangeLog audacious/mainwin.c
diffstat 2 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 23 12:56:12 2006 -0700
+++ b/ChangeLog	Mon Oct 23 13:04:21 2006 -0700
@@ -1,3 +1,16 @@
+2006-10-23 19:56:12 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2743]
+  - integrate A-B patch, with a few changes:
+  + the A-B indicator is not compatible with freeform skins and as such
+    has been removed. once I add textbox_set_text_delayed() i will add
+    a new indicator
+  
+  trunk/audacious/credits.c |   12 ++++++++++++
+  trunk/audacious/mainwin.c |   33 ++++++++++++++++++++++++++++++++-
+  trunk/audacious/mainwin.h |    4 +++-
+  3 files changed, 47 insertions(+), 2 deletions(-)
+
+
 2006-10-23 18:42:56 +0000  William Pitcock <nenolod@nenolod.net>
   revision [2741]
   - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
--- a/audacious/mainwin.c	Mon Oct 23 12:56:12 2006 -0700
+++ b/audacious/mainwin.c	Mon Oct 23 13:04:21 2006 -0700
@@ -2926,19 +2926,23 @@
             if (ab_position_a == -1) {
                 ab_position_a = bmp_playback_get_time();
                 ab_position_b = -1;
+		mainwin_lock_info_text("LOOP-POINT A POSITION SET.");
             } else if (ab_position_b == -1) {
                 int time = bmp_playback_get_time();
                 if (time > ab_position_a)
                     ab_position_b = time;
+		mainwin_release_info_text();
             } else {
                 ab_position_a = bmp_playback_get_time();
                 ab_position_b = -1;
+		mainwin_lock_info_text("LOOP-POINT A POSITION RESET.");
             }
         }
         break;
     case MAINWIN_GENERAL_CLEARAB:
         if (playlist_get_current_length() != -1) {
             ab_position_a = ab_position_b = -1;
+	    mainwin_release_info_text();
         }
         break;
     }