aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/label/main.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-11-07 00:39:08 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-11-07 00:39:08 +0100
commitea4cadec78ba4e559f7fa1049f7d202e9e316fb7 (patch)
tree1e549d25bb1029bc175fe3af46e2761e5f53fd75 /demos/modules/gwin/label/main.c
parent636b6edf8130dae5611445a42167c9387b43766f (diff)
downloaduGFX-ea4cadec78ba4e559f7fa1049f7d202e9e316fb7.tar.gz
uGFX-ea4cadec78ba4e559f7fa1049f7d202e9e316fb7.tar.bz2
uGFX-ea4cadec78ba4e559f7fa1049f7d202e9e316fb7.zip
Revert "Adding justification parameter to gwinLabelCreate()"
This reverts commit e8a769c3823eef72a9e064d3bf992152ed261ad2.
Diffstat (limited to 'demos/modules/gwin/label/main.c')
-rw-r--r--demos/modules/gwin/label/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gwin/label/main.c b/demos/modules/gwin/label/main.c
index 8ddce320..425436ea 100644
--- a/demos/modules/gwin/label/main.c
+++ b/demos/modules/gwin/label/main.c
@@ -42,13 +42,13 @@ static void createWidgets(void) {
// Create the IP label
wi.g.width = 200; wi.g.height = 20; wi.g.x = 10, wi.g.y = 80;
wi.text = "192.168.1.42";
- ghLabel1 = gwinLabelCreate(0, &wi, justifyLeft);
+ ghLabel1 = gwinLabelCreate(0, &wi);
gwinLabelSetAttribute(ghLabel1, 100, "Current IP:");
// Create the DHCP label
wi.g.width = 200; wi.g.height = 20; wi.g.x = 10, wi.g.y = 100;
wi.text = "Off";
- ghLabel2 = gwinLabelCreate(0, &wi, justifyLeft);
+ ghLabel2 = gwinLabelCreate(0, &wi);
gwinLabelSetAttribute(ghLabel2, 100, "DHCP:");
}