[Ohrrpgce] SVN: james/10355 Enable mouse right-drag scrolling on the browse screen

James Paige Bob at hamsterrepublic.com
Wed Apr 11 08:52:38 PDT 2018


On Wed, Apr 11, 2018 at 8:34 AM, Ralph Versteegen <teeemcee at gmail.com>
wrote:

>
>
> On 12 April 2018 at 03:18, James Paige <Bob at hamsterrepublic.com> wrote:
>
>> I am wondering if we should just enable this across the board for all
>> usemenu calls?
>>
>
> I would say so. I think the only place where we might want to use
> right-dragging for something else is in the sprite editor. If we want some
> special secondary action while dragging something, we could use
> left-dragging and then show a popup menu, or require holding Ctrl.
>
>

How about I enable right-drag-scrolling by default, and give MenuState a
.no_drag_scrolling member that can selectively disable it? That seems
simple enough.

All this mouse support has me thinking about finally working on an Android
port of Custom (after fufluns). It would be pretty cool to be able to work
on my game from my phone. ;)



>
>
>> It means that any menu code that does right-click-to-exit needs to check
>> IF (readmouse.release AND mouseRight) ANDALSO readmouse.drag_dist < 10
>>
>> On Wed, Apr 11, 2018 at 8:17 AM, <subversion at hamsterrepublic.com> wrote:
>>
>>> james
>>> 2018-04-11 08:17:01 -0700 (Wed, 11 Apr 2018)
>>> 54
>>> Enable mouse right-drag scrolling on the browse screen
>>> ---
>>> U   wip/browse.bas
>>> _______________________________________________
>>> Ohrrpgce mailing list
>>> ohrrpgce at lists.motherhamster.org
>>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>>
>>
>>
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>>
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20180411/3156d78d/attachment.html>


More information about the Ohrrpgce mailing list