diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-15 11:55:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-15 11:55:38 +0300 |
commit | be002b5d8b9137011e37df519ddc5d5174179103 (patch) | |
tree | 3b1f1bff7dbce4a73c923e557b8cdffaec96f31c /src/gui/setup_perfomance.cpp | |
parent | 54d665ca2ff9244ef4b5a6dc48424d4a3364a40c (diff) | |
download | manaplus-be002b5d8b9137011e37df519ddc5d5174179103.tar.gz manaplus-be002b5d8b9137011e37df519ddc5d5174179103.tar.bz2 manaplus-be002b5d8b9137011e37df519ddc5d5174179103.tar.xz manaplus-be002b5d8b9137011e37df519ddc5d5174179103.zip |
add option to not unload sounds after using.
It configured by default for not unload sounds/music.
Diffstat (limited to 'src/gui/setup_perfomance.cpp')
-rw-r--r-- | src/gui/setup_perfomance.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/setup_perfomance.cpp b/src/gui/setup_perfomance.cpp index 079263a2d..8c8969335 100644 --- a/src/gui/setup_perfomance.cpp +++ b/src/gui/setup_perfomance.cpp @@ -148,6 +148,11 @@ Setup_Perfomance::Setup_Perfomance(const Widget2 *const widget) : "additinal memory)"), "", "uselonglivesprites", this, "uselonglivespritesEvent"); + // TRANSLATORS: settings option + new SetupItemCheckBox(_("Cache all sounds (can use additinal memory)"), + "", "uselonglivesounds", this, + "uselonglivesoundsEvent"); + setDimension(gcn::Rectangle(0, 0, 550, 350)); } |