~ubuntu-branches/ubuntu/maverick/notecase/maverick

« back to all changes in this revision

Viewing changes to src/NodePropertiesDlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2005-09-09 09:32:43 UTC
  • Revision ID: james.westby@ubuntu.com-20050909093243-s6namw0yh7q3tqy0
Tags: upstream-1.0.5
ImportĀ upstreamĀ versionĀ 1.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
////////////////////////////////////////////////////////////////////////////
 
2
// NoteCase notes manager project <http://notecase.sf.net>
 
3
//
 
4
// This code is licensed under BSD license.See "license.txt" for more details.
 
5
//
 
6
// File: Dialog to view/edit document node properties
 
7
////////////////////////////////////////////////////////////////////////////
 
8
 
 
9
#ifndef NODEPROPERTIESDLG_H__
 
10
#define NODEPROPERTIESDLG_H__
 
11
 
 
12
#if _MSC_VER > 1000
 
13
#pragma once
 
14
#endif // _MSC_VER > 1000
 
15
 
 
16
#include "gui/Dialog.h"
 
17
#include <string>
 
18
 
 
19
#define ICON_NONE    -2
 
20
#define ICON_CUSTOM  -1
 
21
#define ICON_INTERNAL 0
 
22
#define ICON_INTERNAL_FIRST 0
 
23
#define ICON_INTERNAL_LAST      5
 
24
 
 
25
class NodePropertiesDlg : public Dialog  
 
26
{
 
27
public:
 
28
        NodePropertiesDlg();
 
29
        virtual ~NodePropertiesDlg();
 
30
        virtual void Create();
 
31
 
 
32
        const char *GetNodeTitle();
 
33
 
 
34
        int GetIconType();
 
35
        void SetIconType(int nType);
 
36
 
 
37
        const char *GetIconValue();
 
38
        void SetIconValue(const char *szValue);
 
39
 
 
40
        void UpdatePreview();
 
41
 
 
42
public:
 
43
        std::string m_strTitle;
 
44
 
 
45
protected:
 
46
        GtkWidget* create_node_properties_dialog ();
 
47
};
 
48
 
 
49
#endif // NODEPROPERTIESDLG_H__