- } else if ( [sender tag] == 203) {
- // Update appearance effect
- } else if ( [sender tag] == 204) {
- // Update Vanish Effect
- } else if ( [sender tag] == 205) {
- // Update appearance speed
- } else if ( [sender tag] == 206) {
- // Update vanish speed
- } else if ( [sender tag] == 207) {
- // Update vanish delay
- } else if ( [sender tag] == 208) {
- // Update "Song Info window when song changes" setting.
+ } else if ( [sender tag] == 2030) {
+ int effectTag = [[sender selectedItem] tag];
+ float time = ([df floatForKey:@"statusWindowAppearanceSpeed"] ? [df floatForKey:@"statusWindowAppearanceSpeed"] : 0.8);
+ [df setInteger:effectTag forKey:@"statusWindowAppearanceEffect"];
+
+ if ( effectTag == 2100 ) {
+ [sw setEntryEffect:[[[ITCutWindowEffect alloc] initWithWindow:sw] autorelease]];
+ } else if ( effectTag == 2101 ) {
+ [sw setEntryEffect:[[[ITDissolveWindowEffect alloc] initWithWindow:sw] autorelease]];
+ } else if ( effectTag == 2102 ) {
+ [sw setEntryEffect:[[[ITSlideVerticallyWindowEffect alloc] initWithWindow:sw] autorelease]];
+ } else if ( effectTag == 2103 ) {
+ [sw setEntryEffect:[[[ITSlideHorizontallyWindowEffect alloc] initWithWindow:sw] autorelease]];
+ } else if ( effectTag == 2104 ) {
+ NSLog(@"dflhgldf");
+ [sw setEntryEffect:[[[ITPivotWindowEffect alloc] initWithWindow:sw] autorelease]];
+ }
+
+ [[sw entryEffect] setEffectTime:time];
+
+ } else if ( [sender tag] == 2040) {
+ int effectTag = [[sender selectedItem] tag];
+ float time = ([df floatForKey:@"statusWindowVanishSpeed"] ? [df floatForKey:@"statusWindowVanishSpeed"] : 0.8);
+
+ [df setInteger:[[sender selectedItem] tag] forKey:@"statusWindowVanishEffect"];
+
+ if ( effectTag == 2100 ) {
+ [sw setExitEffect:[[[ITCutWindowEffect alloc] initWithWindow:sw] autorelease]];
+ } else if ( effectTag == 2101 ) {
+ [sw setExitEffect:[[[ITDissolveWindowEffect alloc] initWithWindow:sw] autorelease]];
+ } else if ( effectTag == 2102 ) {
+ [sw setExitEffect:[[[ITSlideVerticallyWindowEffect alloc] initWithWindow:sw] autorelease]];
+ } else if ( effectTag == 2103 ) {
+ [sw setExitEffect:[[[ITSlideHorizontallyWindowEffect alloc] initWithWindow:sw] autorelease]];
+ } else if ( effectTag == 2104 ) {
+ [sw setExitEffect:[[[ITPivotWindowEffect alloc] initWithWindow:sw] autorelease]];
+ }
+
+ [[sw exitEffect] setEffectTime:time];
+
+ } else if ( [sender tag] == 2050) {
+ float newTime = (-([sender floatValue]));
+ [df setFloat:newTime forKey:@"statusWindowAppearanceSpeed"];
+ [[sw entryEffect] setEffectTime:newTime];
+ } else if ( [sender tag] == 2060) {
+ float newTime = (-([sender floatValue]));
+ [df setFloat:newTime forKey:@"statusWindowVanishSpeed"];
+ [[sw exitEffect] setEffectTime:newTime];
+ } else if ( [sender tag] == 2070) {
+ [df setFloat:[sender floatValue] forKey:@"statusWindowVanishDelay"];
+ [sw setExitDelay:[sender floatValue]];
+ } else if ( [sender tag] == 2080) {
+ [df setBool:SENDER_STATE forKey:@"showSongInfoOnChange"];