![]() Handy procedures, macros, and constants for simplifying JSON code, using PB's JSON library added in 5.30. Before 5.20: Compiles as included procedures.PB 5.20+: Compiles as a Module ( UseModule JSON).Implements a simple Stack ( Push + Pop, with Peek) of a fixed type (PB integer).īasic JSON support (read/write/parse/modify) before PureBasic added its own JSON library in 5.30 The similarities and differences are summarized in the comments near the top of the file. ![]() A replacement for PB's Preferences library, with added functionality, formatting options for the file and values, and helper functions. WebGadget: Disables annoying "Script Error" popupsįunctions for reading/writing INI files.ContainerGadget: reduces resize flickering by disabling some redraw events.StringGadget, ComboBoxGadget: adds Ctrl+Backspace word deletion.Various small improvements to native PB gadgets Mercurial (Hg) must be installed on you/the user's system.Functionality includes creating and committing repos, examining changed files, generating a diff, examining the commit log. This is a Module for interacting with Mercurial ( Hg) SCM. RotateImage.pbi is also required if you use LoadImageEXIFRotated().Currently, it only reads the EXIF rotation (how the image should be rotated when displayed to the user). Reads EXIF metadata from image files (typically JPEG). Helper functions for handling the selected items, checked items, and item data of ListIconGadgets, ListViewGadgets, and TreeGadgets. Provides timestamp-to-string formatting with the same options and syntax as PHP's date() function.Ī few functions to assist you in uploading/downloading/changing the directory in an FTP connection, by full path, instead of manually "walking" the server's directory structure. Windows only (compiles but has no effect on other OS).On Windows, this refers to the PATH environment variable. This lets you Examine() and step through a list of environment paths. Simulates a widget seen in some Microsoft programs. Helper functions for dealing with multiple screens, parent and child windows, window states.Ĭustom canvas-based button which provides one clickable main action, plus a popup menu for secondary actions. You can use the ZIP, LZMA, and BriefLZ packer plugins (default is ZIP). ![]() Helper functions which greatly simplify the (eight) combinations of compressing/decompressing to/from memory/files. Long-name procedures are provided (such as Complex_Imaginary()), as well as short-name macros (such as cImag()). Lots of handy constants, macros, and procedures for common tasks related to: data types, time and date, dialogs, gadgets, file I/O, file paths, drawing, images, strings, etc.įunctions and macros to handle complex numbers (32-bit float precision per each component) and the usual, basic operations on them. On Windows, it also lets you open a "full" size color chooser, and lets you specify and save the 16 "custom color" boxes. On all OS, this saves your last picked color between calls, and even between program runs if the UseFile flag is specified.
0 Comments
Leave a Reply. |