garrysmod icon indicating copy to clipboard operation
garrysmod copied to clipboard

Create the Derma Icon Browser

Open WilliamVenner opened this issue 3 years ago • 1 comments

A smart, menu state Derma Icon Browser utilizing DIconBrowser.

It's ridiculously over-engineered, but why can't we have nice things?

The search function on famfamfam.com is very slow as it has to load each individual icon. Additionally, this menu shows more than just the Silkicons, and instantly copies a selected icon to your clipboard.

Also, if famfamfam.com goes down (it did today, actually), the icon browser is always available in-game.

Features

  • Opened with derma_icon_browser command
  • Can be resized by the user
  • Remembers the user-resized window dimensions between sessions
  • Responds appropriately to screen resolution changes
  • Can't be lost outside the screen's bounds
  • Doesn't get deleted when it's closed, so you can quickly reopen it and it'll be how you left it
  • Plays cute sounds
  • Has a nice animation after copying an icon
  • Reactive, case-insensitive, smart search bar
  • Search bar is translated to user's locale
  • Is part of the menu state, so simply toggling ESC in-game can quickly show/hide the icon browser
  • If bound to a key or the derma_icon_browser command is run otherwise, it will open the ESC menu for you automatically

Demonstration

https://i.venner.io/8jUYmWonE0.mp4 (sound on)

WilliamVenner avatar Oct 17 '20 21:10 WilliamVenner

This would be a great addition, hope it gets added if it hasn't already

liondadev avatar Oct 19 '20 14:10 liondadev

+rep

zergwastaken avatar Apr 13 '23 04:04 zergwastaken

Upload it to the workshop, its useless to wait until the rubat review this - because for 3 years he did not pay any attention to this pr.

Be1zebub avatar Apr 13 '23 06:04 Be1zebub

+rep why not :^)

ted-mundy avatar Apr 13 '23 07:04 ted-mundy

this been cooking for a while

ted-mundy avatar Apr 17 '23 19:04 ted-mundy

Since he posted this pull request, Billy turned 21 and now has kids, his wife however doesn't feel like she still loves him anymore, so billy now raises up his two kids alone, while trying -at the same time- to find a better job because his manager is a dick and forces him to comment all his code with emojis.

ExtReMLapin avatar Apr 18 '23 06:04 ExtReMLapin

update: he got fired for using too many rocket emojis in the comments of a cpp codebase (trying to brainwash them to use crablang)

garryspins avatar Apr 18 '23 15:04 garryspins

would be nice if this also included the flag icons as well

I've opened a PR for this :) #1978

ted-mundy avatar Jun 11 '23 14:06 ted-mundy