- Replace UniboardTool enum field by OpenboardTool .

preferencesAboutTextFull
agriche 9 years ago
parent f12032f549
commit f7df53b063
  1. 18
      src/core/UB.h

@ -28,8 +28,9 @@
#ifndef UB_H_ #ifndef UB_H_
#define UB_H_ #define UB_H_
#include <QtGui> //#include <QtGui>
#include <QGraphicsItem> #include <QtWidgets>
#define UB_MAX_ZOOM 9 #define UB_MAX_ZOOM 9
@ -45,7 +46,8 @@ struct UBMimeType
Audio, Audio,
Flash, Flash,
PDF, PDF,
UniboardTool, //UniboardTool,
OpenboardTool,
Group, Group,
UNKNOWN UNKNOWN
}; };
@ -144,25 +146,25 @@ struct UBGraphicsItemType
{ {
enum Enum enum Enum
{ {
PolygonItemType = QGraphicsItem::UserType + 1, //65537 PolygonItemType = QGraphicsItem::UserType + 1,
PixmapItemType, PixmapItemType,
SvgItemType, SvgItemType,
DelegateButtonType, //65540 DelegateButtonType,
MediaItemType, MediaItemType,
PDFItemType, PDFItemType,
TextItemType, TextItemType,
CurtainItemType, CurtainItemType,
RulerItemType, //65545 RulerItemType,
CompassItemType, CompassItemType,
ProtractorItemType, ProtractorItemType,
StrokeItemType, StrokeItemType,
TriangleItemType, TriangleItemType,
MagnifierItemType, //65550 MagnifierItemType,
cacheItemType, cacheItemType,
groupContainerType, groupContainerType,
ToolWidgetItemType, ToolWidgetItemType,
GraphicsWidgetItemType, GraphicsWidgetItemType,
UserTypesCount, //65555 UserTypesCount,
SelectionFrameType// this line must be the last line in this enum because it is types counter. SelectionFrameType// this line must be the last line in this enum because it is types counter.
}; };
}; };

Loading…
Cancel
Save