Download IUP - Portable User Interface - PUC-Rio
Transcript
IUP - Portable User Interface 02-Dec-15 New: TOGGLEIMAGEON/TOGGLEIMAGEOFF, SORTIMAGEDOWN/SORTIMAGEUP and DROPIMAGE attributes for IupMatrix. Default images improved with a clear design. New: TOGGLECENTERED attribute for IupMatrix, to center the toggle and use the cell value in place of TOGGLEVALUEL:C . No text will be drawn. New: STATEREFRESH attribute for IupExpander. Changed: HLCOLOR attribute that defines an overlay color for the selected cells in IupMatrix. The default is the TXTHLCOLOR global attribute. Changed: mouse wheel processing will now occur also when the canvas is not in focus while the cursor is over the canvas in Windows. Changed: although callbacks implemented as simple strings to be executed are still valid in IupLua, returns in strings are not accepted anymore. Changed: IupFlatButton with TOGGLE=Yes, IupGLToggle, and IupToggle when a child of an IupRadio, and IupZbox immediate children will now automatically receive a handle name. Changed: IupImageLib now contains less images in its pre-compiled library, because we increased the image size to 32x32 with 32bpp in Windows. Images will be automatically resized if necessary using the IMAGESTOCKSIZE global attribute, its default value depends on the screen resolution. Changed: OPACITY and OPACITYIMAGE IupDialog attributes behavior in Windows so they can be set before map as GTK. Changed: Lua pre-compiled binaries are now separated by folders Lua51/Lua52/Lua53. Changed: distribution packages are now split according to the Lua version. Changed: renamed AXS_AUTOSCALEEQUAL to AXS_SCALEEQUAL in IupPlot. Old name still works. Now it does not depends on automatic scaling anymore. Changed: attribute SHOW_TEXT in IupGauge and IupGLProgressBar renamed to SHOWTEXT. EDIT_MODE, FOCUS_CELL renamed to EDITMODE, FOCUSCELL in IupMatrix. VISIBLE_ITEMS renamed to VISIBLEITEMS in IupList. Old names still supported. Changed: IupPopup now can turn an already visible dialog into a modal dialog and interrupt processing. A call to IupShowXY for a modal dialog will now update its position. Fixed: IupConfigDialogShow behavior when dialog is not resizable. It will also do no adjustments if the dialog is already visible. Better control of the maximize of the first time. Fixed: error report in Lua to always include the traceback. Fixed: inactive button being activated by mnemonic. Fixed: CURSORPOS global attribute set when Taskbar is at left or top in Windows. Fixed: RESTORE attribute in IupDeatchBox when old brother is not a child of old parent anymore. Added the possibility of using a different parent with value. Improved the initial new dialog size to use the current size of the child. Fixed: BUTTON_CB callback in IupButton on Windows when the dialog is destroyed. Fixed: removed luaL_register dependency from Lua >= 5.2 bindings. Fixed: MULTILINE attribute in IupMatrix to include vertical scrollbars. Fixed: IupToggle natural size when has a check box on Windows for DPI aware applications. Fixed: support for Windows 10 in global attributes and in the Manifest file. Fixed: support for DPI aware in the Manifest file on Windows. This also solves the problem of blur interfaces when using the system DPI Scaling. Fixed: VALUE attribute for IupRadio in Lua. Fixed: OPACITYIMAGE attribute in IupDialog on GTK 2.x. Fixed: behavior of AXS_AUTOSCALEEQUAL/AXS_SCALEEQUAL in IupPlot when in Zoom. Fixed: sort item in context menu not visible when read-only in IupMatrixEx. Sort sign not being erased correctly when SORTCOLUMNid was set. Fixed: missing PARAM_CB callback in Lua for IupParamBox. Fixed: IupColorDlg and IupFontDlg dialogs in 32 bits on Windows. Fixed: SORTCOLUMNCOMPARE_CB callback in IupMatrixEx. Fixed: global attribute LANGUAGE when set after the control classes being registered in Iup*Open functions. Fixed: coordinates in WHEEL_CB callback in IupCanvas when using multiple monitors on Windows. Fixed: interference of resize column and selection in IupMatrix. Fixed: finding the letter "M" in IupMatrixEx find dialog. Fixed: iup.isprint in Lua. Fixed: ICON attribute to be able to use an image from IupImageLib in IupDialog. Fixed: BARSIZE when set to 0 in IupSplit. Improved support for AUTOHIDE. Fixed: ACTIVE attribute when the element is inside a dialog that is disabled by another dialog popup. Version 3.15 (06/Jul/2015) New: "iup_class_cbs.hpp" header with macros to help creation of callbacks as methods in C++. New: SHOWNOACTIVE and SHOWMINIMIZENEXT attributes to control the PLACEMENT behavior of the IupDialog in Windows. New: global hot key (Alt+Ctrl+Shft+L) to show the current dialog layout in a IupLayoutDialog dialog. New: ELAPSEDTIME attribute available inside the ACTION_CB callback of the IupTimer. New: Tutorial section in the documentation. It is still under construction but already has several topics completed. New: IupFlatButton control that mimics a IupButton but does not have native system decorations. New: FGCOLOR display in rectangle when TITLE and IMAGE are both not defined in IupGLButton. New: IupConfig support in Lua. Changed: the DESTROY_CB callback to be called before the LDESTROY_CB callback, so it can be processed also in Language bindings. Changed: the color selection in IupFontDlg on Windows is now hidden by default. To show it must define SHOWCOLOR=Yes attribute. The Script selection since was not being used is now always hidden. Changed: improved documentation in PDF, now with table of contents. Changed: internal organization in IupLua for better nomenclature. Changed: renamed iup.TreeSetDescentsAttributes to iup.TreeSetDescendantsAttributes. Fixed: invalid lin,col at EDITION_CB when mode=1 in IupMatrix. Fixed: layout update to IupMatrix internal children. Fixed: drag&drop of tree nodes in IupTree on Windows. (Thanks to Nodir T.) Fixed: IupPlot destroy (affected MingW). (Thanks to Ducan G.) Fixed: IupPopup when used for the last visible dialog. Fixed: size computation in IupToggle to not include the spacing between the check box and the text, if text is NULL or empty. Fixed: TABIMAGE attribute when resetting to NULL in IupTabs. Fixed: scrollbars when *AUTOHIDE=Yes in IupCanvas on Windows. Fixed: IupExpander animation timing. Fixed: FITTOSIZE attribute in IupMatrix to consider the BORDER attribute. Version 3.14 (28/Apr/2015) New: support for Lua 5.3. New: INFOTIP attribute for IupTree on Windows. New: OPENCOLOR and HIGHCOLOR attributes for IupExpander to change the title text color in different situations. New TITLEIMAGE* attributes to use a title image instead of a text. New TITLEEXPAND attribute to enable expand/contract action in the title. New: ANIMATION attribute for IupExpander to enable animation during open/close. New: MULTIVALUECOUNT and MULTIVALUEid attributes for IupFileDlg when MULTIPLEFILES=Yes. New: AXS_AUTOSCALEEQUAL and VIEWPORTSQUARE attributes for IupPlot. New: CHILDOFFSET attribute for native containers (IupTabs, IupFrame, IupDialog, IupBackgroundBox, IupScrollBox). New: CELL attribute in IupMatrix to return the displayed value. New: EDITFITVALUE, EDITVALUE, EDITTEXT, EDITALIGN, EDITHIDEONFOCUS attributes for IupMatrix to control editing cell values and focus. New: EDITCLICK_CB, EDITRELEASE_CB and EDITMOUSEMOVE_CB callbacks for IupMatrix called when EDITHIDEONFOCUS=NO and editing is on going right before CLICK_CB, RELEASE_CB and MOUSEMOVE_CB callbacks. New: CELLNAMES attributes for IupMatrix when using formulas. Changed: IupMap will now call IupRefresh when mapping the dialog after all other processing. This affects the MAP_CB callback of the children, that it will be called before the layout is updated, so the children current size will still be 0x0 during MAP_CB. Changed: IupExpander internally remodeled to use other IUP elements to compose its handler area. The controls can be accessed by IupGetChild* and then reconfigured if necessary. There are no size limitations for images anymore. Extra buttons are now creation-only. Changed: when editing a cell value the caret will now be positioned closest to where the user double clicked in IupMatrix. Fixed: visual feedback when interactively moving the title or the legend box in IupPlot. Fixed: transparency for images in IupTabs on Windows. (Thanks to Nodir T.) Fixed: COPYDATA_CB callback for Unicode support in IupDialog on Windows. (Thanks to Nodir T.) Fixed: setting TITLE attribute to NULL in IupPlot. Fixed: automatic margin calculation in IupPlot when TITLE is not defined, top margin is automatic and bottom margin is manually set. Fixed: Fixed FGCOLOR and FONT, when set before map in IupScintilla. Fixed: update of CMARGIN and CGAP attributes when FONT is changed in IupGridBox, IupHbox, and IupVbox. Fixed: resize of a IupButton with just a color on GTK. Fixed: ACTION callback for IupBackgroundBox in Lua. Fixed: ENTERWINDOW_CB/LEAVEWINDOW_CB call order in Windows. Fixed: memory leaks in drag&drop processing in Windows. Memory leaks in internal IupImage cache. Fixed: Enter and Esc keys behavior in IupList when DROPDOWN=Yes on Windows, while the dropdown list is shown they must simply close the list and do not forward the action to the 6/295