From mint-bounce@lists.fishpool.fi Sat Oct 1 23:09:26 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de Date: Sat, 1 Oct 2005 23:05:56 +0200 (CEST) Message-ID: <6889143.1128200756184.JavaMail.adm-moff@moffice3.nsc.no> From: Jo Even Skarstein To: Subject: [MiNT] SV: some gem question In-Reply-To: <433E5857.80605@hysteria.sk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_20171_1036570.1128200756179" X-Priority: 3 (Normal) X-Mailer: Mobile Office v1.0 (Telenor Business Solutions) References: <433E5857.80605@hysteria.sk> X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: joska@online.no Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00 X-Spam-Level: ------=_Part_20171_1036570.1128200756179 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit > From: Miro Kropacek [mikro@hysteria.sk] > Sent: 2005-10-01 11:35:19 CEST > > I want to do some sliders in the dialog, i.e. I define "up", "down" and > slider objects.. there's no problem with moving (using that > arrows)/resizing the slider but trouble starts if I want to drag that > slider and move it up and down since whole event loop is blocked when I > press (for a longer time, let's say >2 seconds) mouse button... > > So I'm not able to catch mouse coordinates and even worse, I'm not able > to redraw slider in the realtime :( How this could be done? Using MU_M1 > and MU_M2? Sorry If I ask for something really simple but I'm out of ideas.. You could try implementing a more multitasking-friendly version of graf_slidebox(). I did something similar for graf_watchbox(), where I looped around an evnt_multi()-call until the mouse-button was released. I then called my normal event-handler for all other events than button-events. Jo Even ------=_Part_20171_1036570.1128200756179--