settings.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define WINDOW_BORDER_PADDING   42
#define WINDOW_TOP_PADDING   46
#define WINDOW_BOTTOM_PADDING   10
#define WINDOW_H_PADDING   12
#define WINDOW_TOP_ALT_PADDING   10
#define SECTION_SPACING   10
#define SETTINGS_FILLER_HEIGHT   20
#define SETTINGS_SEPARATOR_HEIGHT   10
#define ITEM_SPACING   10
#define SETTINGS_LABEL_MAX_WIDTH   1200
#define LABEL_PADDING_WITHIN_BUTTON   10
#define SMALL_SPACING   5
#define SETTINGS_MENU   "settings_menu"
#define SD_CARD_DEVICE   "/dev/mmcblk0p1"
#define SD_CARD_MOUNTPOINT   "/media/mmcblk0p1"

Enumerations

enum  SettingType {
  SETTING_NONE, SETTING_MARGINS, SETTING_SD, SETTING_MYIREX,
  SETTING_DEVINFO, SETTING_FLIPBAR, SETTING_STYLUS, SETTING_FLIGHTMODE,
  SETTING_RESET, SETTING_DATETIME, SETTING_FDATETIME, SETTING_LANGUAGE,
  SETTING_FIRSTBOOT, SETTING_POWER, SETTING_ROTATION, SETTING_SENSORS,
  SETTING_ADVANCED, N_SETTING
}

Functions

void update_main_window_text (void)
void main_quit (void)
void main_save_and_quit (void)

Define Documentation

#define ITEM_SPACING   10
#define LABEL_PADDING_WITHIN_BUTTON   10

Definition at line 51 of file settings.h.

#define SD_CARD_DEVICE   "/dev/mmcblk0p1"

Definition at line 58 of file settings.h.

#define SD_CARD_MOUNTPOINT   "/media/mmcblk0p1"

Definition at line 59 of file settings.h.

#define SECTION_SPACING   10

Definition at line 37 of file settings.h.

#define SETTINGS_FILLER_HEIGHT   20

Definition at line 39 of file settings.h.

#define SETTINGS_LABEL_MAX_WIDTH   1200
#define SETTINGS_MENU   "settings_menu"

Definition at line 55 of file settings.h.

Referenced by main_quit(), menu_init(), and on_window_activated().

#define SETTINGS_SEPARATOR_HEIGHT   10

Definition at line 40 of file settings.h.

Referenced by create_separator_widgets().

#define SMALL_SPACING   5
#define WINDOW_BORDER_PADDING   42
#define WINDOW_BOTTOM_PADDING   10

Definition at line 32 of file settings.h.

#define WINDOW_H_PADDING   12

Definition at line 33 of file settings.h.

#define WINDOW_TOP_ALT_PADDING   10
#define WINDOW_TOP_PADDING   46

Definition at line 31 of file settings.h.


Enumeration Type Documentation

Enumerator:
SETTING_NONE 
SETTING_MARGINS 
SETTING_SD 
SETTING_MYIREX 
SETTING_DEVINFO 
SETTING_FLIPBAR 
SETTING_STYLUS 
SETTING_FLIGHTMODE 
SETTING_RESET 
SETTING_DATETIME 
SETTING_FDATETIME 
SETTING_LANGUAGE 
SETTING_FIRSTBOOT 
SETTING_POWER 
SETTING_ROTATION 
SETTING_SENSORS 
SETTING_ADVANCED 
N_SETTING 

Definition at line 61 of file settings.h.


Function Documentation

void main_quit ( void   ) 

Definition at line 73 of file ctb/src/main.c.

00074 {
00075     gtk_main_quit();
00076 }

void main_save_and_quit ( void   ) 
void update_main_window_text ( void   ) 
Generated by  doxygen 1.6.2-20100208