summaryrefslogtreecommitdiffstats
blob: d4d199d91e23df4d51763133bd57c96762c64892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (c) 2012 Maciej Niedzielski
 * Licensed under the simplified BSD license.
 * See Documentation/Licenses/BSD-simplified.txt for more information.
 */

#include <Swift/Controllers/HighlightAction.h>

namespace Swift {

void HighlightAction::setHighlightText(bool highlightText)
{
	highlightText_ = highlightText;
	if (!highlightText_) {
		textColor_.clear();
		textBackground_.clear();
	}
}

void HighlightAction::setPlaySound(bool playSound)
{
	playSound_ = playSound;
	if (!playSound_) {
		soundFile_.clear();
	}
}

}