From 6725fec8856b4ff171dacf867f716e7aa064b800 Mon Sep 17 00:00:00 2001 From: Bogdan Popa Date: Sat, 10 Feb 2024 17:07:28 +0200 Subject: [PATCH] build: bump version, document image change --- gui-easy-lib/info.rkt | 2 +- gui-easy/gui/easy/scribblings/reference.scrbl | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gui-easy-lib/info.rkt b/gui-easy-lib/info.rkt index a4a8220..596dde5 100644 --- a/gui-easy-lib/info.rkt +++ b/gui-easy-lib/info.rkt @@ -1,7 +1,7 @@ #lang info (define license 'BSD-3-Clause) -(define version "0.16.1") +(define version "0.17") (define collection "racket") (define deps '("base" "box-extra-lib" diff --git a/gui-easy/gui/easy/scribblings/reference.scrbl b/gui-easy/gui/easy/scribblings/reference.scrbl index b1e66f6..1b50e6a 100644 --- a/gui-easy/gui/easy/scribblings/reference.scrbl +++ b/gui-easy/gui/easy/scribblings/reference.scrbl @@ -475,7 +475,7 @@ to determine the selection index. } -@defproc[(image [path (maybe-obs/c path-string?)] +@defproc[(image [path-or-bitmap (maybe-obs/c (or/c path-string? (is-a?/c gui:bitmap%)))] [#:size size (maybe-obs/c size/c) '(#f #f)] [#:mode mode (maybe-obs/c (or/c 'fit 'fill)) 'fit]) (is-a?/c view<%>)]{ @@ -486,9 +486,12 @@ will preserve its aspect ratio, otherwise it will stretch to fill the container. - @history[#:changed "0.11.1" @elem{The canvas background is now - @racket['transparent]. Now passes @racket[#t] to the - @racket[#:try-@2x?] argument of @racket[gui:read-bitmap].}] + @history[ + #:changed "0.11.1" @elem{The canvas background is now + @racket['transparent]. Now passes @racket[#t] to the + @racket[#:try-@2x?] argument of @racket[gui:read-bitmap].} + #:changed "0.17" @elem{The first argument may now be a + @racket[gui:bitmap%].}] } @defproc[(input [value (maybe-obs/c any/c)]