From 1f9dd7485854f150b99a644cc6f43fb3bf252867 Mon Sep 17 00:00:00 2001 From: Bruno JOFRET Date: Wed, 19 Sep 2012 17:30:58 +0200 Subject: [PATCH] Fix missing style enumeration. Change-Id: I9cf126273cb4c16e736869666a69115facbeef80 --- scilab/modules/gui/src/cpp/GetUicontrolStyle.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/scilab/modules/gui/src/cpp/GetUicontrolStyle.cpp b/scilab/modules/gui/src/cpp/GetUicontrolStyle.cpp index 50e0e83..a7a96bd 100644 --- a/scilab/modules/gui/src/cpp/GetUicontrolStyle.cpp +++ b/scilab/modules/gui/src/cpp/GetUicontrolStyle.cpp @@ -28,18 +28,27 @@ static char *IntToStyle(int _iStyle) switch (_iStyle) { case __GO_UI_CHECKBOX__ : - return "CheckBox"; + return "checkbox"; case __GO_UI_EDIT__ : + return "edit"; case __GO_UI_FRAME__ : + return "frame"; case __GO_UI_IMAGE__ : + return "image"; case __GO_UI_LISTBOX__ : + return "listbox"; case __GO_UI_POPUPMENU__ : + return "popupmenu"; case __GO_UI_PUSHBUTTON__ : + return "pushbutton"; case __GO_UI_RADIOBUTTON__ : + return "radiobutton"; case __GO_UI_SLIDER__ : + return "slider"; case __GO_UI_TABLE__ : + return "table"; case __GO_UI_TEXT__ : - return "UI_????"; + return "text"; } } -- 1.7.9.5