u8glib library

Hello i have a quick question . I am using u8glib library for 128x64 LCD screen , its the black and yellow , so my question is the fillowing , when i try to print some text i need to make new void draw(); and then in the loop i call for the void draw , is there any easier thing like screen.print("some text") without calling for void or something else , here is my code :

Link to the screen is not adafruit but its the same one : https://www.electan.com/serial-graphic-lcd-128x64-sparkfun-p-3177-en.html

#include "U8glib.h"

U8GLIB_ST7920_128X64_4X u8g(7,6,5, U8G_PIN_NONE);  



void draw(void) {
  // graphic commands to redraw the complete screen should be placed here  
  u8g.setFont(u8g_font_unifont);
  //u8g.setFont(u8g_font_osb21);
  //u8g.drawStr( 0, 22, "Hello World!");
   u8g.drawStr( 0, 42, "Hello World!");
}

void setup(void) {
  // flip screen, if required
  // u8g.setRot180();
  
  // set SPI backup if required
  //u8g.setHardwareBackup(u8g_backup_avr_spi);

  // assign default color value
  if ( u8g.getMode() == U8G_MODE_R3G3B2 ) {
    u8g.setColorIndex(255);     // white
  }
  else if ( u8g.getMode() == U8G_MODE_GRAY2BIT ) {
    u8g.setColorIndex(3);         // max intensity
  }
  else if ( u8g.getMode() == U8G_MODE_BW ) {
    u8g.setColorIndex(1);         // pixel on
  }
  else if ( u8g.getMode() == U8G_MODE_HICOLOR ) {
    u8g.setHiColorByRGB(255,255,255);
  }
  
  pinMode(8, OUTPUT);
}

void loop(void) {

  u8g.firstPage();  
  do {
    draw();
  } while( u8g.nextPage() );
  
  // rebuild the picture after some delay
  //delay(50);
}

its the black and yellow

What is? Why does that matter?

when i try to print some text i need to make new void draw(); and then in the loop i call for the void draw , is there any easier thing like screen.print("some text") without calling for void or something else

Apparently, google translate failed you miserably.

You CAN print the contents of a NULL terminated global char array, or you CAN print the contents of a NULL terminated char array that is an argument to the function, so it is NOT necessary to have a new draw() function for every string you want to print.