garrysmod
garrysmod copied to clipboard
Create the Derma Icon Browser
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)
This would be a great addition, hope it gets added if it hasn't already
+rep
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.
+rep why not :^)
this been cooking for a while
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.
update: he got fired for using too many rocket emojis in the comments of a cpp codebase (trying to brainwash them to use crablang)
would be nice if this also included the flag icons as well
I've opened a PR for this :) #1978