"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/CommandWindow.cpp" between
xfe-1.41.tar.gz and xfe-1.42.tar.gz

About: Xfe (X File Explorer) is a file manager and browser (using the FOX toolkit).

CommandWindow.cpp  (xfe-1.41):CommandWindow.cpp  (xfe-1.42)
skipping to change at line 23 skipping to change at line 23
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <fx.h> #include <fx.h>
#include "xfedefs.h"
#include "icons.h" #include "icons.h"
#include "MessageBox.h" #include "MessageBox.h"
#include "CommandWindow.h" #include "CommandWindow.h"
// Map // Map
FXDEFMAP(CommandWindow) CommandWindowMap[] = FXDEFMAP(CommandWindow) CommandWindowMap[] =
{ {
FXMAPFUNC(SEL_COMMAND, CommandWindow::ID_CLOSE, CommandWindow::onCmdClose), FXMAPFUNC(SEL_COMMAND, CommandWindow::ID_CLOSE, CommandWindow::onCmdClose),
FXMAPFUNC(SEL_COMMAND, CommandWindow::ID_KILLPROCESS, CommandWindow::onCmdKi llProcess), FXMAPFUNC(SEL_COMMAND, CommandWindow::ID_KILLPROCESS, CommandWindow::onCmdKi llProcess),
FXMAPFUNC(SEL_UPDATE, CommandWindow::ID_KILLPROCESS, CommandWindow::onUpdKil lProcess), FXMAPFUNC(SEL_UPDATE, CommandWindow::ID_KILLPROCESS, CommandWindow::onUpdKil lProcess),
skipping to change at line 102 skipping to change at line 103
killed = false; killed = false;
closed = false; closed = false;
} }
// Make window // Make window
void CommandWindow::create() void CommandWindow::create()
{ {
// Set text font // Set text font
FXString fontspec; FXString fontspec;
fontspec = getApp()->reg().readStringEntry("SETTINGS", "textfont", "Helvetic a,100,normal,regular"); fontspec = getApp()->reg().readStringEntry("SETTINGS", "textfont", DEFAULT_T EXT_FONT);
if (!fontspec.empty()) if (!fontspec.empty())
{ {
FXFont* font = new FXFont(getApp(), fontspec); FXFont* font = new FXFont(getApp(), fontspec);
font->create(); font->create();
text->setFont(font); text->setFont(font);
} }
DialogBox::create(); DialogBox::create();
show(PLACEMENT_OWNER); show(PLACEMENT_OWNER);
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS