Skip to content

Commit

Permalink
removed include thpdfdata.h from thlayoutclr.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Afforix committed Aug 17, 2024
1 parent 2043b65 commit a9edf3b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions thlayoutclr.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include "thlayoutclr.h"
#include "thdatabase.h"
#include "thexception.h"
#include "thepsparse.h"
#include <cmath>
#include <fmt/printf.h>

Expand Down
4 changes: 2 additions & 2 deletions thlayoutclr.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
#define thlayoutclr_h

#include "thstok.h"
#include "thpdfdata.h"
#include <stdio.h>
#include <string>

enum {
TT_LAYOUTCLRMODEL_UNKNOWN = 0,
Expand Down Expand Up @@ -64,7 +64,7 @@ struct thlayout_color {
thlayout_color(double c, double m, double y, double k) : R(0.0), G(0.0), B(0.0), A(1.0), C(c), M(m), Y(y), K(k), W(1-k), defined(0), model(TT_LAYOUTCLRMODEL_CMYK) {}
void copy_color(const thlayout_color& src);
bool is_defined();
void set_color(int output_model, color & clr);
void set_color(int output_model, struct color & clr);
void print_to_file(int output_model, FILE * f);
std::string print_to_str(int output_model);
void encode_to_str(int output_model, std::string & str);
Expand Down
2 changes: 2 additions & 0 deletions thsymbolset.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include "thsymbolsetlist.h"
#include "thlayoutclr.h"
#include <stdio.h>
#include <vector>
#include <map>


struct thsymbolset_usym {
Expand Down

0 comments on commit a9edf3b

Please sign in to comment.