Code Monkey home page Code Monkey logo

slateiconbrowser's Introduction

Slate Icon Browser

This small tool lets you browse Unreal Engine's Editor icons/brushes easily, search for specific ones and copy slate code for the selected icon.

Screenshot of the window

Invocation

When the plugin is activated there's only one window which you can open via Tools -> Slate Icon Browser.

Features

Searching

Using the search bar it's possible to filter the icons based on their names.

Select a Style Set

Using a dropdown menu you can select another style set besides the default Editor style.

Non-Image Brushes

Non-image brushes (like solid colors) will be displayed with a default size as a simple square.

Copying Slate Code

Slate Icon Browser supports multiple code copying styles:

  • FSlateIcon(...)
  • FSlateIconFinder::FindIcon(...)
  • Custom style

The first two are quite obvious: They allow copying C++ code like the following:

FSlateIcon(FAppStyle::GetAppStyleSetName(), "Icon")
FSlateIcon(FName("SomeStyle"), "Icon")
FSlateIconFinder::FindIcon("Icon")

A few default styles will be replaced by the generic class call (like FAppStyle::GetAppStyleSetName()) while others will be copied as a FName reference instead (using FName("SomeStyleSet")).

Custom Style is a little different: It allows you to specify a code fragment manually in a separate input field. In this input field, the string $1 will be replaced by the code of the icon.

All three copy styles are also available in the context menu that appears by right-clicking a list entry.

As with everything source-code related you are supposed to read it before you include it and adjust it to make it work in your environment.


Source Code and License

The source code is licensed under the MIT license and is hosted at https://github.com/sirjofri/SlateIconBrowser. See also the License.txt file inside the repository for the full license text.

slateiconbrowser's People

Contributors

sirjofri avatar periokumene avatar doubledeez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.