~ghugesss/xpad/debug_support

« back to all changes in this revision

Viewing changes to src/xpad-periodic.h

  • Committer: Arthur Borsboom
  • Date: 2014-06-19 13:15:30 UTC
  • mfrom: (665.1.59 xpad-4.3)
  • Revision ID: arthurborsboom@gmail.com-20140619131530-ecsvweog8592zqie
Fix: prevented color updating conflict between preferences and pad colors
Fix: Technical - reduced code by removing double code
Fix: Technical - ensured that all the menus of each pad are updated when changing options in the View menu
Fix: renamed Xpad_periodic functions to lowercase in line with other function namings
Fix: repaired showing all the notes in the menu: pad->menu->notes
Fix: Technical - removed unnecessary initialization and unnecessary function
Fix: Resolved a disposing error of the clipboard contents after erasing a pad
Fix: Pad properties - switched foreground and background order in GUI.
Fix: Technical - got rid of the global variable: xpad_global_settings
New: added shortcuts keys for New pad (CTRL-N) and Delete (SHIFT-DEL)
Fix: Technical - changed comment style
Fix: replaced get user home dir with specific glib function
Fix: Default values are set correctly on first startup (no configuration file) by reintroducing a double default value administration.
Fix: Improved performance by reducing the amount of GTK_ casts, as suggested in the GTK best practices
Fix: Applied GTK best practices for inclusion of 1st config.h and 2nd its header file in each c-file

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
/* Callback function codes: save-content, save-info */
30
30
 
31
31
/************************
32
 
        Xpad_periodic_init():   initializes this module
33
 
        Xpad_periodic_close():  frees resources of this module
 
32
        xpad_periodic_init():   initializes this module
 
33
        xpad_periodic_close():  frees resources of this module
34
34
************************/
35
 
gboolean        Xpad_periodic_init(void);
36
 
void            Xpad_periodic_close(void);
 
35
gboolean        xpad_periodic_init(void);
 
36
void            xpad_periodic_close(void);
37
37
 
38
38
/************************
39
 
        Xpad_periodic_set_callback():
 
39
        xpad_periodic_set_callback():
40
40
        Sets up a callback function for a signal name.
41
41
        The signal names are "save-info" and "save-content"
42
42
************************/
43
 
gboolean        Xpad_periodic_set_callback (const char *, XpadPeriodicFunc);
 
43
gboolean        xpad_periodic_set_callback (const char *, XpadPeriodicFunc);
44
44
 
45
45
/************************
46
 
        Xpad_periodic_save_content_delayed:
47
 
        Xpad_periodic_save_info_delayed:
 
46
        xpad_periodic_save_content_delayed:
 
47
        xpad_periodic_save_info_delayed:
48
48
        These functions prepare either the pad's content
49
49
        or info to be saved later.
50
50
************************/
51
 
void    Xpad_periodic_save_content_delayed (void * xpad_pad);
52
 
void    Xpad_periodic_save_info_delayed (void * xpad_pad);
 
51
void    xpad_periodic_save_content_delayed (void * xpad_pad);
 
52
void    xpad_periodic_save_info_delayed (void * xpad_pad);
53
53
 
54
54
#endif /* XPAD_PERIODIC_H */