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

« back to all changes in this revision

Viewing changes to src/SimpleLauncherIcon.h

This branch add the capability of setting hard coded keybindings to the
workspace
switcher and the Trash.
In addition, each place entry can specify a shortcut in its place file like:
Shortcut=a
in the [Entry:xxx] section

In addition, there are some fixes to be able to navigate by key navigation (or
activate the shortcuts) for the special switchers: ws, places, devices and
trash.

Fixes:
Bug #617356: Super-shortcuts for apps, files, and workspace switcher    Medium
Triaged
Bug #723141: key navigation doesn't activate trash, keys, expo or places    High
In Progress

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    
36
36
    void SetIconName (const char *name);
37
37
 
38
 
    virtual void Activate ();
39
 
 
40
38
protected:
41
39
    virtual void OnMouseDown (int button);
42
40
    virtual void OnMouseUp (int button);
48
46
    
49
47
    char *m_IconName;
50
48
    nux::BaseTexture *m_Icon;
 
49
    void ActivateLauncherIcon ();
51
50
};
52
51
 
53
52
#endif // BAMFLAUNCHERICON_H