source:
orxonox.OLD/orxonox/branches/gui/console/orxonox_console_entry.h
@
2021
Last change on this file since 2021 was 1893, checked in by bensch, 20 years ago | |
---|---|
File size: 666 bytes |
Rev | Line | |
---|---|---|
[1877] | 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 | ||
[1880] | 10 | #include "orxonox_console_log.h" |
11 | ||
[1890] | 12 | extern int verbose; |
13 | ||
[1877] | 14 | class OrxonoxConsoleEntry { |
15 | ||
16 | private: | |
17 | GtkWidget *frame; | |
18 | GtkWidget *entrybox; | |
19 | GtkWidget *label; | |
20 | GtkWidget *button; | |
21 | GtkWidget *entry; | |
[1880] | 22 | OrxonoxConsoleLog* consoleLog; |
[1884] | 23 | |
[1877] | 24 | |
25 | ||
26 | public: | |
[1893] | 27 | OrxonoxConsoleEntry(void); |
28 | OrxonoxConsoleEntry(OrxonoxConsoleLog* log); | |
[1880] | 29 | |
[1877] | 30 | GtkWidget* createEntry(void); |
[1890] | 31 | void setLog(OrxonoxConsoleLog* log); |
32 | static void submit(GtkWidget *widget, OrxonoxConsoleEntry* entry); | |
[1880] | 33 | void sendtoLog(char* submitText); |
[1877] | 34 | |
35 | }; | |
[1880] | 36 | |
[1877] | 37 | |
38 | #endif | |
39 |
Note: See TracBrowser
for help on using the repository browser.