File: pydia-text.h

package info (click to toggle)
dia 0.98%2Bgit20250126-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 52,072 kB
  • sloc: ansic: 155,381; xml: 14,056; python: 6,250; cpp: 3,598; sh: 439; perl: 137; makefile: 25
file content (17 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef PYDIA_TEXT_H
#define PYDIA_TEXT_H

#include <Python.h>
#include "color.h"

typedef struct {
    PyObject_HEAD
    gchar *text_data;
    TextAttributes attr;
} PyDiaText;

extern PyTypeObject PyDiaText_Type;

PyObject* PyDiaText_New (gchar *text_data, TextAttributes *attr);

#endif