haiku-dumber/MainWindow.h

41 lines
706 B
C
Raw Normal View History

2024-09-29 17:58:05 -03:00
/*
* Copyright 2024, My Name <my@email.address>
* All rights reserved. Distributed under the terms of the MIT license.
*/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <MenuItem.h>
2024-09-30 03:17:31 -03:00
#include <TextControl.h>
#include <TextView.h>
#include <StatusBar.h>
2024-09-29 17:58:05 -03:00
#include <Window.h>
2025-05-07 02:33:01 -03:00
#include <String.h>
2024-09-29 17:58:05 -03:00
2025-05-07 06:31:50 -03:00
#include "Conversation.h"
2025-05-06 23:26:01 -03:00
2025-05-07 00:28:10 -03:00
2024-09-30 03:17:31 -03:00
class MainWindow : public BWindow {
2024-09-29 17:58:05 -03:00
public:
2024-09-30 03:17:31 -03:00
MainWindow();
virtual ~MainWindow();
2024-09-29 17:58:05 -03:00
2024-09-30 03:17:31 -03:00
virtual void MessageReceived(BMessage *msg);
2024-09-29 17:58:05 -03:00
2025-05-07 06:31:50 -03:00
Conversation* _conversation = new Conversation(this);
2024-09-29 17:58:05 -03:00
2024-09-30 03:17:31 -03:00
private:
2025-05-07 02:33:01 -03:00
2025-05-06 23:26:01 -03:00
2024-09-30 03:17:31 -03:00
BMenuBar *_BuildMenu();
BTextView * _answerView;
2025-05-06 23:26:01 -03:00
BTextView * _infoView;
2025-05-07 03:48:23 -03:00
BTextView* _inputField;
2024-09-30 03:17:31 -03:00
BStatusBar* _progress;
2025-05-07 01:01:00 -03:00
2025-05-07 06:31:50 -03:00
// BMenuItem *fSaveMenuItem;
2024-09-29 17:58:05 -03:00
};
#endif