Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Right Mouse Drag and Scroll Plugin
Pecan:
@tiwag
acknowledged, thankyou
pecan
tiwag:
updated cbDragScroll so that it builds with CB versions past SVN rev 1807 again
--- Quote from: rev 1808 ---* Changed the signature of cbPlugin::BuildModuleMenu(). It now contains an argument that prefectly describes the item in question. As a result, right-clicking on folders works just fine now.
--- End quote ---
[attachment deleted by admin]
Pecan:
--- Quote from: tiwag on January 19, 2006, 06:52:56 pm ---updated cbDragScroll so that it builds with CB versions past SVN rev 1807 again
--- Quote from: rev 1808 ---* Changed the signature of cbPlugin::BuildModuleMenu(). It now contains an argument that prefectly describes the item in question. As a result, right-clicking on folders works just fine now.
--- End quote ---
--- End quote ---
Ok, thanks
But what's that all about.
thanks
pecan
Pecan:
1/22/2006 4:18 PM
Please find attached cbDragScrollR013.zip
This version supports unix/GTK and MSwindows.
It also scrolls any window/control that allows
itself to be scrolled.
Note that some controls allow vertical scrolling
but don't allow horizontal scrolling.
Under GTK, some controls dont allow themselves
to be scrolled at all.
The editor windows are scrollable in both directions;
thanks
pecan
Pecan:
2/3/2006 1:24 PM
Please find attached cbDragScrollV015.zip
Added editor configuration panel to:
Enable/Disable mouse scrolling
Choose direction of the scroll
Choose right/middle mouse key
Set adaptive speed sensitivity
Set mouse movement to line scrolling ratio
Added png icons for config panel. These must be moved
to "...{datafolder}.../images/settings". Else the default
plugin puzzle piece will be used.
The values on the slider for the "adaptive speed sensitivity"
represent the number: 100-(sensitivity*10) divided into the
mouse moves (for which an additional line is scrolled).
The movement ratio is simply the percentage of mouse moves
needed to represent a text line.
I have been unable to test this under unix. Although the GTK code is present.
thanks
pecan
EDIT: I erroneously left LOGGING defined in cbDragScroll.h
Change it to #define LOGGING 0
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version