Revert "Adding gwinLabelSetJustification() as it costs basically nothing"

This reverts commit 98f3609470.
ugfx_release_2.6
Joel Bodenmann 2015-11-07 00:39:02 +01:00
parent e4c207b706
commit 636b6edf81
2 changed files with 0 additions and 19 deletions

View File

@ -112,15 +112,6 @@ GHandle gwinGLabelCreate(GDisplay *g, GLabelObject *widget, GWidgetInit *pInit,
return (GHandle)widget;
}
void gwinLabelSetJustification(GHandle gh, justify_t justify)
{
// is it a valid handle?
if (gh->vmt != (gwinVMT *)&labelVMT)
return;
gh2obj->justify = justify;
}
void gwinLabelSetBorder(GHandle gh, bool_t border) {
// is it a valid handle?
if (gh->vmt != (gwinVMT *)&labelVMT)

View File

@ -66,16 +66,6 @@ extern "C" {
GHandle gwinGLabelCreate(GDisplay *g, GLabelObject *widget, GWidgetInit *pInit, justify_t justify);
#define gwinLabelCreate(w, pInit, justify) gwinGLabelCreate(GDISP, w, pInit, justify)
/**
* @brief Set text justification
*
* @param[in] gh The widget handle (must be a label handle)
* @param[in] justify The justification
*
* @api
*/
void gwinLabelSetJustification(GHandle gh, justify_t justify);
/**
* @brief Border settings for the default rendering routine
*