1
////////////////////////////////////////////////////////////////////////////
2
// NoteCase notes manager project <http://notecase.sf.net>
4
// This code is licensed under BSD license.See "license.txt" for more details.
6
// File: Implements interface creation (main window, password dialog, options dialog, ...)
7
////////////////////////////////////////////////////////////////////////////
10
#define _INTERFACE_H__
14
GtkWidget* create_main_win ();
15
GtkWidget* create_toolbar ();
17
int NodeIdxFromPath(GtkTreePath* path1);
18
bool PathFromNodeIdx(int nIdx, GtkTreePath *&path1);
19
bool IteratorFromNodeIdx(int nIdx, GtkTreeIter &iter);
1
////////////////////////////////////////////////////////////////////////////
2
// NoteCase notes manager project <http://notecase.sf.net>
4
// This code is licensed under BSD license.See "license.txt" for more details.
6
// File: Implements interface creation (main window, password dialog, options dialog, ...)
7
////////////////////////////////////////////////////////////////////////////
10
#define _INTERFACE_H__
14
int NodeIdxFromPath(GtkTreePath* path1);
15
bool PathFromNodeIdx(int nIdx, GtkTreePath *&path1);
16
bool IteratorFromNodeIdx(int nIdx, GtkTreeIter &iter);
17
void set_title_bar(const char *szText, bool bRed = false);
18
void set_status_bar(const char *szText, bool bRed = false);
20
int gtkMessageBox(const char *szText, int nButtons = GTK_BUTTONS_OK, int nIcon = GTK_MESSAGE_INFO);
21
int gtkMessageBoxYNC(const char *szText);
22
const char **InternalIcon_GetFromIdx(int nIdx);
23
int InternalIcon_Name2Index(const char *szName);
24
const char *GetLoadErrorString(int nErrCode);
25
const char *GetSaveErrorString(int nErrCode);
26
void ShowBusyCursor();
27
void HideBusyCursor();
31
const char *calculate_autosave_filename();
32
const char *calculate_autosave_filename1();
33
std::string GetHelpFile();
34
const char *GetIniFile();