xtd 0.2.0
status_bar_panel_renderer.h
Go to the documentation of this file.
1 #pragma once
6 #include "../forms_export.h"
7 #include "box_renderer.h"
9 #include "text_renderer.h"
10 #include <xtd/drawing/color>
11 #include <xtd/drawing/font>
12 #include <xtd/drawing/graphics>
13 #include <xtd/drawing/image>
14 #include <xtd/drawing/rectangle>
15 #include <xtd/optional>
16 
18 #include "flat_button_appearance.h"
19 #include "text_format_flags.h"
20 #include <xtd/drawing/system_fonts>
21 
23 namespace xtd {
25  namespace forms {
39  class forms_export_ status_bar_panel_renderer final static_ {
40  public:
42 
57  static void draw_status_bar_panel(const style_sheets::style_sheet& style_sheet, xtd::drawing::graphics& graphics, const xtd::drawing::rectangle& bounds, const std::optional<xtd::drawing::color>& back_color, const xtd::ustring& text, const std::optional<xtd::forms::content_alignment>& text_align, const std::optional<xtd::drawing::color>& fore_color, const std::optional<xtd::drawing::font>& font, const xtd::drawing::image& image, const std::optional<xtd::forms::content_alignment>& image_align);
59  };
60  }
61 }
#define static_
This keyword is use to represent a static object. A static object can&#39;t be instantiated (constructors...
Definition: static.h:37
Contains xtd::forms::box_renderer static class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::text_format_flags enum class.
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
Contains xtd::forms::visual_styles::push_button_state enum class.
Contains xtd::forms::text_renderer static class.
Contains xtd::forms::flat_button_appearance class.
Provides status bar panel renderer methods.
Definition: status_bar_panel_renderer.h:39
Stores a set of four integers that represent the location and size of a rectangle.
Definition: rectangle.h:44
An abstract base class that provides functionality for the bitmap and metafile descended classes...
Definition: image.h:48
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition: graphics.h:70
The xtd::forms::status_bar_panel displays text in the standard font.
The xtd::forms::style_sheets::style_sheet allows you to specify an xtd style sheet.
Definition: style_sheet.h:62