Le Soldat Inconnu a écrit :je trouve le style des blocs bizarre, un espèce de cadre noir ouvert en bas autour du mot, c'est normal ?
Edit : en fait, ça dépend de la police et de sa taille; Mais bon, le cadre noir, je trouve ça discutable car peu lisible
J'ai utilisé le style #INDIC_BOX qui est sensé faire çà : "a rectangle around the text."
Le style utilisé par Erix14 était #INDIC_ROUNDBOX "A rectangle with rounded corners around the text using translucent drawing with the interior more transparent than the border. You can use SCI_INDICSETALPHA to control the alpha transparency value."
Le problème c'était l'alpha sur certaines machines / cartes graphiques, et qu'on ne peut déterminer que la couleur de fond, pas celle du texte (avec des résultats pas clairs du tout sur certaines configs).
Les styles possibles :
Code : Tout sélectionner
INDIC_PLAIN 0 Underlined with a single, straight line.
INDIC_SQUIGGLE 1 A squiggly underline.
INDIC_TT 2 A line of small T shapes.
INDIC_DIAGONAL 3 Diagonal hatching.
INDIC_STRIKE 4 Strike out.
INDIC_HIDDEN 5 An indicator with no visual effect.
INDIC_BOX 6 A rectangle around the text.
INDIC_ROUNDBOX 7 A rectangle with rounded corners around the text using translucent drawing with the interior more transparent than the border. You can use SCI_INDICSETALPHA to control the alpha transparency value. The default alpha value is 30.