mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-05 01:23:24 -08:00
Folds in the closed #7410 (Move AnnotationDialog from game/ logic to game_graphics/) now that layers 1-2 are closed and this stack bottoms on master directly: - Add game_graphics/dialogs/dlg_annotation.{h,cpp} and move the QInputDialog subclass there; game/ no longer declares any widget type. - Add game/player/token_info.h and game/player/move_top_cards_until_options.h. - Move CardMenuActionType to game/player/card_menu_action_type.h. - Graphics dialog headers include the new game/ headers instead of defining the structs themselves. No behavior change. Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
22 lines
407 B
C++
22 lines
407 B
C++
/**
|
|
* @file dlg_annotation.h
|
|
* @ingroup GameDialogs
|
|
*/
|
|
|
|
#ifndef COCKATRICE_DLG_ANNOTATION_H
|
|
#define COCKATRICE_DLG_ANNOTATION_H
|
|
|
|
#include <QInputDialog>
|
|
|
|
class AnnotationDialog : public QInputDialog
|
|
{
|
|
Q_OBJECT
|
|
void keyPressEvent(QKeyEvent *e) override;
|
|
|
|
public:
|
|
explicit AnnotationDialog(QWidget *parent = nullptr) : QInputDialog(parent)
|
|
{
|
|
}
|
|
};
|
|
|
|
#endif // COCKATRICE_DLG_ANNOTATION_H
|