From 1c191f0e66950b67726e8c15658817235215b26e Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sat, 13 Jun 2015 18:52:06 +0200 Subject: [PATCH] WINGs: Updated news with the API changes that occured between 0.95.6 and 0.95.7 Signed-off-by: Christophe CURIS --- WINGs/NEWS | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/WINGs/NEWS b/WINGs/NEWS index d1bfa7b3..1c94845d 100644 --- a/WINGs/NEWS +++ b/WINGs/NEWS @@ -155,6 +155,41 @@ wshellquote ADDED ---------------------------------------------------- +*** Fri May 15 18:44:50 CEST 2015 - Christophe + +New Tri-state type for WMButton +------------------------------- + +A new check-box type button is available with state On/Off/Tri, the later being +generally used to express "leave as-is". The states are cycled through as user +click on the button. It is created with: + btn = WMCreateButton(parent_widget, WBTTriState); + +There are is this case 3 possible values for WMSetButtonSelected/WMGetButtonSelected: + - 0 and 1, the legacy checked/unchecked states + - the new -1, when in the 3rd state + + +*** Sun Dec 7 10:52:21 CET 2014 - David + +Support for pixmap in the background of Widget +---------------------------------------------- + +The new function WMSetWidgetBackgroundPixmap was introduced to specify a pixmap +that will be displayed as the background of a widget instead of the usual plain +color. The dual WMGetWidgetBackgroundPixmap is provided too. + + +*** Sun Nov 2 13:04:14 CET 2014 - David + +Get the text of a button +------------------------ + +It was assumed that there was no need to retrieve the text from a button because +it is generally a static constant text, but there are some cases where this can +be useful, so the new function WMGetButtonText was added to the API. + + *** Thu May 9 18:24:03 CEST 2013 - Christophe Const-correctness API changes for WRaster, WUtils and WINGs @@ -172,6 +207,16 @@ This function now returns 'const char *' because its result must *not* be modified, so it may generate a const related warning in old code. +*** Fri Mar 7 00:39:28 CET 2014 - David + +New function WMCreateScaledBlendedPixmapFromFile +------------------------------------------------ + +This function can load an image from a file and if it is bigger than the +specified width/height then it will be scaled down to fit the size while +keeping the aspect ratio of the original image. + + *** Mon Oct 14 19:42:42 EEST 2002 - Dan Double buffering -- 2.11.4.GIT