~unity-team/unity/trunk

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/Launcher.cpp

  • Committer: Tarmac
  • Author(s): Jay Taoko
  • Date: 2012-01-03 04:54:48 UTC
  • mfrom: (1799.1.2 unity-windowthread1)
  • Revision ID: tarmac-20120103045448-40ygl1lun7gc3jhi
* Deprecated the following:
    nux::GetWindow
    nux::GetGraphicsThread
    nux::GetGraphicsEngine
  The entry point to Nux internal component is nux::GetWindowThread().

* IMTextEntry:
  changed _text to text_ and _preedit to preedit_ as per Nux.
. Fixes: . Appoved by Jason Smith.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2877
2877
 
2878
2878
  SetOffscreenRenderTarget(texture);
2879
2879
  icon_renderer->PreprocessIcons(drag_args, nux::Geometry(0, 0, _icon_size, _icon_size));
2880
 
  icon_renderer->RenderIcon(nux::GetGraphicsEngine(), arg, nux::Geometry(0, 0, _icon_size, _icon_size), nux::Geometry(0, 0, _icon_size, _icon_size));
 
2880
  icon_renderer->RenderIcon(nux::GetWindowThread()->GetGraphicsEngine(), arg, nux::Geometry(0, 0, _icon_size, _icon_size), nux::Geometry(0, 0, _icon_size, _icon_size));
2881
2881
  RestoreSystemRenderTarget();
2882
2882
}
2883
2883
 
2914
2914
    if (!g_str_equal(it, uri_list_const.Value()))
2915
2915
      continue;
2916
2916
 
2917
 
    _dnd_data.Fill(nux::GetWindow().GetDndData(uri_list_const.Value()));
 
2917
    _dnd_data.Fill(nux::GetWindowThread()->GetGraphicsDisplay().GetDndData(uri_list_const.Value()));
2918
2918
    break;
2919
2919
  }
2920
2920
 
3020
3020
      if (!g_str_equal(it, uri_list_const.Value()))
3021
3021
        continue;
3022
3022
 
3023
 
      _dnd_data.Fill(nux::GetWindow().GetDndData(uri_list_const.Value()));
 
3023
      _dnd_data.Fill(nux::GetWindowThread()->GetGraphicsDisplay().GetDndData(uri_list_const.Value()));
3024
3024
      break;
3025
3025
    }
3026
3026