[racket-users] How to put image background?

2015-12-15 Thread Alejandro López
I want to know how to put a background image in a viewport -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more

[racket-users] ihow to do this?

2015-12-11 Thread Alejandro López
;How can I put this code: #lang racket (require 2htdp/universe) (require 2htdp/image) ;; The onMouse function takes a world and mouse event parameters, and returns a new world if a click ;; happened, or the same world if some other event happened (e.g. mouse move) (define (onMouse world x

[racket-users] how to do this?

2015-12-11 Thread Alejandro López
#lang racket (require 2htdp/universe) (require 2htdp/image) ;; The onMouse function takes a world and mouse event parameters, and returns a new world if a click ;; happened, or the same world if some other event happened (e.g. mouse move) (define (onMouse world x y ev) (if (equal? ev

Re: [racket-users] Hello everybody, i need help again :( sorry but i dont know much of Racket

2015-12-01 Thread Alejandro López
El lunes, 30 de noviembre de 2015, 19:02:35 (UTC-5), Matthias Felleisen escribió: > Don't use the old X graphics library. Use > > #lang racket/gui > > instead. -- Matthias > > > > On Nov 30, 2015, at 3:51 PM, Alejandro López <alejitoflo...@gmail.com&g

Re: [racket-users] Hello everybody, i need help again :( sorry but i dont know much of Racket

2015-12-01 Thread Alejandro López
But i need this in the old library :( -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit

[racket-users] Hello everybody, i need help again :( sorry but i dont know much of Racket

2015-11-30 Thread Alejandro López
I have this code: ;purpose ;Creating play noughts and crosses ;Include graphics library (Require (lib "Graphics.ss" "graphics")) ;Open graphics library (Open-graphics) ;Create window (Define window (open-viewport "three in one" 500 500)) ;background color ((Draw-viewport window) "black")

[racket-users] Hello everybody, i need help again :( sorry but i dont know much of Racket

2015-11-30 Thread Alejandro López
I have this code: #lang racket ;purpose ;Creating play noughts and crosses ;Include graphics library (require (lib "Graphics.ss" "graphics")) ;Open graphics library (open-graphics) ;Create window (define window (open-viewport "three in one" 500 500)) ;background color ((draw-viewport window)

[racket-users] Hi all, I need help in racket

2015-11-27 Thread Alejandro López
I would like to clicking on a window, then appears an image and go counting each pair is a picture and impar is other image. for example first click=image1 second click =image2 third click=image1 fourth click= image2 5 = image1 etc ... -- You received this message because you are subscribed