Builder 3-D view: residue labels are white on a white background (same fault as #1293, different place)

Abierto
#1,357 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
c, cpp
Área
desktop

Línea de trabajo

Start in the Builder's 3-D view label-rendering code and inspect the prior poses fix in #1293 for how labels follow the Foreground colour. Search the viewer and Builder for SbColor(1, *1.0f, 1.0f, 1.0f*, wxWHITE, and setLabelColor, then verify the affected views with residue labels enabled. Done means Builder labels are visible on the white background and other hard-coded white label colours have been addressed.

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

Descripción

Residue labels in the Builder's 3-D view are drawn in white. On the white
background that ECCE uses for structure views they are invisible; in a
screenshot of 1IEP with labels on, HOH, TRP and the rest read as faint
white-on-white smudges.

This is the same fault as #1293, where the docking poses' residue labels were
white on white and were fixed by following the Foreground colour. That fix
was made in the poses code; the Builder's own labels still have it, so the
colour is being chosen in more than one place.

Two parts:

  1. Make the labels follow the Foreground colour, as #1293 did for poses.
  2. Find the other places. Twice is a pattern: grep for fixed white or
    hard-coded label colours in the viewer and the Builder
    (SbColor(1, *1.0f, 1.0f, 1.0f*, wxWHITE, setLabelColor) and fix
    them together, so the next view added does not inherit it a third time.

Found by hand testing the pocket picker build (main at 822af2842).

Lenguaje dominante
C
Estrellas
10
Forks
8
Merge medio
6 h 32 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.