Forum > Packages and Libraries
This week in OPM!
(1/1)
Tomxe:
A few new packages available for installation from OPM:
XelAnimate - installs TXelAnimate - a small visual component that plays webp, gif, png and apng animations.
XelContainers - installs Accordion, Page Control, Ribbon and Side Pages - modern visual components that can replace TPageControl.
XelImageFormats - adds support to TImage/TPicture for .webp .jxl .j2k .jb2 .lep and .svg images.
XelTiledImage - a TImage alternative that tiles an image.
XelZoomImage - a TImage alternative that allows to zoom in and out images.
Stay tuned for more!
Handoko:
Interesting.
Thank you for sharing it.
Will be sure to try them when I have time.
Tomxe:
Fresh from the factory!
XelComponents - TXelConfig automatically saves and loads configuration data.
XelControls - Visual controls:
TXelToggleSwitch - on/off button.
TXelRatingStars - select 1 to 5 stars to rate something.
TXelImageButton - themed button, set images for normal, hovered and clicked state.
TXelListBox - ListBox with hidden values:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---XelListBox1.AddItem('Diplayed Value', 'Hidden Value'); procedure TForm1.XelListBox1Click(Sender: TObject); begin Caption := XelListBox1.ItemValues[XelListBox1.ItemIndex];end;
Tomxe:
Thanks to wp, who tests the packages, there are some updates and new packages!
XelThumbs is a visual component that displays thumbnails from a given folder. Images are loaded in background threads, so it's pretty fast.
wp:
XelThumbs is very interesting because it utilizes threads to load the images and it takes advantage of the Scaled property of jpeg to load an image at reduced size which makes the component very fast. Further speed can be gained by taking advantage of the built-in thumbnail image of jpeg and other files. Maybe you should provide a way to attach a custom loader to the component (event OnLoadImage = procedure (Sender: TObject; AStream: TStream; var UseExternalLoader: Boolean) to replace the built-in loading mechanism if a thumbnail exists and is larger than the displayed thumbnail size) - this way an application could "use" FPExif (or some other exif library) and extract the built-in thumbnail by itself. And/or you pull the thumbnail reading code out of FPExif and use it directly.
Navigation
[0] Message Index