Skip to content

Releases: MyreMylar/pygame_gui

Version 0.6.12

16 Jun 17:21
Compare
Choose a tag to compare

Just another quick bug fix release to solve a couple of issues with the text box that were reported.

What's Changed

Full Changelog: v_0611...v_0612

Version 0.6.11

09 Jun 18:35
7d0686e
Compare
Choose a tag to compare

pip install pygame-gui --upgrade

This release is mostly bug fixes for things that got reported as broken in the 0.6.10 release. If you find any more issues please let us know and we'll try to get them straightened out.

Big changes

  • New UIForm element by @GimLala - This new element is intended to let you create Forms (Like Google Forms) for gathering user data. It didn't quite make the 0.6.10 release but its ready for experimentation now, please let us know how you get on with it

What's Changed

Full Changelog: v_0610...v_0611

Version 0.6.10

14 Apr 11:26
18e8d73
Compare
Choose a tag to compare

pip install pygame-gui --upgrade

Hello!

It's been almost a year since the last Pygame GUI release, a period when I've personally had less time to work on the library. However that has been compensated for by the lovely Pygame GUI community contributors with this release having contributions from ten new contributors - our largest number ever.

I had intended at one point for 0.7.0 to be the next release of the library with lots of changes to the handling of loaded images - but as things go this release happened instead, with the focus mainly on changes to handling of text.

Please let me know about any bugs, and I apologise in advance to anyone doing more complicated things with the library as I have messed around with the innards quite substantially again and probably broken a few things some of you might have been relying on. I promise I will stop when we hit version 1.0.0.

Big changes

  • Switched from using pygame.freetype submodule to the pygame.font submodule internally. This has allowed us to support a wider range of written language features like right-to-left and text-shaping (via the pygame.font->SDLttf->Harfbuzz tech stack). As a result we can support languages like Arabic, Hebrew and Georgian. Though I will caveat that by saying I do not personally speak these languages, nor have any experience using GUIs designed with them in mind so I consider us at the start of the journey here for support of many of these non-latin alphabet languages. Please let me know how you get on, and PRs to adjust things are very welcome!
  • Partially as a result of the above we have basic language support for six new languages Vietnamese, Korean, Georgian, Ukrainian, Arabic & Hebrew. That brings us up to 17 languages with basic translation support now.
  • Text Selection overhaul. You can now select text and 'CTRL+C' shortcut copy text in regular Text boxes as well as Text Entry boxes, hopefully the experience of selecting text is smoother now as many bugs were located and squished in this area.
  • Three new UI Elements were added, thanks to our contributors:
    • A Tabbed container, allowing you to switch between containers of elements with the other un-selected tabs kept hidden - Added by @LondonClass.
    • An Auto-resizing container that expands to fit whenever elements are added outside of it's boundaries - Added by @GimLala
    • A 2D slider - that lets you select a two-dimensional value in a rectangular space. It's been incorporated into the colour picker window if you want to try it out. - Added by @GimLala

What's Changed (PR List)

Read more

Version 0.6.9

23 Apr 18:18
7ed5e71
Compare
Choose a tag to compare

Hello!

A new version of Pygame GUI has been released. The main reason is because of the switch over from old Pygame to the new Pygame CE distribution. This forked distribution of pygame is more up to date with developments in SDL and has already allowed this library to improve copy and paste handling and boost drawing performance. I'm hopeful it will eventually enable support of a wider range of languages too.

You can find more information on Pygame CE at its home page: https://pyga.me/ but it is currently a drop in replacement for old pygame so you shouldn't have too much to do to deal with the switch over.

I've also added a couple of minor new features and hopefully squished more bugs than I have created, you can read the full change list below.

What's Changed

Full Changelog: v_068...v_069

Version 0.6.8

08 Jan 20:49
d28046a
Compare
Choose a tag to compare

Just a small release for the new year. A few documentation updates, un-draggable windows and a parameter for line spacing in UITextBoxes.

What's Changed

New Contributors

Full Changelog: v_067...v_068

Version 0.6.7

23 Dec 11:58
4872df2
Compare
Choose a tag to compare

Hello!

We had a lovely large contribution since 0.6.6 was released and I didn't want to wait too long before putting it out.

Main Feature

@cobyj33 added a new colour parsing module which means there are many more ways to specify colours in theming files beyond the previous support for hex triplet style colours (e.g. # FF60AF ). Now you can also specify colours as RGB/A 0-255 integers ( e.g. (100, 128, 255) ), as shortened hex ( e.g. # F6A ), or by HSL/A, HSV/A or CMY colour representations and finally there are some string colour names as well. @cobyj33' s PR has an excellent table which gives examples in greater detail than I've put here.

🌈 Colours! 🌈

What else...

Snuck in a small improvement to tool tips and some house keeping to keep up with Python's new versions.

What's Changed

New Contributors

Full Changelog: v_066...v_067

Version 0.6.6

07 Dec 18:04
a36b532
Compare
Choose a tag to compare

Just a quick bug fix release. We are also dropping active support for Python 3.6 as GitHub test runners have stopped supporting it making it very hard to test it it regularly.

Thanks to all our contributors!

What's Changed

New Contributors

Full Changelog: v_065...v_066

Version 0.6.5

30 Oct 15:06
98d4b9d
Compare
Choose a tag to compare

Version 0.6.5 - Now with multi-line Text Entry

Upgrade with: pip install pygame_gui -U

This update was building on the work done in 0.6.0 with text to finally add a multi-line text entry UI element, and along the way a range of other smaller issues were fixed.

Major Features

  • NEW UITextEntryBox - Allows for the entering/editing of plain text into a word-wrapped, multi-line box. The aim was to model it closely on Windows Notepad in terms of features and behaviour.

Minor features & enhancements

  • NEW TEXT_EFFECT_SHAKE - Another text effect that applies a shaking effect to words in text boxes.
  • Better support for key word arguments for translations - most elements with text now support a text_kwargs type parameter that you can pass a dictionary of keywords too - useful if you have data to insert into translated strings.
  • NEW Polish translation - Thanks to @marcinbarylka.
  • UIDropDown enhancements - It should now open with the selected item visible in the list, allow scrolling the list with the mouse and allow for the list to be updated without having to recreate the drop down from scratch.
  • Dynamic theming changes - there are now options to update the theming of elements via functions while the application is running.
  • Centre anchors for layouts - should make it easier to stick elements in the middle of containers and have them stay there.
  • Reducing boilerplate code - UIManagers should now be an optional parameter for all elements (you still need to make at least one), I've also begun some work on passing in a four element tuple instead of a pygame.Rect which should pare down the text passed into elements down to the very minimum required.

Auto-generated pull request notes

These are all the pull requests merged for 0.6.5.

New Contributors

Full Changelog: v_064...v_065

Known Issues

  • No tab support in new text entry box.
  • No undo/redo CTRL+Z/CTRL+SHIFT+Z support in new text entry box.

Thanks for reading!

Version 0.6.4

01 Feb 16:44
Compare
Choose a tag to compare

Version 0.6.4

Actually fix the slider this time...

Version 0.6.3

01 Feb 16:21
Compare
Choose a tag to compare

Version 0.6.3

Just a quick release to try and fix the UISlider which got broke in a new way in the last patch release... oops.