klavaro  3.13
About: Klavaro is a touch typing tutor program.
  Fossies Dox: klavaro-3.13.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

basic.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX_BASIC_LESSONS   256
 

Functions

gint basic_get_lesson (void)
 
void basic_set_lesson (gint lesson)
 
gunichar * basic_get_char_set (void)
 
gboolean basic_get_lesson_increased (void)
 
void basic_set_lesson_increased (gboolean state)
 
void basic_init (void)
 
gint basic_init_char_set (void)
 
void basic_save_lesson (gchar *charset)
 
void basic_draw_lesson (void)
 
void basic_comment (gdouble accuracy)
 

Macro Definition Documentation

◆ MAX_BASIC_LESSONS

#define MAX_BASIC_LESSONS   256

Definition at line 18 of file basic.h.

Function Documentation

◆ basic_comment()

void basic_comment ( gdouble  accuracy)

Put on the screen the final comments

Definition at line 356 of file basic.c.

References _, accuracy, basic, basic_init_char_set(), basic_set_lesson(), get_wg(), MAX_BASIC_LESSONS, and tutor_goal_accuracy().

Referenced by tutor_calc_stats().

◆ basic_draw_lesson()

void basic_draw_lesson ( void  )

◆ basic_get_char_set()

gunichar* basic_get_char_set ( void  )

Definition at line 64 of file basic.c.

References basic.

Referenced by on_togglebutton_edit_basic_lesson_toggled(), and tutor_update_start().

◆ basic_get_lesson()

gint basic_get_lesson ( void  )

Interface functions

Definition at line 48 of file basic.c.

References basic.

Referenced by on_button_tutor_stat_clicked(), tutor_calc_stats(), tutor_init(), tutor_process_touch(), tutor_update_intro(), and tutor_update_start().

◆ basic_get_lesson_increased()

gboolean basic_get_lesson_increased ( void  )

Definition at line 70 of file basic.c.

References basic.

Referenced by on_button_tutor_stat_clicked().

◆ basic_init()

void basic_init ( void  )

Initialize basic vars

Definition at line 85 of file basic.c.

References basic, basic_init_char_set(), basic_set_lesson(), main_preferences_exist(), and main_preferences_get_int().

Referenced by tutor_init().

◆ basic_init_char_set()

gint basic_init_char_set ( void  )

◆ basic_save_lesson()

void basic_save_lesson ( gchar *  charset)

Save the lesson's character set defined in the custom lesson entry, for the current lesson

Definition at line 233 of file basic.c.

References basic, and main_path_user().

Referenced by on_togglebutton_edit_basic_lesson_toggled().

◆ basic_set_lesson()

void basic_set_lesson ( gint  lesson)

◆ basic_set_lesson_increased()

void basic_set_lesson_increased ( gboolean  state)

Definition at line 76 of file basic.c.

References basic.

Referenced by on_spinbutton_lesson_value_changed(), and tutor_process_touch().