Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: Scrollbars [patch]
Home

[Freeciv-Dev] Re: Scrollbars [patch]

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: mkaufman@xxxxxxxxxxxxxx
Cc: kevin@xxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Scrollbars [patch]
From: "Daniel Speyer" <Daniel_Speyer@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 06 Aug 2001 17:31:54 -0400

mkaufman@xxxxxxxxxxxxxx,Internet writes:
>you've got a gtk problem in your patch. It's spewing GTK-CRITICALs.
>
>On Sun, Aug 05, 2001 at 05:31:15AM -0700, Kevin Brown wrote:
>> Mike Kaufman <mkaufman@xxxxxxxxxxxxxx> wrote:
>> > mouse, I want the map to stop moving _now_. Not in a second, but
>> > right then.
>> 
>> Okay.  I think I've figured out how to make this happen.  Try the
>> patch I've supplied below and let me know what you think.
>
>yes, this patch seems to have solved this, which is good, but you haven't
>solved my concerns that it takes ~10sec to move any distance on the map
>and it's still choppy. I think that until these latter concerns are
>addressed, it should not be applied. I do like the idea of doing a scroll

I think I've got a solution to this.  I've put a second set of buttons
beyond the long ones (I would have put eight, but I'm not sure how to make
L-shaped buttons).  These jump roughly one screen at a time.  I've used up
very little additional screen space, so I think this might work well. 
I've also redesigned the argument passing so that it can be called
repeatedly without leaking memory.

--Daniel Speyer
"May the /src be with you, always"


>on right button press, with a center_map on right click. That seems
>elegant to me. It addresses economy of mouse movement, precision, with (i
>think) fewer lines of code. I believe that GTK will register events
>outside the gtk_window (i.e. is you end the button press off the
>civclient window, GTK will handle it correctly, someone correct me if I'm
>wrong).
>
>-mike
>
>


Attachment: gtk_scroll_patch3
Description: Binary data


[Prev in Thread] Current Thread [Next in Thread]