summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-08-28 18:43:21 +0200
committerMatthias Melcher <github@matthiasm.com>2024-08-28 18:43:34 +0200
commit885dbc41981a3ad44a1ade30d115a14bb55431e0 (patch)
treea03ae0d2cc27fd6def4ad4d42f25284691d5819b /src
parentb124ac90664b28c8d1b2fedd43e300c534eb07c1 (diff)
Removing wrongfully commited code.
Diffstat (limited to 'src')
-rw-r--r--src/fl_labeltype.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/fl_labeltype.cxx b/src/fl_labeltype.cxx
index 991bc5e56..0984b541d 100644
--- a/src/fl_labeltype.cxx
+++ b/src/fl_labeltype.cxx
@@ -82,19 +82,6 @@ void Fl::set_labeltype(Fl_Labeltype t,Fl_Label_Draw_F* f,Fl_Label_Measure_F*m)
/** Draws a label with arbitrary alignment in an arbitrary box. */
void Fl_Label::draw(int X, int Y, int W, int H, Fl_Align align) const {
if (!value && !image) return;
- const Fl_Align FL_ALIGN_CENTER = 0x0000;
- const Fl_Align FL_ALIGN_TOP = 0x0001;
- const Fl_Align FL_ALIGN_BOTTOM = 0x0002;
- const Fl_Align FL_ALIGN_LEFT = 0x0004;
- const Fl_Align FL_ALIGN_RIGHT = 0x0008;
- const Fl_Align FL_ALIGN_TOP_LEFT = FL_ALIGN_TOP | FL_ALIGN_LEFT;
- const Fl_Align FL_ALIGN_TOP_RIGHT = FL_ALIGN_TOP | FL_ALIGN_RIGHT;
- const Fl_Align FL_ALIGN_BOTTOM_LEFT = FL_ALIGN_BOTTOM | FL_ALIGN_LEFT;
- const Fl_Align FL_ALIGN_BOTTOM_RIGHT = FL_ALIGN_BOTTOM | FL_ALIGN_RIGHT;
- const Fl_Align FL_ALIGN_LEFT_TOP = 0x0007;
- const Fl_Align FL_ALIGN_RIGHT_TOP = 0x000b;
- const Fl_Align FL_ALIGN_LEFT_BOTTOM = 0x000d;
- const Fl_Align FL_ALIGN_RIGHT_BOTTOM = 0x000e;
switch (align&(FL_ALIGN_TOP|FL_ALIGN_BOTTOM)) {
case 0: Y += v_margin_; H -= 2*v_margin_; break;
case FL_ALIGN_TOP: Y += v_margin_; H -= v_margin_; break;