Thanks,
Thats exactly what I needed.
Stephen
PS Here is another version
#lang racket/gui
;;;
;;; WORLD
;;;
(define-struct world (lines))
(define the-world
(make-world '()))
; ((0 . 0) (0 . 300) (250 . 250)) ((150 . 176) (10 . 4) (280 . 10))
;;;
;;; USER LAND
;;;
(define (on-mouse-event wo
Run this command
$ sudo apt-get install libjpeg62
On 04/09/2012 04:36 PM, Jackson Lawler wrote:
> I was using DrRacket for a class using PLAI on Ubuntu 11.10 with some issues
> before the complete failure in 12.04 Beta 2.
> It was very slow when it came to scrolling with my trackpoint, but movin
I was using DrRacket for a class using PLAI on Ubuntu 11.10 with some
issues before the complete failure in 12.04 Beta 2.
It was very slow when it came to scrolling with my trackpoint, but moving
aroung with the keyboard only or with an external mouse with a wheel moved
slowly, but didn't freeze Dr
Hello,
I just compiled racket-textual-5.2.1-src-unix.tgz on Ubuntu and
discovered that db module is not in collects directory.
Not clear why so. I used db in Servlet without DrRacket before.
Anyhow, how can I get it after the installation.
(require db) throws an error instead its usual behavior
Not a dumb question at all. Hopefully more experienced minds can give a
smarter answer, but one way is to have your rectangles be separate from
gui-elements.
So you could store your rectangles in a regular old data structure.
Write code to render that to a canvas as needed. When a mouse eve
I don't have much gui programming experience, so sorry if this is a dumb
question.
I want to draw a bunch of rectangles and sub-rectangles on a canvas and
have something happen when each sub-rectangle is moused over. I was
thinking about just making each sub-rectangle its own canvas so it can
hand
On Sat, Apr 07, 2012 at 02:36:13PM -0500, Brian Mastenbrook wrote:
>
> Some other projects have decided to start with the GPL and add their own
> exception clause to it rather than modifying the LGPL. libstdc++ is an
> example of this:
The WxWidget licence provides an exception to LGPL that says
Hi Stephen,
Here is how I would do it.
/Jens Axel
#lang racket/gui
;;;
;;; WORLD
;;;
(define-struct world (lines))
(define the-world (make-world '((0 . 0) (0 . 300) (250 . 250) (150 .
176) (10 . 4) (280 . 10
;;;
;;; USER LAND
;;;
(define (on-mouse-event world event)
(if (and (send even
Hi,
I thought I'd try a simple GUI app using the world/universe mutation-free
approach, but trying to implement the 'world/universe' program design
myself.
I've got my little sketch below, but I quickly came to conclusion that
while I could use the teachpack, I don't know how to achieve the teac
9 matches
Mail list logo