25 #ifndef GCP_PREFERENCES_H
26 #define GCP_PREFERENCES_H
47 friend class PrefsDlgPrivate;
61 void OnSelectTheme (GtkTreeSelection *selection);
62 void OnBondLength (
double length);
63 void OnBondAngle (
double angle);
64 void OnBondWidth (
double width);
65 void OnBondDist (
double dist);
66 void OnStereoBondWidth (
double width);
67 void OnHashWidth (
double width);
68 void OnHashDist (
double dist);
71 void OnArrowLength (
double length);
72 void OnArrowWidth (
double width);
73 void OnArrowDist (
double dist);
74 void OnArrowPadding (
double padding);
75 void OnArrowHeadA (
double headA);
76 void OnArrowHeadB (
double headB);
77 void OnArrowHeadC (
double headC);
78 void OnScale (
double scale);
79 void OnPadding (
double padding);
80 void OnObjectPadding (
double padding);
81 void OnStoichPadding (
double padding);
82 void OnSignPadding (
double padding);
83 void OnChargeSize (
double size);
84 void OnThemeNameChanged (
char const *name);
86 void SetDefaultTheme (
char const *name);
91 GtkTreeSelection *m_ThemesSelection;
92 GtkTreeView *m_ThemesView;
94 GtkSpinButton *m_BondLengthBtn, *m_BondWidthBtn, *m_BondAngleBtn, *m_BondDistBtn;
95 GtkSpinButton *m_StereoBondWidthBtn, *m_HashDistBtn, *m_HashWidthBtn;
96 GtkSpinButton *m_ArrowLengthBtn, *m_ArrowWidthBtn, *m_ArrowDistBtn, *m_ArrowPaddingBtn;
97 GtkSpinButton *m_ArrowHeadABtn, *m_ArrowHeadBBtn, *m_ArrowHeadCBtn;
98 GtkSpinButton *m_ScaleBtn, *m_PaddingBtn, *m_ObjectPaddingBtn, *m_StoichPaddingBtn, *m_SignPaddingBtn;
99 GtkSpinButton *m_ChargeSizeBtn;
100 GtkEntry *m_NameEntry;
102 gulong m_NameActivate, m_NameFocusOut, m_TextFontChanged, m_FontChanged;
104 GtkComboBoxText *m_DefaultThemeBox;
109 #endif // GCP_PREFERENCES_H