AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

Add code examples for ColorSpaceMenuHelper

Offen
#1,869 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Documentation good first issue help wanted
Vorherrschende Sprache
C++
Sterne
2.1k
Forks
503
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The [documentation provides some C++ and Python code examples](https://opencolorio.readthedocs.io/en/latest/guides/developing/developing.html) for doing various things with the OCIO API. There is a need for some examples that shows how to use the AppHelpers API which is intended to help app developers improve their user experience. The most important thing to add would be how to use the [ColorSpaceMenuHelper API ](https://github.com/AcademySoftwareFoundation/OpenColorIO/blob/87126fad7f27a703850e098a9a75e0ef206b3da9/include/OpenColorIO/OpenColorAppHelpers.h#L190)which is intended to allow applications to easily build color space menus that are filtered using attributes such as categories.

This should show how to configure the ColorSpaceMenuParameters, instantiate a ColorSpaceMenuHelper, and iterate over the resulting menu items.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie mit dem im Issue verlinkten Entwicklungsleitfaden und sehen Sie sich OpenColorAppHelpers.h rund um ColorSpaceMenuHelper und ColorSpaceMenuParameters an. Fügen Sie ein Beispiel hinzu, das die Konfiguration der Parameter, die Erstellung des Helpers und die Iteration über die Menüelemente zeigt; die Dokumentation ist vollständig, wenn ein App-Entwickler ihr folgen kann, um ein gefiltertes Farbraummenü zu erstellen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cpp
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.