Skip to content

Commit

Permalink
build: bump version, document image change
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdanp committed Feb 10, 2024
1 parent d8b3707 commit 6725fec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gui-easy-lib/info.rkt
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
11 changes: 7 additions & 4 deletions gui-easy/gui/easy/scribblings/reference.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -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<%>)]{

Expand All @@ -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)]
Expand Down

0 comments on commit 6725fec

Please sign in to comment.