Skip to content

Commit 2c75a92

Browse files
committed
update logos
Microchip provides a global solution for graphics called Microchip Graphics Suite. Under this umbrella, there is the Microchip Graphics Suite Linux that is EGT. Signed-off-by: Ludovic Desroches <[email protected]> Acked-by: Cyrille Pitchen <[email protected]>
1 parent 6fbf303 commit 2c75a92

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+299
-70
lines changed

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
![Ensemble Graphics Toolkit](docs/src/logo.png)
1+
![Microchip Graphics Suite Linux](docs/src/mgs_logo.png)
22

33
[![License](https://img.shields.io/github/license/linux4sam/egt?style=plastic)]()
44
[![Release](https://img.shields.io/github/v/tag/linux4sam/egt?style=plastic)]()
55

6-
The Ensemble Graphics Toolkit (EGT) is a free and open-source C++ GUI widget
7-
toolkit for Microchip AT91/SAMA5 microprocessors. It is used to develop
8-
graphical embedded Linux applications. EGT provides modern and complete GUI
9-
functionality, look-and-feel, and performance.
6+
The Microchip Graphics Suite Linux, formely known as The Ensemble Graphics
7+
Toolkit (EGT), is a free and open-source C++ GUI widget toolkit for Microchip
8+
AT91/SAMA5 microprocessors. It is used to develop graphical embedded Linux
9+
applications. EGT provides modern and complete GUI functionality,
10+
look-and-feel, and performance.
1011

1112
Want to help out, make some changes, found a bug, or have a question? See
1213
[Contributing](CONTRIBUTING.md). Send a pull request or open an issue.

docs/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set(srcdir ${CMAKE_CURRENT_SOURCE_DIR})
33
set(DOCSET_INPUT ${CMAKE_CURRENT_BINARY_DIR}/html)
44
set(DOCSET_TAG ${CMAKE_CURRENT_BINARY_DIR}/egt.tag)
55
set(DOCSET_OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/EGT.docset)
6-
set(DOCSET_ICON ${CMAKE_CURRENT_SOURCE_DIR}/src/logo_icon.png)
6+
set(DOCSET_ICON ${CMAKE_CURRENT_SOURCE_DIR}/src/mgs_logo_icon.png)
77
set(DOCSET_INFO ${CMAKE_CURRENT_BINARY_DIR}/Info.plist)
88
set(DOCSET_TARBALL EGT.tgz)
99

docs/Doxyfile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ PROJECT_BRIEF =
5151
# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
5252
# the logo to the output directory.
5353

54-
PROJECT_LOGO = @srcdir@/src/logo_small.png
54+
PROJECT_LOGO = @srcdir@/src/mgs_logo_small.png
5555

5656
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
5757
# into which the generated documentation will be written. If a relative path is
@@ -1795,7 +1795,7 @@ LATEX_EXTRA_STYLESHEET =
17951795
# markers available.
17961796
# This tag requires that the tag GENERATE_LATEX is set to YES.
17971797

1798-
LATEX_EXTRA_FILES = @srcdir@/src/logo.pdf \
1798+
LATEX_EXTRA_FILES = @srcdir@/src/mgs_logo.pdf \
17991799
@srcdir@/src/microchip_logo.pdf
18001800

18011801
# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is

docs/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ docs: Doxyfile
1818
DOCSET_INPUT = $(top_builddir)/docs/html
1919
DOCSET_TAG = $(top_builddir)/docs/egt.tag
2020
DOCSET_OUTPUT = $(top_builddir)/docs/EGT.docset
21-
DOCSET_ICON = $(top_srcdir)/docs/src/logo_icon.png
21+
DOCSET_ICON = $(top_srcdir)/docs/src/mgs_logo_icon.png
2222
DOCSET_INFO = $(top_builddir)/docs/Info.plist
2323
DOCSET_TARBALL = EGT.tgz
2424

docs/header.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
\hspace{0.05\textwidth}
172172
\parbox[b]{0.75\textwidth}{
173173

174-
\includegraphics[width=4cm]{logo.pdf} \par
174+
\includegraphics[width=4cm]{mgs_logo.pdf} \par
175175
{\large\textsc{Programmer's Manual {$projectnumber}}}\\[4\baselineskip]
176176
177177
\vspace{0.5\textheight}

docs/src/index.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
@mainpage EGT Programmer's Manual
22

3-
The Ensemble Graphics Toolkit (EGT) is a C++ GUI Linux toolkit for
4-
[Microchip](http://www.microchip.com) AT91/SAMA5 processors. EGT provides
5-
modern GUI functionality, look-and-feel, and maximizes performance.
3+
The Microchip Graphics Suite Linux, formely known as the Ensemble Graphics
4+
Toolkit (EGT) is a C++ GUI Linux toolkit for [Microchip](http://www.microchip.com)
5+
AT91/SAMA5 processors. EGT provides modern GUI functionality, look-and-feel,
6+
and maximizes performance.
67

78
@li @ref intro
89
@li @ref started

docs/src/mgs_logo.pdf

79.3 KB
Binary file not shown.

docs/src/mgs_logo.png

9.38 KB
Loading

docs/src/mgs_logo_icon.png

1.81 KB
Loading

docs/src/mgs_logo_small.png

6.43 KB
Loading

examples/audioplayer/audioplayer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ class AudioPlayer : public egt::Widget
253253
egt::AudioPlayer m_player;
254254
egt::AnimationSequence m_animation{true};
255255
egt::experimental::ColorMap m_colormap;
256-
egt::ImageLabel m_logo{(egt::Image("icon:egt_logo_white.png;128"))};
256+
egt::ImageLabel m_logo{(egt::Image("icon:mgs_logo_white.png;128"))};
257257
egt::Dialog m_message_dialog;
258258
egt::ImageButton note{egt::Image("file:note.png")};
259259
};

examples/boards/boards.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ int main(int argc, char** argv)
2020
};
2121

2222
auto label = std::make_shared<egt::ImageLabel>(
23-
egt::Image("icon:egt_logo_black.png;128"),
23+
egt::Image("icon:mgs_logo_black.png;128"),
2424
"SideBoard Widget");
2525
label->font(egt::Font(28));
2626
label->fill_flags().clear();

examples/calc/calc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ int main(int argc, char** argv)
3232
vsizer.align(egt::AlignFlag::center_horizontal);
3333
win.add(expand_vertical(vsizer));
3434

35-
egt::ImageLabel elogo(egt::Image("icon:egt_logo_white.png;128"));
35+
egt::ImageLabel elogo(egt::Image("icon:mgs_logo_white.png;128"));
3636
elogo.margin(10);
3737
// The size needs to be set again since the margin has been modified.
3838
const auto m = elogo.moat();

examples/charts/charts.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ int main(int argc, char** argv)
503503
frame->color(egt::Palette::ColorId::bg, egt::Palette::transparent);
504504
vsizer.add(egt::expand_horizontal(frame));
505505

506-
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:egt_logo_black.png;128"));
506+
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:mgs_logo_black.png;128"));
507507
logo->align(egt::AlignFlag::left | egt::AlignFlag::center_vertical);
508508
logo->margin(5);
509509
frame->add(logo);
@@ -546,9 +546,9 @@ int main(int argc, char** argv)
546546
egt::global_theme(i.second());
547547

548548
if ((s->text() == "Midnight") || (s->text() == "Lapis"))
549-
logo->image(egt::Image("icon:egt_logo_white.png;128"));
549+
logo->image(egt::Image("icon:mgs_logo_white.png;128"));
550550
else
551-
logo->image(egt::Image("icon:egt_logo_black.png;128"));
551+
logo->image(egt::Image("icon:mgs_logo_black.png;128"));
552552

553553
break;
554554
}

examples/dash/dash.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ int main(int argc, char** argv)
9090
win.padding(10);
9191
win.color(egt::Palette::ColorId::bg, egt::Color::css("#1b1d43"));
9292

93-
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:egt_logo_white.png;128"));
93+
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:mgs_logo_white.png;128"));
9494
win.add(top(left(logo)));
9595

9696
// the gauge

examples/dialog/dialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ int main(int argc, char** argv)
2121
auto layout = std::make_shared<egt::VerticalBoxSizer>();
2222
win.add(expand(layout));
2323

24-
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:egt_logo_black.png;128"));
24+
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:mgs_logo_black.png;128"));
2525
layout->add(logo);
2626

2727
auto vsizer = std::make_shared<egt::VerticalBoxSizer>();

examples/drag/drag.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ int main(int argc, char** argv)
104104
label1.color(egt::Palette::ColorId::bg, egt::Palette::transparent);
105105
window.add(label1);
106106

107-
egt::ImageLabel logo(egt::Image("icon:egt_logo_white.png;128"));
107+
egt::ImageLabel logo(egt::Image("icon:mgs_logo_white.png;128"));
108108
logo.margin(10);
109109
window.add(center(top(logo)));
110110

examples/drummachine/drummachine.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ int main(int argc, char** argv)
2121
egt::VerticalBoxSizer sizer;
2222
win.add(expand(sizer));
2323

24-
egt::ImageLabel logo(egt::Image("icon:egt_logo_white.png;128"));
24+
egt::ImageLabel logo(egt::Image("icon:mgs_logo_white.png;128"));
2525
logo.margin(10);
2626
sizer.add(top(center(logo)));
2727

examples/easing/easing.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ int main(int argc, char** argv)
142142
window.add(bottom(label1));
143143
label1.zorder_down();
144144

145-
egt::ImageLabel logo(egt::Image("icon:egt_logo_white.png;128"));
145+
egt::ImageLabel logo(egt::Image("icon:mgs_logo_white.png;128"));
146146
logo.x(egt::SideBoard::HANDLE_WIDTH);
147147
logo.margin(10);
148148
window.add(top(logo));

examples/gauge/gauge.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ int main(int argc, char** argv)
4444
egt::TopWindow win;
4545
win.color(egt::Palette::ColorId::bg, egt::Palette::black);
4646

47-
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:egt_logo_white.png;128"));
47+
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:mgs_logo_white.png;128"));
4848
logo->margin(10);
4949
win.add(top(center(logo)));
5050

examples/i18n/i18n.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ int main(int argc, char** argv)
124124
return (value * window.width()) / 800.f;
125125
};
126126

127-
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:egt_logo_black.png;128"));
127+
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:mgs_logo_black.png;128"));
128128
logo->margin(10);
129129
// The size needs to be set again since the margin has been modified.
130130
const auto m = logo->moat();

examples/imagebutton/imagebutton.cpp

+32-32
Original file line numberDiff line numberDiff line change
@@ -53,53 +53,53 @@ int main(int argc, char** argv)
5353
egt::HorizontalBoxSizer hbox_big(vbox);
5454
egt::expand_horizontal(hbox_big);
5555
hbox_big.justify(egt::Justification::justify);
56-
TestButton b01(hbox_big, egt::Image("icon:egt_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 100, 50), true, false);
57-
TestButton b02(hbox_big, egt::Image("icon:egt_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 100, 50), false, false);
58-
TestButton b03(hbox_big, egt::Image("icon:egt_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 100, 50), true, true);
59-
TestButton b04(hbox_big, egt::Image("icon:egt_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 100, 50), false, true);
60-
TestButton b05(hbox_big, egt::Image("icon:egt_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 0, 0), true, false);
61-
TestButton b06(hbox_big, egt::Image("icon:egt_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 0, 0), false, false);
62-
TestButton b07(hbox_big, egt::Image("icon:egt_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 0, 0), true, true);
63-
TestButton b08(hbox_big, egt::Image("icon:egt_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 0, 0), false, true);
56+
TestButton b01(hbox_big, egt::Image("icon:mgs_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 100, 50), true, false);
57+
TestButton b02(hbox_big, egt::Image("icon:mgs_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 100, 50), false, false);
58+
TestButton b03(hbox_big, egt::Image("icon:mgs_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 100, 50), true, true);
59+
TestButton b04(hbox_big, egt::Image("icon:mgs_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 100, 50), false, true);
60+
TestButton b05(hbox_big, egt::Image("icon:mgs_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 0, 0), true, false);
61+
TestButton b06(hbox_big, egt::Image("icon:mgs_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 0, 0), false, false);
62+
TestButton b07(hbox_big, egt::Image("icon:mgs_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 0, 0), true, true);
63+
TestButton b08(hbox_big, egt::Image("icon:mgs_logo_icon.png;128"), std::string{"test"}, egt::Rect(0, 0, 0, 0), false, true);
6464

6565
egt::Label lbl1(vbox, "ImageButton without text, original image size is 128x128", egt::Rect(0, 0, 1400, 50));
6666
egt::HorizontalBoxSizer hbox_big2(vbox);
6767
egt::expand_horizontal(hbox_big2);
6868
hbox_big2.justify(egt::Justification::justify);
69-
TestButton b11(hbox_big2, egt::Image("icon:egt_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 100, 50), true, false);
70-
TestButton b12(hbox_big2, egt::Image("icon:egt_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 100, 50), false, false);
71-
TestButton b13(hbox_big2, egt::Image("icon:egt_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 100, 50), true, true);
72-
TestButton b14(hbox_big2, egt::Image("icon:egt_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 100, 50), false, true);
73-
TestButton b15(hbox_big2, egt::Image("icon:egt_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 0, 0), true, false);
74-
TestButton b16(hbox_big2, egt::Image("icon:egt_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 0, 0), false, false);
75-
TestButton b17(hbox_big2, egt::Image("icon:egt_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 0, 0), true, true);
76-
TestButton b18(hbox_big2, egt::Image("icon:egt_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 0, 0), false, true);
69+
TestButton b11(hbox_big2, egt::Image("icon:mgs_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 100, 50), true, false);
70+
TestButton b12(hbox_big2, egt::Image("icon:mgs_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 100, 50), false, false);
71+
TestButton b13(hbox_big2, egt::Image("icon:mgs_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 100, 50), true, true);
72+
TestButton b14(hbox_big2, egt::Image("icon:mgs_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 100, 50), false, true);
73+
TestButton b15(hbox_big2, egt::Image("icon:mgs_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 0, 0), true, false);
74+
TestButton b16(hbox_big2, egt::Image("icon:mgs_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 0, 0), false, false);
75+
TestButton b17(hbox_big2, egt::Image("icon:mgs_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 0, 0), true, true);
76+
TestButton b18(hbox_big2, egt::Image("icon:mgs_logo_icon.png;128"), std::string{}, egt::Rect(0, 0, 0, 0), false, true);
7777

7878
egt::Label lbl2(vbox, "ImageButton with text, original image size is 32x32", egt::Rect(0, 0, 1400, 50));
7979
egt::HorizontalBoxSizer hbox_small(vbox);
8080
egt::expand_horizontal(hbox_small);
8181
hbox_small.justify(egt::Justification::justify);
82-
TestButton b21(hbox_small, egt::Image("icon:egt_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 100, 50), true, false);
83-
TestButton b22(hbox_small, egt::Image("icon:egt_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 100, 50), false, false);
84-
TestButton b23(hbox_small, egt::Image("icon:egt_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 100, 50), true, true);
85-
TestButton b24(hbox_small, egt::Image("icon:egt_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 100, 50), false, true);
86-
TestButton b25(hbox_small, egt::Image("icon:egt_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 0, 0), true, false);
87-
TestButton b26(hbox_small, egt::Image("icon:egt_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 0, 0), false, false);
88-
TestButton b27(hbox_small, egt::Image("icon:egt_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 0, 0), true, true);
89-
TestButton b28(hbox_small, egt::Image("icon:egt_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 0, 0), false, true);
82+
TestButton b21(hbox_small, egt::Image("icon:mgs_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 100, 50), true, false);
83+
TestButton b22(hbox_small, egt::Image("icon:mgs_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 100, 50), false, false);
84+
TestButton b23(hbox_small, egt::Image("icon:mgs_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 100, 50), true, true);
85+
TestButton b24(hbox_small, egt::Image("icon:mgs_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 100, 50), false, true);
86+
TestButton b25(hbox_small, egt::Image("icon:mgs_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 0, 0), true, false);
87+
TestButton b26(hbox_small, egt::Image("icon:mgs_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 0, 0), false, false);
88+
TestButton b27(hbox_small, egt::Image("icon:mgs_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 0, 0), true, true);
89+
TestButton b28(hbox_small, egt::Image("icon:mgs_logo_icon.png;32"), std::string{"test"}, egt::Rect(0, 0, 0, 0), false, true);
9090

9191
egt::Label lbl3(vbox, "ImageButton without text, original image size is 32x32", egt::Rect(0, 0, 1400, 50));
9292
egt::HorizontalBoxSizer hbox_small2(vbox);
9393
egt::expand_horizontal(hbox_small2);
9494
hbox_small2.justify(egt::Justification::justify);
95-
TestButton b31(hbox_small2, egt::Image("icon:egt_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 100, 50), true, false);
96-
TestButton b32(hbox_small2, egt::Image("icon:egt_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 100, 50), false, false);
97-
TestButton b33(hbox_small2, egt::Image("icon:egt_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 100, 50), true, true);
98-
TestButton b34(hbox_small2, egt::Image("icon:egt_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 100, 50), false, true);
99-
TestButton b35(hbox_small2, egt::Image("icon:egt_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 0, 0), true, false);
100-
TestButton b36(hbox_small2, egt::Image("icon:egt_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 0, 0), false, false);
101-
TestButton b37(hbox_small2, egt::Image("icon:egt_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 0, 0), true, true);
102-
TestButton b38(hbox_small2, egt::Image("icon:egt_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 0, 0), false, true);
95+
TestButton b31(hbox_small2, egt::Image("icon:mgs_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 100, 50), true, false);
96+
TestButton b32(hbox_small2, egt::Image("icon:mgs_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 100, 50), false, false);
97+
TestButton b33(hbox_small2, egt::Image("icon:mgs_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 100, 50), true, true);
98+
TestButton b34(hbox_small2, egt::Image("icon:mgs_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 100, 50), false, true);
99+
TestButton b35(hbox_small2, egt::Image("icon:mgs_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 0, 0), true, false);
100+
TestButton b36(hbox_small2, egt::Image("icon:mgs_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 0, 0), false, false);
101+
TestButton b37(hbox_small2, egt::Image("icon:mgs_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 0, 0), true, true);
102+
TestButton b38(hbox_small2, egt::Image("icon:mgs_logo_icon.png;32"), std::string{}, egt::Rect(0, 0, 0, 0), false, true);
103103

104104
window.show();
105105

examples/imagestack/imagestack.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class MainWindow : public egt::TopWindow
3636

3737
background(egt::Image("file:images/background.png"));
3838

39-
auto egt_logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:egt_logo_black.png;128"));
39+
auto egt_logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:mgs_logo_black.png;128"));
4040
egt_logo->align(egt::AlignFlag::center_horizontal | egt::AlignFlag::top);
4141
egt_logo->margin(5);
4242
// The size needs to be set again since the margin has been modified.

examples/keys/keys.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ int main(int argc, char** argv)
1919
egt::VerticalBoxSizer vsizer(window);
2020
expand(vsizer);
2121

22-
egt::ImageLabel logo(egt::Image("icon:egt_logo_black.png;128"));
22+
egt::ImageLabel logo(egt::Image("icon:mgs_logo_black.png;128"));
2323
vsizer.add(logo);
2424

2525
egt::Label title("Keyboard Events");

examples/monitor/monitor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int main(int argc, char** argv)
2424
sizer0.fill_flags(egt::Theme::FillFlag::blend);
2525
sizer1.add(expand_horizontal(sizer0));
2626

27-
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:egt_logo_white.png;128"));
27+
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:mgs_logo_white.png;128"));
2828
logo->margin(10);
2929
sizer0.add(logo);
3030

examples/press/press.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class MainWindow : public egt::TopWindow
1818
fill_flags().clear();
1919
color(egt::Palette::ColorId::bg, egt::Palette::white);
2020

21-
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:egt_logo_black.png;128"));
21+
auto logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:mgs_logo_black.png;128"));
2222
logo->align(egt::AlignFlag::left | egt::AlignFlag::top);
2323
logo->margin(10);
2424
add(logo);

examples/resource/resource.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class MainWindow : public egt::TopWindow
4141
auto sizer = std::make_shared<egt::VerticalBoxSizer>();
4242
add(expand(sizer));
4343

44-
auto egt_logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:egt_logo_black.png;128"));
44+
auto egt_logo = std::make_shared<egt::ImageLabel>(egt::Image("icon:mgs_logo_black.png;128"));
4545
egt_logo->align(egt::AlignFlag::center_horizontal | egt::AlignFlag::top);
4646
egt_logo->margin(5);
4747
sizer->add(egt_logo);

examples/sevensegment/sevensegment.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ int main(int argc, char** argv)
190190
egt::TopWindow window;
191191
window.color(egt::Palette::ColorId::bg, egt::Palette::black);
192192

193-
egt::ImageLabel logo(egt::Image("icon:egt_logo_white.png;128"));
193+
egt::ImageLabel logo(egt::Image("icon:mgs_logo_white.png;128"));
194194
logo.margin(10);
195195
logo.align(egt::AlignFlag::center_horizontal | egt::AlignFlag::top);
196196
window.add(logo);

0 commit comments

Comments
 (0)