1.1.318a25
Pre-release-
Fixed bug with the
Rectangleclass'scopy()function not creating a copy of the position lists and just creating a
new reference -
Fixed bug with the
Colourclass's__eq__()and__nq__()functions raising anAttributeErrorwhen comparing
against a non-Colourobject -
Fixed the
hex_to_rgb()and_hex_to_rgb()functions to return a tuple, not generator -
Fixed bug with the
hex_to_hsl()andhex_to_hsv()functions both returning CMYK values -
Created new colour converter testing functions
-
Changed
Window__repr__()function to use"Window"and not"GraphWin" -
Renamed the
Windowis_resizable(),is_width_resizable(), andis_height_resizable()to usegetinstead -
The
Windowget_resizable()function now returns atuplenot alist -
Removed the
Window__str__()function since__repr__()defined the same thing -
Added
Windowgetter function testing functions -
Fixed bugs with all the CMYK colour conversion functions
-
Changed the
GraphicsErrorin theWindow's__check_open()function to include the string"GraphicsError"at the
start and returnTrueif the window is open -
Added
_check__check_open()and_check__autoflush()methods to theWindowclass to check the functionality of
private methods -
Removed the
Windowstart_move()andstop_move()methods until I can figure out what they do -
Removed the
Windowdraw_bounds()function because it wasn't required. -
Fixed the
Windowget_pos(),get_x_pos(), andget_y_pos()functions to return the value relative to 0, 0 -
Replaced all instances of the deprecated
Pointclass usages with lists inWindow.py -
The
Windowset_background()method no longer uses styles -
Changed
Windowget_bk_colour()method toget_background()to be consistent with the setter -
Windowbackground colours can not be inputted as hex strings -
Removed all auto-flush checks in the
Windowmethods because its private method__autoflush()also does that -
Renamed the variable
RELIEFtoBORDER_RELIEFS -
The
Windowset_icon()method now accepts icons in the local folder too -
Added 3 getter methods to the
Windowclass:get_draggable(),get_x_draggable_x(),get_y_draggable() -
Added 5 getter methods to the
Windowclass:get_top_right(),get_top_left(),get_bottom_right(),
get_bottom_left(), andget_center() -
Fixed bug with the
GraphicsObjectget animation time left functions raising aTypeError -
Fixed error with the
Textclone()method trying to clone aNonetype bounds object -
Added 5 getter methods to the
_BBoxclasses:get_top_right(),get_top_left(),get_bottom_right(),
get_bottom_left(),get_left(),get_right(),get_bottom(),get_top() -
Fixed the colour definition of
DARKISH_TURQUOISEfrom a purple colour to a turquoise colour -
Internally changed how the button
Buttonclass keeps a track of its current state (normal, hover, or clicked) -
Redefined the
_update_lasttimevariable which was removed for an unknown reason -
Renamed the base colour conversion functions, like
_rgb_to_hex()torgb_to_hex_nocheck() -
Added a
__version__variable that keeps track of the goopyplib version, and an__all__variable -
Added American (spelled with color) colour conversion tests to
goopylib_tests.py -
Renamed the goopylib
mathsubpackage tomathsto avoid conflicts with Python's standard library -
Removed
'x_cursor'fromCURSORSand moved it toCURSORS_WINDOWSsince it isn't available on MacOS