Add a 'Stamp' widget.
Place one or multiple stamps on scanned pages in defined locations. A stamp is understood here as - a transparent text in a transparent frame with no borders - an opaque text on an opaque background with no borders. Stamp parameters: - text - font - foreground colour - background colour - angle of rotation - transparency. Locations: - centre - cardinal directions - inter-cardinal directions.
This commit is contained in:
22
Resources/StampWidget/CMakeLists.txt
Normal file
22
Resources/StampWidget/CMakeLists.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(StampWidget)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/CMake")
|
||||
|
||||
find_package(wxWidgets COMPONENTS base core CONFIG REQUIRED)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_LIST_DIR}
|
||||
${CMAKE_CURRENT_LIST_DIR}/UI)
|
||||
|
||||
add_library(stampwidget STATIC
|
||||
|
||||
DefsStampWidget.h
|
||||
UI/StampWidget.cpp
|
||||
UI/StampWidgets.cpp
|
||||
XStampWidget.cpp
|
||||
XStampWidgets.cpp
|
||||
StampWorker.cpp)
|
||||
|
||||
target_link_libraries(stampwidget
|
||||
${wxWidgets_LIBRARIES})
|
||||
Reference in New Issue
Block a user