Back to index

unity  6.0.0
Classes | Defines | Functions
StandaloneDash.cpp File Reference
#include <gtk/gtk.h>
#include "Nux/Nux.h"
#include "Nux/VLayout.h"
#include "Nux/WindowThread.h"
#include "NuxGraphics/GraphicsEngine.h"
#include <NuxCore/Logger.h>
#include "unity-shared/BGHash.h"
#include "unity-shared/FontSettings.h"
#include "DashView.h"
#include "unity-shared/UnitySettings.h"
#include "unity-shared/DashStyle.h"

Go to the source code of this file.

Classes

class  TestRunner

Defines

#define WIDTH   1024
#define HEIGHT   768

Functions

int main (int argc, char **argv)

Define Documentation

#define HEIGHT   768

Definition at line 36 of file StandaloneDash.cpp.

#define WIDTH   1024

Definition at line 35 of file StandaloneDash.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 80 of file StandaloneDash.cpp.

{
  nux::WindowThread* wt = NULL;

  gtk_init (&argc, &argv);

  unity::BGHash bghash;
  unity::FontSettings font_settings;

  nux::NuxInitialize(0);
  nux::logging::configure_logging(::getenv("UNITY_LOG_SEVERITY"));
  // The instances for the pseudo-singletons.
  unity::Settings settings;
  unity::dash::Style dash_style;

  TestRunner *test_runner = new TestRunner ();
  wt = nux::CreateGUIThread(TEXT("Unity Dash"),
                            WIDTH, HEIGHT,
                            0,
                            &TestRunner::InitWindowThread,
                            test_runner);

  wt->Run (NULL);
  delete wt;
  return 0;
}

Here is the call graph for this function:

Here is the caller graph for this function: