summaryrefslogtreecommitdiff
path: root/fxbarcode
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode')
-rw-r--r--fxbarcode/oned/BC_OnedEAN13Writer.h3
-rw-r--r--fxbarcode/oned/BC_OnedEAN8Writer.h3
-rw-r--r--fxbarcode/oned/BC_OnedUPCAWriter.h3
3 files changed, 3 insertions, 6 deletions
diff --git a/fxbarcode/oned/BC_OnedEAN13Writer.h b/fxbarcode/oned/BC_OnedEAN13Writer.h
index 3c7ff2eba3..c80091897f 100644
--- a/fxbarcode/oned/BC_OnedEAN13Writer.h
+++ b/fxbarcode/oned/BC_OnedEAN13Writer.h
@@ -31,14 +31,13 @@ class CBC_OnedEAN13Writer final : public CBC_OneDimWriter {
int32_t CalcChecksum(const ByteString& contents);
- protected:
+ private:
bool ShowChars(const WideStringView& contents,
CFX_RenderDevice* device,
const CFX_Matrix* matrix,
int32_t barWidth,
int32_t multiple) override;
- private:
int32_t m_codeWidth;
};
diff --git a/fxbarcode/oned/BC_OnedEAN8Writer.h b/fxbarcode/oned/BC_OnedEAN8Writer.h
index 269156a25e..853d4dace8 100644
--- a/fxbarcode/oned/BC_OnedEAN8Writer.h
+++ b/fxbarcode/oned/BC_OnedEAN8Writer.h
@@ -34,14 +34,13 @@ class CBC_OnedEAN8Writer final : public CBC_OneDimWriter {
bool SetTextLocation(BC_TEXT_LOC location);
int32_t CalcChecksum(const ByteString& contents);
- protected:
+ private:
bool ShowChars(const WideStringView& contents,
CFX_RenderDevice* device,
const CFX_Matrix* matrix,
int32_t barWidth,
int32_t multiple) override;
- private:
static constexpr int32_t kDefaultCodeWidth = 3 + (7 * 4) + 5 + (7 * 4) + 3;
int32_t m_codeWidth = kDefaultCodeWidth;
};
diff --git a/fxbarcode/oned/BC_OnedUPCAWriter.h b/fxbarcode/oned/BC_OnedUPCAWriter.h
index 1a9f091f60..6101b4d8d1 100644
--- a/fxbarcode/oned/BC_OnedUPCAWriter.h
+++ b/fxbarcode/oned/BC_OnedUPCAWriter.h
@@ -36,14 +36,13 @@ class CBC_OnedUPCAWriter final : public CBC_OneDimWriter {
void Init();
int32_t CalcChecksum(const ByteString& contents);
- protected:
+ private:
bool ShowChars(const WideStringView& contents,
CFX_RenderDevice* device,
const CFX_Matrix* matrix,
int32_t barWidth,
int32_t multiple) override;
- private:
std::unique_ptr<CBC_OnedEAN13Writer> m_subWriter;
};