File: todo.h

package info (click to toggle)
gpe-todo 0.58-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 888 kB
  • ctags: 107
  • sloc: sh: 1,545; ansic: 1,283; makefile: 63
file content (55 lines) | stat: -rw-r--r-- 1,131 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
 * Copyright (C) 2002 Philip Blundell <philb@gnu.org>
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version
 * 2 of the License, or (at your option) any later version.
 */

#ifndef TODO_H
#define TODO_H

#include <sys/time.h>
#include <gtk/gtk.h>
#include <gpe/todo-db.h>

extern GtkWidget *g_draw;
extern GtkWidget *the_notebook;

extern GtkWidget *edit_item (struct todo_item *item,
                             gint initial_category,
                             GtkWindow *parent);

extern void categories_menu (void);
extern void refresh_items (void);

/* screen geometry information */
extern gboolean mode_landscape;
extern gboolean large_screen;

/* list store column definitions */
enum
{
    COL_ICON,
    COL_SUMMARY,
    COL_STRIKETHROUGH,
    COL_DATA,
    COL_STATUS,
    COL_DUE,
    COL_CATEGORY,
    COL_PRIORITY,
    COL_PRIORITY_TEXT,
    COL_COLORS,
    NUM_COLUMNS
};

struct menu_map
{
  gchar *string;
  gint value;
};

extern struct menu_map state_map[];

#endif