ソースを参照

Update textbox_extended_demo.c

Ray 4 年 前
コミット
2083c6984a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      examples/text_box_selection/textbox_extended_demo.c

+ 1 - 1
examples/text_box_selection/textbox_extended_demo.c

@@ -213,7 +213,7 @@ int main(int argc, char **argv)
             GuiSetStyle(TEXTBOX, TEXT_ALIGNMENT, GUI_TEXT_ALIGN_CENTER);
             GuiSetStyle(TEXTBOX, TEXT_ALIGNMENT, GUI_TEXT_ALIGN_CENTER);
     
     
             // Draw hexadecimal values viewer
             // Draw hexadecimal values viewer
-            DrawTextRecEx(guiFont, hex, (Rectangle){ 20, 95, 760, 205 }, 20, 1, true, BLACK, startIdx*3, len*3, colorFG, colorBG);
+            DrawTextBoxedSelectable(guiFont, hex, (Rectangle){ 20, 95, 760, 205 }, 20, 1, true, BLACK, startIdx*3, len*3, colorFG, colorBG);
 
 
             // Draw right-mouse-button-click menu and logic
             // Draw right-mouse-button-click menu and logic
             //---------------------------------------------------------------------------------------
             //---------------------------------------------------------------------------------------