Subversion Repositories Filer-Free

Rev

Rev 31 | Rev 33 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31 Rev 32
Line 140... Line 140...
140
        // Get mouse button state for later use.
140
        // Get mouse button state for later use.
141
        // (Do this at an early stage in case it changes.)
141
        // (Do this at an early stage in case it changes.)
142
        wimp_pointer info;
142
        wimp_pointer info;
143
        xwimp_get_pointer_info(&info);
143
        xwimp_get_pointer_info(&info);
144
 
144
 
-
 
145
        switch (block.items[0])
-
 
146
        {
-
 
147
        case 2:
-
 
148
                _owner->select_all(1);
-
 
149
                break;
-
 
150
        case 3:
-
 
151
                _owner->select_all(0);
-
 
152
                break;
-
 
153
        }
-
 
154
 
145
        if (info.buttons&1)
155
        if (info.buttons&1)
146
        {
156
        {
147
                // If selection made with adjust click then re-open menu.
157
                // If selection made with adjust click then re-open menu.
148
                menu::show(info);
158
                menu::show(info);
149
        }
159
        }