source: svn/trunk/newcon3bcm2_21bu/dta/src/sim/gtk_app_p.h

Last change on this file was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 821 bytes
Line 
1
2#ifndef __GTK_APP_P_H__
3#define __GTK_APP_P_H__
4
5#include <gtk/gtk.h>
6#include <assert.h>
7#include <stdlib.h>
8#include <string.h>
9#include "gtk_dlg.h"
10#include "sim.h"
11
12
13typedef enum eAPP_STATE
14{
15        eAPP_STATE_DEFAULT,
16        eAPP_STATE_INITIALIZED
17}eAPP_STATE;
18
19struct gtk_app_t
20{
21        eAPP_STATE state;
22        GdkPixbuf *pixbuf;
23        GdkPixmap *pixmap;
24        GtkWidget *osd_widget;
25    GtkWidget *window;
26    GtkWidget *remote;
27
28        GtkTreeView *screen_list;
29        GtkTextView *out_textview;
30    GtkTextBuffer *out_buffer;
31
32    GtkDialog *about_dlg;
33        confirm_dlg_t confirm_dlg;
34        alert_dlg_t alert_dlg;
35
36        sim_h h_sim;
37        int fds_out[2];
38};
39
40#ifdef __cplusplus
41extern "C" {
42#endif
43
44void gtk_app_screen_populate(gtk_app_h h_gtk_app);
45
46GtkListStore* gtk_app_screen_liststore(gtk_app_h h_gtk_app);
47
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* __GTK_APP_P_H__ */
54
55
Note: See TracBrowser for help on using the repository browser.