The International Simutrans Forum

 

Author Topic: [idea] Rollup window with mouse wheel  (Read 3873 times)

0 Members and 1 Guest are viewing this topic.

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
[idea] Rollup window with mouse wheel
« on: October 12, 2008, 12:22:03 PM »
This is only an idea which is not fully tested.
This patch may cause some problems.

- Mouse wheel up on the window title bar will roll up the window (title bar only)
- Mouse wheel down on the window title bar will roll down the window (show all window)


BTW: I couldn't make new topic on "Patches and Nightly Builds" forum, if this isn't appropriate forum, please move it.

« Last Edit: October 13, 2008, 06:59:01 AM by z9999 »

Offline VS

  • Senior Plumber (Devotee)
  • Devotee
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: [idea] Rollup window with mouse wheel
« Reply #1 on: October 12, 2008, 12:31:58 PM »
Interesting idea.

It logically follows that using middle mouse button is one of the areas with new possibilities, too...

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4082
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: [idea] Rollup window with mouse wheel
« Reply #2 on: October 12, 2008, 01:31:17 PM »
Interesting idea, too. It makes me remember Blender and other softwares that do the same. Very useful if you don't want to "miss" important tools you are using and avoid screen from being crowded.

BTW: I couldn't make new topic on "Patches and Nightly Builds" forum, if this isn't appropriate forum, please move it.

I've just set a permission allowing any member to post there. But...! "Patches and Nightly Builds" board is only for posting and discussing about "patches" and "nightly builds".  ;)

Topic moved.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9409
  • Languages: De,EN,JP
Re: [idea] Rollup window with mouse wheel
« Reply #3 on: October 12, 2008, 05:56:49 PM »
I like the possibility to do so. But I am not sure about the wheel. Maybe a double click (i.e. two clicks without moving the mouse should toggle this too)? Or should a symbol to the window added?

I would like to discuss the way of how to do it more, but the idea is great. (Maybe we should discuss in extension requests?)

Offline IgorEliezer br

  • Devotee
  • Administrator
  • *
  • Posts: 4082
  • Cake recipes are cool... REALLY!
    • Igor Eliezer Architect and Urban Planner/Arquiteto e Urbanista
  • Languages: PT, EN, AutoLISP, Python
Re: [idea] Rollup window with mouse wheel
« Reply #4 on: October 12, 2008, 06:26:21 PM »
Or should a symbol to the window added?

For me, this seems to be the best way. As far as I know, Map window has a button (a triangle icon) that works by similar way, all toolbars could have same/similar button in their titlebars.

(Maybe we should discuss in extension requests?)

Maybe, why not? I moved to "Patches and Nightly Builds" sub-board because there's a patch attacked in z9999's post.


Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
Re: [idea] Rollup window with mouse wheel
« Reply #5 on: October 13, 2008, 06:57:29 AM »
How about right click ?

IMHO...
Double click is not good, because player can't set delay time and range of click point.
New button is also not good, because there is already one minimizing button.

In fact, buttons on title bar are small and are very close each other, I often click help button instead of close button.

attached right click version.
[EDIT] This version causes many crashes, so I must rework now.
[EDIT] version 4. hopely solved the crash, but still on testing.
« Last Edit: October 13, 2008, 09:16:02 AM by z9999 »

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9409
  • Languages: De,EN,JP
Re: [idea] Rollup window with mouse wheel
« Reply #6 on: October 14, 2008, 08:40:06 PM »
I liked this version a lot and included it into the trunk.