summaryrefslogtreecommitdiff
path: root/src/user/include/cxx/raleigh/w/padding.h
blob: 108cd28ddfc21e122be3aa488bf83343cc7e2cda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef RALEIGH_W_PADDING_H
#define RALEIGH_W_PADDING_H

#include <raleigh/widget.h>

namespace raleigh {
  class padding : public widget {
  public:
    padding(uint32_t pad_by, _pixel_t color, widget &inner);

    void notify_window_change() override;
    void paint(_pixel_t *pixbuf, uint32_t pitch) override;
  private:
    uint32_t pad_by;
    _pixel_t color;
    widget &inner;
  };
}

#endif