Author Topic: [patch]Adding name filter to depot  (Read 915 times)

0 Members and 1 Guest are viewing this topic.

Offline THLeaderH

[patch]Adding name filter to depot
« on: March 28, 2017, 12:57:39 AM »
(This is a remaking version of this. I got a permission of reproduction from the original author.)
This patch adds a name filter to a depot.
  • The left button switches whether the filter is applied or not.
  • Pak names or translated texts can be used for search. It's case sensitive.
This patch is r8121 based, but I confirmed that this patch can be applied to r8154 without any problems.

Offline Leartin

  • Devotee
  • *
  • Posts: 802
  • Total likes: 287
  • Helpful: 44
  • !!!!!This user was banned for double posting!!!!!
  • Languages: DE, EN
Re: [patch]Adding name filter to depot
« Reply #1 on: March 28, 2017, 05:53:14 AM »
Would it be possible to add a way to safe some search words in a dropdown list? Ideally, pakset-sensitive and with the possibility for paksets to come with some pre-defined filters :)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8799
  • Total likes: 320
  • Helpful: 229
  • Languages: De,EN,JP
Re: [patch]Adding name filter to depot
« Reply #2 on: March 29, 2017, 12:29:18 AM »
Extending the standard size is not very nice, as it break the tileability. Also which the checkbox? If empty, then there should be no filtering ...

Also the adding of listeners must be done on initialisation, not when updating the size.

EDIT: There were also lot of obsolete code in the depot frame after combobox renovation. All repaired and incorporated in r8160.
« Last Edit: March 29, 2017, 02:28:56 AM by prissi »

Offline Yona-TYT

Re: [patch]Adding name filter to depot
« Reply #3 on: April 03, 2017, 09:29:41 AM »
A small detail with the filter.


Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8799
  • Total likes: 320
  • Helpful: 229
  • Languages: De,EN,JP
Re: [patch]Adding name filter to depot
« Reply #4 on: April 03, 2017, 11:55:38 PM »
This works fine for me. Maybe some of your defines still had a wrong height?

Offline Yona-TYT

Re: [patch]Adding name filter to depot
« Reply #5 on: April 04, 2017, 01:51:52 AM »
This works fine for me. Maybe some of your defines still had a wrong height?
Select the drop-down filter and then you must resize the deposit window, that should be enough.