Panda3D
 All Classes Functions Variables Enumerations
configVariableInt.cxx
1 // Filename: configVariableInt.cxx
2 // Created by: drose (20Oct04)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "configVariableInt.h"
16 #include "string_utils.h"
17 
18 ////////////////////////////////////////////////////////////////////
19 // Function: ConfigVariableInt::set_default_value
20 // Access: Private
21 // Description:
22 ////////////////////////////////////////////////////////////////////
23 void ConfigVariableInt::
24 set_default_value(int default_value) {
25  _core->set_default_value(format_string(default_value));
26 }