Let's just use 1 PD_API header

This commit is contained in:
2026-01-25 20:57:14 +01:00
parent 337c016824
commit fb46f4d36a
63 changed files with 289 additions and 459 deletions

View File

@@ -35,7 +35,7 @@ namespace UI7 {
* This only means that InPressed is responding the info in
* the next frame
*/
class PD_UI7_API Button : public Container {
class PD_API Button : public Container {
public:
/**
* Button Object constructor

View File

@@ -33,7 +33,7 @@ namespace UI7 {
* Context::Update while the visual update is done
* during the Update
*/
class PD_UI7_API Checkbox : public Container {
class PD_API Checkbox : public Container {
public:
/**
* Constructor for Checkbox Object

View File

@@ -32,7 +32,7 @@ namespace UI7 {
/**
* Color Editor (Creating a PopUP when clicking)
*/
class PD_UI7_API ColorEdit : public Container {
class PD_API ColorEdit : public Container {
public:
/**
* Constructor

4
include/pd/ui7/container/container.hpp Executable file → Normal file
View File

@@ -24,8 +24,8 @@ SOFTWARE.
*/
#include <pd/core/core.hpp>
#include <pd/pd_p_api.hpp>
#include <pd/ui7/io.hpp>
#include <pd/ui7/pd_p_api.hpp>
namespace PD {
namespace UI7 {
@@ -33,7 +33,7 @@ namespace UI7 {
* Container base class all Objects are based on
* @note this class can be used to create custom Objects as well
*/
class PD_UI7_API Container {
class PD_API Container {
public:
Container() = default;
/**

View File

@@ -33,7 +33,7 @@ namespace UI7 {
* and modifys these by moving left or right when dragging
*/
template <typename T>
class PD_UI7_API DragData : public Container {
class PD_API DragData : public Container {
public:
/**
* Constructor

View File

@@ -36,7 +36,7 @@ namespace UI7 {
* This only means that InPressed is responding the info in
* the next frame
*/
class PD_UI7_API DynObj : public Container {
class PD_API DynObj : public Container {
public:
/**
* Button Object constructor

View File

@@ -30,7 +30,7 @@ namespace UI7 {
/**
* Image Object
*/
class PD_UI7_API Image : public Container {
class PD_API Image : public Container {
public:
/**
* Constructor for the Image Object

View File

@@ -30,7 +30,7 @@ namespace UI7 {
/**
* Label [Text] Object
*/
class PD_UI7_API Label : public Container {
class PD_API Label : public Container {
public:
/**
* Constructor for Label Object

View File

@@ -33,7 +33,7 @@ namespace UI7 {
* and modifys these by moving left or right when dragging
*/
template <typename T>
class PD_UI7_API Slider : public Container {
class PD_API Slider : public Container {
public:
/**
* Constructor