Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#323 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
C
Estrellas
10
Forks
8
Merge medio
21 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de FriendsofECCE/ECCE

Todos los issues de FriendsofECCE/ECCE

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.