Recent

Author Topic: This week in OPM!  (Read 901 times)

Tomxe

  • Full Member
  • ***
  • Posts: 146
This week in OPM!
« on: July 05, 2026, 09:14:14 pm »
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

  • Hero Member
  • *****
  • Posts: 5559
  • My goal: build my own game engine using Lazarus
Re: This week in OPM!
« Reply #1 on: July 06, 2026, 06:53:38 am »
Interesting.
Thank you for sharing it.

Will be sure to try them when I have time.

Tomxe

  • Full Member
  • ***
  • Posts: 146
Re: This week in OPM!
« Reply #2 on: July 07, 2026, 08:27:54 pm »
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  [Select][+][-]
  1. XelListBox1.AddItem('Diplayed Value', 'Hidden Value');  
  2.  
  3. procedure TForm1.XelListBox1Click(Sender: TObject);
  4. begin
  5.    Caption := XelListBox1.ItemValues[XelListBox1.ItemIndex];
  6. end;  
  7.  

Tomxe

  • Full Member
  • ***
  • Posts: 146
Re: This week in OPM!
« Reply #3 on: July 17, 2026, 05:47:11 pm »
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

  • Hero Member
  • *****
  • Posts: 13649
Re: This week in OPM!
« Reply #4 on: July 18, 2026, 01:59:33 pm »
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.

 

TinyPortal © 2005-2018