Browse Source

Update demo03.pas

Seenkao 3 years ago
parent
commit
7459f2cbcd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Zengl_SRC/demos/FreePascal/03 - Input/demo03.pas

+ 1 - 1
Zengl_SRC/demos/FreePascal/03 - Input/demo03.pas

@@ -111,7 +111,7 @@ begin
   // En: set default colors for all API elements. These colors will only be used when creating a specific element.
   //     To change the color in the (already created) element itself, nothing is attached. Further changes to these
   //     color values will not affect the already created elements in any way.
-  SetEditColor(fntEdit, EditColor, 1); 
+  SetDefColor(EditColor, cl_Black); 
   
   // RU: создаём само поле ввода с данными указанными выше
   // EN: create the input field itself with the data specified above