aboutsummaryrefslogtreecommitdiff
path: root/src/IntResMenuItem.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-18 22:04:06 (GMT)
committerfluxgen <fluxgen>2003-05-18 22:04:06 (GMT)
commit251ca294abe7af0cbe5caf3c33052292cad42fa5 (patch)
treea2e42c98b33940dd4f590faf8b3803cf31a3d334 /src/IntResMenuItem.cc
parentb90558a9a967ddd076ba5ed5fa02f0a6160760bd (diff)
downloadfluxbox-251ca294abe7af0cbe5caf3c33052292cad42fa5.zip
fluxbox-251ca294abe7af0cbe5caf3c33052292cad42fa5.tar.bz2
moved Resource to FbTk
Diffstat (limited to 'src/IntResMenuItem.cc')
-rw-r--r--src/IntResMenuItem.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IntResMenuItem.cc b/src/IntResMenuItem.cc
index b272268..8cdb9a8 100644
--- a/src/IntResMenuItem.cc
+++ b/src/IntResMenuItem.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: IntResMenuItem.cc,v 1.1 2003/02/17 12:45:59 fluxgen Exp $ 22// $Id: IntResMenuItem.cc,v 1.2 2003/05/18 21:59:14 fluxgen Exp $
23 23
24#include "IntResMenuItem.hh" 24#include "IntResMenuItem.hh"
25#include <cstdio> 25#include <cstdio>
@@ -36,7 +36,7 @@ std::string appendIntValue(const std::string &label, int value) {
36 36
37}; 37};
38 38
39IntResMenuItem::IntResMenuItem(const char *label, Resource<int> &res, int min_val, int max_val): 39IntResMenuItem::IntResMenuItem(const char *label, FbTk::Resource<int> &res, int min_val, int max_val):
40 FbTk::MenuItem(label), m_org_label(FbTk::MenuItem::label()), 40 FbTk::MenuItem(label), m_org_label(FbTk::MenuItem::label()),
41 m_max(max_val), m_min(min_val), m_res(res) { 41 m_max(max_val), m_min(min_val), m_res(res) {
42 setLabel(appendIntValue(m_org_label, *m_res).c_str()); 42 setLabel(appendIntValue(m_org_label, *m_res).c_str());