~canonical-dx-team/unity/unity.fix-ql-losing-focus

« back to all changes in this revision

Viewing changes to src/Launcher.h

Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#define ANIM_DURATION       200
39
39
#define ANIM_DURATION_LONG  350
40
40
 
 
41
#define SUPER_TAP_DURATION  250
 
42
 
 
43
#define MAX_SUPERKEY_LABELS 10
 
44
#define LAUNCHER_ICON_SIZE  54
 
45
 
41
46
class LauncherModel;
42
47
class QuicklistView;
43
48
class LauncherIcon;
344
349
 
345
350
  void SetOffscreenRenderTarget (nux::IntrusiveSP<nux::IOpenGLBaseTexture> texture);
346
351
  void RestoreSystemRenderTarget ();
347
 
  
 
352
 
 
353
  void
 
354
  DrawRoundedRectangle (cairo_t* cr,
 
355
                        double   aspect,
 
356
                        double   x,
 
357
                        double   y,
 
358
                        double   cornerRadius,
 
359
                        double   width,
 
360
                        double   height);
 
361
 
 
362
  nux::BaseTexture*
 
363
  cairoToTexture2D (const char label,
 
364
                    int        width,
 
365
                    int        height);
 
366
 
348
367
  std::list<char *> StringToUriList (char * input);
349
368
 
350
369
  nux::HLayout* m_Layout;
424
443
  nux::BaseTexture* _arrow_empty_ltr;
425
444
  nux::BaseTexture* _arrow_empty_rtl;
426
445
 
 
446
  nux::BaseTexture* _superkey_labels[MAX_SUPERKEY_LABELS];
 
447
 
427
448
  nux::IntrusiveSP<nux::IOpenGLBaseTexture> _offscreen_drag_texture;
428
449
  nux::IntrusiveSP<nux::IOpenGLBaseTexture> _offscreen_progress_texture;
429
450