[go: up one dir, main page]

File: dw_table_cell.h

package info (click to toggle)
dillo 0.8.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,168 kB
  • ctags: 3,987
  • sloc: ansic: 32,778; sh: 3,401; makefile: 251; perl: 17
file content (40 lines) | stat: -rw-r--r-- 1,025 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
#ifndef __DW_TABLE_CELL_H__
#define __DW_TABLE_CELL_H__

#include "dw_aligned_page.h"

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#define DW_TYPE_TABLE_CELL          (a_Dw_table_cell_get_type ())
#define DW_TABLE_CELL(obj)          GTK_CHECK_CAST (obj,DW_TYPE_TABLE_CELL, \
                                      DwTableCell)
#define DW_TABLE_CELL_CLASS(klass)  GTK_CHECK_CLASS_CAST (klass, \
                                      DW_TYPE_TABLE_CELL, DwTableCellClass)
#define DW_IS_TABLE_CELL(obj)       GTK_CHECK_TYPE (obj, DW_TYPE_TABLE_CELL)


typedef struct _DwTableCell      DwTableCell;
typedef struct _DwTableCellClass DwTableCellClass;

struct _DwTableCell
{
   DwAlignedPage aligned_page;
   gint char_word_index, char_word_pos;
};

struct _DwTableCellClass
{
   DwAlignedPageClass parent_class;
};


GtkType   a_Dw_table_cell_get_type         (void);
DwWidget* a_Dw_table_cell_new              (DwTableCell *ref_cell);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __DW_TABLE_CELL_H__ */