Back to index

unity  6.0.0
Functions | Variables
StandaloneLauncher.cpp File Reference
#include "Nux/Nux.h"
#include "Nux/Button.h"
#include "Nux/VLayout.h"
#include "Nux/HLayout.h"
#include "Nux/WindowThread.h"
#include "Nux/CheckBox.h"
#include "Nux/SpinBox.h"
#include "Nux/EditTextBox.h"
#include "Nux/StaticText.h"
#include "Nux/RangeValueInteger.h"
#include "NuxGraphics/GraphicsEngine.h"
#include <gtk/gtk.h>
#include "unity-shared/BackgroundEffectHelper.h"
#include "FavoriteStoreGSettings.h"
#include "LauncherController.h"
#include "Launcher.h"
#include "unity-shared/PanelStyle.h"
#include "unity-shared/UnitySettings.h"
#include <dbus/dbus-glib.h>

Go to the source code of this file.

Functions

void ThreadWidgetInit (nux::NThread *thread, void *InitData)
int main (int argc, char **argv)

Variables

static launcher::Controller::Ptr controller

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 52 of file StandaloneLauncher.cpp.

{
  g_type_init();
  
  gtk_init(&argc, &argv);

  dbus_g_thread_init();

  nux::NuxInitialize(0);

  GeisAdapter geis_adapter;
  unity::Settings settings;
  panel::Style panel_style;
  internal::FavoriteStoreGSettings favorite_store;

  BackgroundEffectHelper::blur_type = BLUR_NONE;
  nux::WindowThread* wt = nux::CreateGUIThread(TEXT("Unity Switcher"), 300, 800, 0, &ThreadWidgetInit, 0);

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

Here is the call graph for this function:

void ThreadWidgetInit ( nux::NThread *  thread,
void *  InitData 
)

Definition at line 46 of file StandaloneLauncher.cpp.

{
//  launcherWindow->SetGeometry (nux::Geometry(0, 0, 300, 800));
  controller.reset(new launcher::Controller(0));
}

Here is the caller graph for this function:


Variable Documentation

Definition at line 44 of file StandaloneLauncher.cpp.