Skip to content

Commit

Permalink
v0.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aplsimple committed Mar 6, 2021
1 parent 974f2ad commit 701744d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## What's that

The *aloupe v0.8* is a Tcl/Tk small widget / utility allowing to view the screen through a loupe.
The *aloupe v0.8.2* is a Tcl/Tk small widget / utility allowing to view the screen through a loupe.

It allows also

* to make screenshots of magnified images
* to pick a color from the images.

It is inspired by the Tcl/Tk wiki pages:

[A little magnifying glass](https://wiki.tcl-lang.org/page/A+little+magnifying+glass)

[A Screenshot Widget implemented with TclOO](https://wiki.tcl-lang.org/page/A+Screenshot+Widget+implemented+with+TclOO)
Expand Down Expand Up @@ -77,5 +77,5 @@ From a Tcl code, *aloupe* is run this way:
* [Demo and executables](https://github.com/aplsimple/aloupe/releases) for Linux / Windows

## License

MIT.
10 changes: 6 additions & 4 deletions aloupe.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package require treectrl
package require Img
::msgcat::mcload [file join [file dirname [info script]] msgs]

package provide aloupe 0.8.1
package provide aloupe 0.8.2

# _______________________________________________________________________ #

Expand Down Expand Up @@ -331,9 +331,11 @@ proc ::aloupe::my::Button2Click {} {
# Processes the click on 'Clipboard' button.

variable data
$data(BUT2) configure -style TButton
update idletasks
after 100 ;# just to make the click visible
if {$data(COLOR) ne ""} {
StyleButton2 yes -background $data(INVCOLOR) -foreground $data(COLOR)
update idletasks
after 60 ;# just to make the click visible
}
if {[HandleColor] && !$data(-exit) && $data(-command) ne ""} {
SaveGeometry
{*}[string map [list %c $data(COLOR)] $data(-command)]
Expand Down
4 changes: 2 additions & 2 deletions pkgIndex.tcl
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

package ifneeded aloupe 0.8.1 [list source [file join $dir aloupe.tcl]]
package ifneeded aloupe 0.8.2 [list source [file join $dir aloupe.tcl]]


# A short intro (for Ruff! docs generator:)

namespace eval aloupe {

set _ruff_preamble {
The *aloupe v0.8* is a Tcl/Tk small widget / utility allowing to view the screen through a loupe.
The *aloupe v0.8.2* is a Tcl/Tk small widget / utility allowing to view the screen through a loupe.

It allows also

Expand Down

0 comments on commit 701744d

Please sign in to comment.