Ejemplo n.º 1
0
void uninstall_drop_files()
{
  unsubclass_hwnd();

  delete dropped_files_mutex;
  dropped_files_mutex = NULL;

  delete dropped_files;
}
Ejemplo n.º 2
0
Alleg4Display::~Alleg4Display()
{
  unique_display = NULL;

#if _WIN32
  unsubclass_hwnd((HWND)nativeHandle());
#endif

  m_surface->dispose();
  set_gfx_mode(GFX_TEXT, 0, 0, 0, 0);
}
Ejemplo n.º 3
0
  ~Alleg4Display() {
    // Put "unique_display" to null so queue_event() doesn't use
    // "m_queue" anymore.
    {
      base::scoped_lock hold(unique_display_mutex);
      unique_display = NULL;
    }

#if WIN32
    unsubclass_hwnd((HWND)nativeHandle());
#endif

    delete m_queue;

    m_surface->dispose();
    set_gfx_mode(GFX_TEXT, 0, 0, 0, 0);
  }