Recent

Author Topic: Images for ShellTreeView and ShellListView -- were did they go?  (Read 6780 times)

QEnnay

  • Full Member
  • ***
  • Posts: 132
Just messing with TShellListView and TShellTreeView and there are holes for what I assume are half-a-dozen TImageList with cute icons.

The last time I used these two components was Lazarus-1 or maybe Delphi-5 and they came with little Folder icons etc.

Is there a default set I can use? I am not smart enough with graphics to design and create cute little images.

Thanks
Linux-Mint 22.2 x64 + Cinnamon; i7, 32GB memory
Lazarus 4.4-64bit

wp

  • Hero Member
  • *****
  • Posts: 13481
Re: Images for ShellTreeView and ShellListView -- were did they go?
« Reply #1 on: August 07, 2021, 06:30:05 pm »
Where did they go? Nowhere - the Lazarus TShellListView and TShellTreeview never had built-in images. Only with the upcoming version 2.2 they will display the built-in shell images provided by the OS, and only for Windows (https://wiki.freepascal.org/Lazarus_2.2.0_release_notes#TShellTreeView).
« Last Edit: August 07, 2021, 06:36:33 pm by wp »

QEnnay

  • Full Member
  • ***
  • Posts: 132
Linux-Mint 22.2 x64 + Cinnamon; i7, 32GB memory
Lazarus 4.4-64bit

wp

  • Hero Member
  • *****
  • Posts: 13481
Re: Images for ShellTreeView and ShellListView -- were did they go?
« Reply #3 on: August 08, 2021, 03:54:14 pm »
Nonsense. If you know how to achieve this for the other OSs provide a patch.

QEnnay

  • Full Member
  • ***
  • Posts: 132
Re: Images for ShellTreeView and ShellListView -- were did they go?
« Reply #4 on: August 09, 2021, 03:24:42 pm »
Nonsense. If you know how to achieve this for the other OSs provide a patch.

Woah back there Quick-Draw McGraw!

I was lamenting that by choosing the freedoms of using Linux-OS only the noisy windows is getting the grease.
Linux-Mint 22.2 x64 + Cinnamon; i7, 32GB memory
Lazarus 4.4-64bit

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2032
  • Former Delphi 1-7, 10.2 user
Re: Images for ShellTreeView and ShellListView -- were did they go?
« Reply #5 on: August 10, 2021, 02:09:27 am »
Operating System Market Share Worldwide - July 2021

 * Android      41.44%
 * Windows    30.27%
 * iOS            16.53%
 * macOS       6.38%
 * Unknown    3.42%
 * Linux          1%

Linux isn't used enough to make noise ;-)

lucamar

  • Hero Member
  • *****
  • Posts: 4217
Re: Images for ShellTreeView and ShellListView -- were did they go?
« Reply #6 on: August 10, 2021, 08:20:31 am »
Linux isn't used enough to make noise ;-)

That is, until you realize that Android is basically a Linux distro ... and Mac OS a BSD one :D
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

dsiders

  • Hero Member
  • *****
  • Posts: 1592
Re: Images for ShellTreeView and ShellListView -- were did they go?
« Reply #7 on: August 10, 2021, 04:36:46 pm »
Linux isn't used enough to make noise ;-)

That is, until you realize that Android is basically a Linux distro ... and Mac OS a BSD one :D

True up to a point. Neither Android nor Mac have to deal the array of desktop managers/environments used on Linux... each of them has their own.  Which brings us back to the original problem.

QEnnay

  • Full Member
  • ***
  • Posts: 132
Re: Images for ShellTreeView and ShellListView -- were did they go?
« Reply #8 on: August 10, 2021, 04:53:12 pm »
Linux isn't used enough to make noise ;-)

Foolishly naive me thought that FOSS developers would lean towards other FOSS projects first.

If FOSS stuff is going to favor non-FOSS just because there is ore of them, then Linux will never take it's place in the world.

But, I guess leaking tons of personal data hourly is not a concern for the Lemmings of the World. :D.

Linux-Mint 22.2 x64 + Cinnamon; i7, 32GB memory
Lazarus 4.4-64bit

El Salvador

  • Full Member
  • ***
  • Posts: 141
Re: Images for ShellTreeView and ShellListView -- were did they go?
« Reply #9 on: August 10, 2021, 06:18:39 pm »
Quote
Nonsense. If you know how to achieve this for the other OSs provide a patch.
However if anyone wants to add the icons also on linux, they can complete my patch (see https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/18247).

balazsszekely

  • Guest
Re: Images for ShellTreeView and ShellListView -- were did they go?
« Reply #10 on: August 10, 2021, 06:51:07 pm »
@QEnnay
With your last 2-3 posts, basically you auto-assigned yourself to implement icons for TShellTreeView/TShellListView on linux.

 

TinyPortal © 2005-2018