Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Builder Build panel: redraw the bond-order and geometry icons; a periodic table button

Ouverte
#323 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
cpp
Domaine
desktop

Piste de recherche

Start with ShapeData::shapeToImage and ShapeData::shapeToSmallImage and the bond drop-down code that loads the XPMs from data/client/pixmaps. Check tools/screenshots/icons.py to see how the existing SVGs are rendered for review. The redraw needs SVG versions of the bond and shape icons loaded as wxBitmapBundle, in the Jmol-style ball-and-stick look. The periodic table button is named in the title but not described in the body, so confirm its scope with the maintainers before starting. Done means the toolbar and drop-downs show the new icons at every display scale.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Seen: the Builder toolbar's bond-order chooser (single bond: two grey balls and a line) and geometry chooser (tetrahedral centre) use the original low-resolution bitmaps. They are small, blurry when scaled and drawn in a style the rest of the toolbar no longer has.

Builder toolbar, bond and shape choosers

Where: the bond icons (bond_single, bond_double, bond_triple, bond_aromatic, bond_metal and their _large forms) and the shape icons (linear, bent, trigonal planar, pyramidal, tetrahedral, square planar, trigonal bipyramidal, square pyramidal, octahedral, in 18/24/48 px) are XPMs in data/client/pixmaps, chosen in ShapeData::shapeToImage/shapeToSmallImage and the bond drop-down.

Proposal: redraw both sets as SVG and load them as wxBitmapBundle (the route the other redrawn icons use; tools/screenshots/icons.py renders them for review), so they are sharp at every display scale. Draw them in the viewer's own ball-and-stick style: shaded spheres, Jmol element colours (carbon centre, grey or white ligands), bond orders as one, two or three sticks, aromatic as a stick with a dashed partner, metal bond dashed. Same set used in the drop-down lists and on the toolbar button.

Langage dominant
C
Étoiles
10
Forks
8
Merge moyen
21 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de FriendsofECCE/ECCE

Toutes les issues de FriendsofECCE/ECCE

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.