Last change
on this file since 1881 was
1881,
checked in by bensch, 21 years ago
|
orxonox/branches/gui/console: fixed compile error, and segmentation fault from 'free entryText' in submit
|
File size:
571 bytes
|
Line | |
---|
1 | #ifndef ORXONOX_CONSOLE_ENTRY_H |
---|
2 | #define ORXONOX_CONSOLE_ENTRY_H |
---|
3 | |
---|
4 | /* standard headers */ |
---|
5 | #include <stdio.h> |
---|
6 | |
---|
7 | /* GTK headers */ |
---|
8 | #include <gtk/gtk.h> |
---|
9 | |
---|
10 | #include "orxonox_console_log.h" |
---|
11 | |
---|
12 | class OrxonoxConsoleEntry { |
---|
13 | |
---|
14 | private: |
---|
15 | GtkWidget *frame; |
---|
16 | GtkWidget *entrybox; |
---|
17 | GtkWidget *label; |
---|
18 | GtkWidget *button; |
---|
19 | GtkWidget *entry; |
---|
20 | OrxonoxConsoleLog* consoleLog; |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | public: |
---|
25 | // OrxonoxConsoleEntry(OrxonoxConsoleLog* log); |
---|
26 | |
---|
27 | GtkWidget* createEntry(void); |
---|
28 | static void submit(GtkWidget *widget, GtkWidget* data); |
---|
29 | void sendtoLog(char* submitText); |
---|
30 | |
---|
31 | }; |
---|
32 | |
---|
33 | |
---|
34 | #endif |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.