Clay + C | Tutorial Part 3 | Creating text elements

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 6

  • @mylesmontclair
    @mylesmontclair 14 дней назад +1

    Another great tutorial! Thanks!

    •  14 дней назад

      Thanks for watching!

  • @ShivSindhu088
    @ShivSindhu088 13 дней назад +2

    I am getting this *error* :
    Recived Clay Error: Clay's internal MeasureText function is null. You may have forgotten to call Clay_SetMeasureTextFunction(), or passed a NULL function pointer by mistake.
    zsh: segmentation fault (core dumped)

    • @ShivSindhu088
      @ShivSindhu088 11 дней назад +1

      This issue occurs exclusively with ClayText(),
      for now I am using Raylib's DrawText() by setting text coordinates to overlap the buttons/header area

    • @TrueJarod
      @TrueJarod 6 дней назад +1

      hi, just add this Clay_SetMeasureTextFunction(Raylib_MeasureText); in the main func after Clay_Initialize(...)

    • @ShivSindhu088
      @ShivSindhu088 6 дней назад +2

      @@TrueJarod yes, it worked, thanks