@@ -171,7 +171,7 @@ public ImFontGlyph getFallbackGlyph() {
171
171
172
172
// Methods
173
173
174
- public ImFontGlyph findGlyph (int c ) {
174
+ public ImFontGlyph findGlyph (final int c ) {
175
175
final long ptr = nFindGlyph (c );
176
176
if (ptr == 0 ) {
177
177
return null ;
@@ -184,7 +184,7 @@ public ImFontGlyph findGlyph(int c) {
184
184
return (intptr_t)IM_FONT->FindGlyph((ImWchar)c);
185
185
*/
186
186
187
- public ImFontGlyph findGlyphNoFallback (int c ) {
187
+ public ImFontGlyph findGlyphNoFallback (final int c ) {
188
188
final long ptr = nFindGlyphNoFallback (c );
189
189
if (ptr == 0 ) {
190
190
return null ;
@@ -237,23 +237,23 @@ public ImFontGlyph findGlyphNoFallback(int c) {
237
237
return env->NewStringUTF(IM_FONT->CalcWordWrapPositionA(scale, text, textEnd, wrapWidth));
238
238
*/
239
239
240
- public void renderChar (ImDrawList drawList , float size , float posX , float posY , int col , int c ) {
240
+ public void renderChar (final ImDrawList drawList , final float size , final float posX , final float posY , final int col , final int c ) {
241
241
nRenderChar (drawList .ptr , size , posX , posY , col , c );
242
242
}
243
243
244
244
private native void nRenderChar (long drawListPtr , float size , float posX , float posY , int col , int c ); /*
245
245
IM_FONT->RenderChar((ImDrawList*)drawListPtr, size, ImVec2(posX, posY), col, (ImWchar)c);
246
246
*/
247
247
248
- public void renderText (ImDrawList drawList , float size , float posX , float posY , int col , float clipRectX , float clipRectY , float clipRectW , float clipRectZ , String text , String textEnd ) {
248
+ public void renderText (final ImDrawList drawList , final float size , final float posX , final float posY , final int col , final float clipRectX , final float clipRectY , final float clipRectW , final float clipRectZ , final String text , final String textEnd ) {
249
249
nRenderText (drawList .ptr , size , posX , posY , col , clipRectX , clipRectY , clipRectW , clipRectZ , text , textEnd , 0 , false );
250
250
}
251
251
252
- public void renderText (ImDrawList drawList , float size , float posX , float posY , int col , float clipRectX , float clipRectY , float clipRectW , float clipRectZ , String text , String textEnd , float wrapWidth ) {
252
+ public void renderText (final ImDrawList drawList , final float size , final float posX , final float posY , final int col , final float clipRectX , final float clipRectY , final float clipRectW , final float clipRectZ , final String text , final String textEnd , final float wrapWidth ) {
253
253
nRenderText (drawList .ptr , size , posX , posY , col , clipRectX , clipRectY , clipRectW , clipRectZ , text , textEnd , wrapWidth , false );
254
254
}
255
255
256
- public void renderText (ImDrawList drawList , float size , float posX , float posY , int col , float clipRectX , float clipRectY , float clipRectW , float clipRectZ , String text , String textEnd , float wrapWidth , boolean cpuFineClip ) {
256
+ public void renderText (final ImDrawList drawList , final float size , final float posX , final float posY , final int col , final float clipRectX , final float clipRectY , final float clipRectW , final float clipRectZ , final String text , final String textEnd , final float wrapWidth , final boolean cpuFineClip ) {
257
257
nRenderText (drawList .ptr , size , posX , posY , col , clipRectX , clipRectY , clipRectW , clipRectZ , text , textEnd , wrapWidth , cpuFineClip );
258
258
}
259
259
0 commit comments