diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-08-26 14:48:17 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-08-28 00:32:50 +0200 |
commit | e2d26860f99b5e162c0af62db809a22198ab0cf9 (patch) | |
tree | 42ae26ba337f48a3f566d96ae7e8eaee7a418f8c /cui/source/inc/screenshotannotationdlg.hxx | |
parent | f9238c34f090adcc6a9da71349b776e7416ade91 (diff) |
screenshot: added functionality to dialog
Moved code to cui, added abstraction for AbstractDialog,
adapted rendering, changed selection, added better selection
visualization, added save ressources and dialog, creating
pure screenshot with annotation display
Change-Id: I533d9f559ee17cd46105b934bcf4beef87b96168
Diffstat (limited to 'cui/source/inc/screenshotannotationdlg.hxx')
-rw-r--r-- | cui/source/inc/screenshotannotationdlg.hxx | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/cui/source/inc/screenshotannotationdlg.hxx b/cui/source/inc/screenshotannotationdlg.hxx new file mode 100644 index 000000000000..f2412cec9a05 --- /dev/null +++ b/cui/source/inc/screenshotannotationdlg.hxx @@ -0,0 +1,44 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ +#ifndef INCLUDED_CUI_SOURCE_INC_SCREENSHANNDLG_HXX +#define INCLUDED_CUI_SOURCE_INC_SCREENSHANNDLG_HXX + +#include <sfx2/basedlgs.hxx> +#include <memory> + +class ScreenshotAnnotationDlg_Impl; + +class ScreenshotAnnotationDlg : public SfxModalDialog +{ +private: + std::unique_ptr< ScreenshotAnnotationDlg_Impl > m_pImpl; + + ScreenshotAnnotationDlg(const ScreenshotAnnotationDlg &) = delete; + ScreenshotAnnotationDlg& operator=(const ScreenshotAnnotationDlg &) = delete; + +public: + ScreenshotAnnotationDlg( + vcl::Window* pParent, + Dialog& rParentDialog); + virtual ~ScreenshotAnnotationDlg(); +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |