Improve multiple-choice quiz layout with cards and clearer states.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
pepaskopec-blip 2026-09-14 15:32:52 +02:00
commit 1e9c9b5f84
6 changed files with 153 additions and 105 deletions

View file

@ -882,6 +882,10 @@ GtkWidget *ex_page_shell(const char *back_target, const char *title,
GtkWidget **body_out, GtkWidget **feedback_out,
GtkWidget **btn_out);
GtkWidget *meaning_add(GtkWidget *body, const char *text);
GtkWidget *mcq_option_toggle(const char *text, int index,
GtkToggleButton **group_first);
GtkWidget *mcq_append_question(GtkWidget *parent, int num, const ChoiceQ *q,
GtkToggleButton **out_toggles);
GtkWidget *model_answer_add(GtkWidget *body, const char *german);
void meaning_reveal_all(GtkWidget **labels, int n);
ComboListCtx *combo_list_ctx_new(UnitCtx *unit, int ex_num,