aboutsummaryrefslogtreecommitdiff
path: root/src/CommandDialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/CommandDialog.cc')
-rw-r--r--src/CommandDialog.cc22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/CommandDialog.cc b/src/CommandDialog.cc
index d505e72..7dee468 100644
--- a/src/CommandDialog.cc
+++ b/src/CommandDialog.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: CommandDialog.cc,v 1.5 2004/10/06 19:02:03 akir Exp $ 23// $Id: CommandDialog.cc,v 1.6 2004/10/21 10:46:21 akir Exp $
24 24
25#include "CommandDialog.hh" 25#include "CommandDialog.hh"
26 26
@@ -43,23 +43,9 @@
43#include <stdexcept> 43#include <stdexcept>
44using namespace std; 44using namespace std;
45 45
46CommandDialog::CommandDialog(BScreen &screen, const std::string &title): 46CommandDialog::CommandDialog(BScreen &screen,
47 FbWindow(screen.rootWindow().screenNumber(), 47 const std::string &title, const std::string precommand) :
48 0, 0, 200, 1, ExposureMask), 48 FbTk::FbWindow(screen.rootWindow().screenNumber(), 0, 0, 200, 1, ExposureMask),
49 m_textbox(*this, screen.winFrameTheme().font(), ""),
50 m_label(*this, screen.winFrameTheme().font(), title),
51 m_gc(m_textbox),
52 m_screen(screen),
53 m_move_x(0),
54 m_move_y(0),
55 m_pixmap(0) {
56 init();
57
58}
59
60CommandDialog::CommandDialog(BScreen &screen, const std::string &title, const std::string &precommand):
61 FbWindow(screen.rootWindow().screenNumber(),
62 0, 0, 200, 1, ExposureMask),
63 m_textbox(*this, screen.winFrameTheme().font(), ""), 49 m_textbox(*this, screen.winFrameTheme().font(), ""),
64 m_label(*this, screen.winFrameTheme().font(), title), 50 m_label(*this, screen.winFrameTheme().font(), title),
65 m_gc(m_textbox), 51 m_gc(m_textbox),