Vector35 / Vector35/binaryninja-api

Theming System Improvements

Aperta
#3,077 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Component: UI Effort: Low Impact: Low
Lingua principale
C++
Stelle
1.3k
Fork
298
Merge medio
5g 5h
PR unite (30g)
19

Descrizione

Misc Improvements:

  • Certain UI elements utilize seemingly random theme attributes (e.g. New Tab uses Graph View theming attributes) This should probably be cleaned up.
  • Allow colors passed as [r, g, b] to have a 4th optional alpha field ([r, g, b, a])
  • Documentation for stylesheet support and how it interfaces with binaryninja is badly needed.
  • Documentation for theming in general needs some improvements.

Feature Suggestions

Theme Inheritance

One critical pain at the moment is that there are no "defaults", or simple method to grab one of the embedded themes as a "template".

Rather than manually exporting the embedded themes and uploading them somewhere, I'd propose a "parent" optional flag in the bntheme that allows inheriting another theme's dictionaries.

This would allow making "theme packs" a bit easier as well

Pallete Brush feature

Currently, themes can define args that specify the palette color, but not the palette brush. This would allow for the ability to load QPixmaps (passed as image urls) as pane backdrops.

Icon Overrides

Not quite sure about this one, but I think it would be a nice feature to have. An access method in the API that fetches the theme override or default would be great.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Start by mapping the existing stylesheet support, bntheme dictionaries, embedded themes, palette color parsing, and theme override/default API. Review how the proposed parent flag, alpha values, palette brushes, and icon overrides relate to those entry points. Done would require a defined scope for the selected improvements plus documentation for stylesheet support and theming.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
api, design, documentation
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.