#include "SkDebuggerGUI.h"
#include "SkForceLinking.h"
-#include "SkGraphics.h"
-#include "SkImageDecoder.h"
#include <QListWidgetItem>
#include "PictureRenderer.h"
#include "SkPicturePlayback.h"
#include "SkPictureRecord.h"
#include "SkPictureData.h"
-__SK_FORCE_IMAGE_DECODER_LINKING;
-
#if defined(SK_BUILD_FOR_WIN32)
#include "SysTimer_windows.h"
#elif defined(SK_BUILD_FOR_MAC)
fMenuEdit.setDisabled(true);
fMenuNavigate.setDisabled(true);
fMenuView.setDisabled(true);
-
- SkGraphics::Init();
-}
-
-SkDebuggerGUI::~SkDebuggerGUI() {
- SkGraphics::Term();
}
void SkDebuggerGUI::actionBreakpoints() {
*/
#include "SkDebuggerGUI.h"
+#include "SkForceLinking.h"
+#include "SkGraphics.h"
#include <QApplication>
+__SK_FORCE_IMAGE_DECODER_LINKING;
+
+
static void usage(const char * argv0) {
SkDebugf("%s <input> \n", argv0);
SkDebugf(" [--help|-h]: show this help message\n");
// constuction. However, the components Qt calls (X11 libs, ..) will override that.
setenv("LC_NUMERIC", "C", 1);
#endif
+ SkGraphics::Init();
QApplication a(argc, argv);
QStringList argList = a.arguments();
}
w.show();
- return a.exec();
+ int result = a.exec();
+ SkGraphics::Term();
+ return result;
}