~siretart/unity/add-keepassx-to-whitelist

« back to all changes in this revision

Viewing changes to src/PlacesVScrollBar.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2011-04-14 22:03:42 UTC
  • mfrom: (1.1.41 upstream)
  • Revision ID: james.westby@ubuntu.com-20110414220342-4kp036kzlljxxx23
Tags: 3.8.8-0ubuntu1
* New upstream release.
  - Empty desktop after login (LP: #687660)
  - compiz crashed with SIGSEGV in nux::Area::InitiateResizeLayout()
    (LP: #757709)
  - compiz crashed on initial load of Java Citrix Client/Inkscape in
    PrivateWindow::processMap() (LP: #758307)
  - Sometimes dragging down from the panel just stops working (LP: #750155)
  - Ensure Unity prioritises icon loading from Unity-icon-theme
    (LP: #750471)
  - text truncated in Dash. Empty search from Applications or Files lense
    returns “Your search did not” due to cut off label (LP: #757362)
  - should list PlacesGroup.cpp in POTFILES.in (LP: #757663)
  - Launcher intellhide stuck after edge reveal (LP: #757810)
  - unity-preferences doesn't load translations (LP: #759682)
  - dynamic quicklists are not working (LP: #729074)
  - with second monitor, first monitor does not show nautilus
    application/global menu when displaying desktop (LP: #743149)
  - Launcher - The Workspace, File Lens, App Lens and Trash Launcher icons
    need to be rendered correctly (LP: #745555)
  - the launcher background gets dimmed after icons dnd (LP: #747304)
  - Numpad 'Enter' does not work on unity launcher when navigating through
    keyboard (LP: #760003)
  - Launcher shouldn't hover when being in the dash (LP: #760770)
  - Launcher displays key shortcuts while holding Super while the dash is
    open but the shortcuts are unfunctional (LP: #760728)
  - Running/active indicators point to space between launcher icons for
    folded icons (LP: #703067)
  - user-trash.svg and user-trash-full.svg not lens grayscale versions
    (LP: #741804)
  - code-cleanup: unregistered any established ubus-interests (LP: #757588)
  - dropdown box in places search bar does not resize when font size changes
    (LP: #759763)
  - [FFE] Centered layout for expo plugin (LP: #754689)
  - Unity launcher icons tooltips do not disappear when swiching workspaces
    (LP: #744795)
  - Dash - Update Dash scroll bar (LP: #750374)
  - Letters cut off at the end in the applications window  (LP: #753083)
* debian/control:
  - build-dep on grail/geis with version bumped
* 01_dont_dep_on_latest_geis_grail.patch:
  - not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "Nux/VScrollBar.h"
28
28
#include "NuxImage/CairoGraphics.h"
29
29
 
30
 
typedef enum
31
 
{
32
 
  STATE_OFF = 0,
33
 
  STATE_OVER,
34
 
  STATE_DOWN,
35
 
  STATE_LAST
36
 
} State;
37
 
 
38
30
class PlacesVScrollBar : public nux::VScrollBar
39
31
{
40
32
  public:
41
33
    PlacesVScrollBar (NUX_FILE_LINE_PROTO);
42
34
    ~PlacesVScrollBar ();
43
35
 
44
 
    void RecvMouseEnter (int           x,
45
 
                         int           y,
46
 
                         unsigned long button_flags,
47
 
                         unsigned long key_flags);
48
 
 
49
 
    void RecvMouseLeave (int           x,
50
 
                         int           y,
51
 
                         unsigned long button_flags,
52
 
                         unsigned long key_flags);
53
 
 
54
 
    void RecvMouseDown (int           x,
55
 
                        int           y,
56
 
                        unsigned long button_flags,
57
 
                        unsigned long key_flags);
58
 
 
59
 
    void RecvMouseUp (int           x,
60
 
                      int           y,
61
 
                      unsigned long button_flags,
62
 
                      unsigned long key_flags);
63
 
 
64
 
    void RecvMouseDrag (int           x,
65
 
                        int           y,
66
 
                        int           dx,
67
 
                        int           dy,
68
 
                        unsigned long button_flags,
69
 
                        unsigned long key_flags);
70
 
 
71
36
  protected:
72
37
    virtual void PreLayoutManagement ();
73
38
    virtual long PostLayoutManagement (long LayoutResult);
79
44
    void UpdateTexture ();
80
45
 
81
46
  private:
82
 
    bool                _drag;
83
 
    bool                _entered;
84
 
    State               _state;
85
 
    nux::BaseTexture*   _slider[STATE_LAST];
86
 
    nux::BaseTexture*   _track;
 
47
    nux::BaseTexture* _slider;
 
48
    nux::BaseTexture* _track;
87
49
};
88
50
 
89
51
#endif // PLACES_VSCROLLBAR_H