src/android/source/iupandroid_label.c
static IupAndroidLabelSubType androidTextGetSubType(Ihandle* ih)
{
	switch(ih->data->type)
	{
		case IUP_LABEL_SEP_HORIZ:
		{
			return IUPANDROIDLABELSUBTYPE_SEP_HORIZONTAL;
		}
		case IUP_LABEL_SEP_VERT:
		{
			return IUPANDROIDLABELSUBTYPE_SEP_VERTICAL;
		}
		case IUP_LABEL_IMAGE:
		{
			return IUPANDROIDLABELSUBTYPE_IMAGE;
		}
		case IUP_LABEL_TEXT:
		{
			return IUPANDROIDLABELSUBTYPE_TEXT;
		}
		default:
		{
			return IUPANDROIDLABELSUBTYPE_UNKNOWN;
		}
	}

	return IUPANDROIDLABELSUBTYPE_UNKNOWN;
}
/*
 Each IUP list subtype requires a completely different Cocoa native widget.
 This function provides a consistent and centralized way to distinguish which subtype we need.
 */
Each IUP list subtype requires a completely different Cocoa native widget.
This function provides a consistent and centralized way to distinguish which subtype we need.
Each IUP list subtype requires a completely different Cocoa native widget . This function provides a consistent and centralized way to distinguish which subtype we need .
static IupAndroidLabelSubType androidTextGetSubType(Ihandle* ih)
{
	switch(ih->data->type)
	{
		case IUP_LABEL_SEP_HORIZ:
		{
			return IUPANDROIDLABELSUBTYPE_SEP_HORIZONTAL;
		}
		case IUP_LABEL_SEP_VERT:
		{
			return IUPANDROIDLABELSUBTYPE_SEP_VERTICAL;
		}
		case IUP_LABEL_IMAGE:
		{
			return IUPANDROIDLABELSUBTYPE_IMAGE;
		}
		case IUP_LABEL_TEXT:
		{
			return IUPANDROIDLABELSUBTYPE_TEXT;
		}
		default:
		{
			return IUPANDROIDLABELSUBTYPE_UNKNOWN;
		}
	}
	return IUPANDROIDLABELSUBTYPE_UNKNOWN;
}
static IupAndroidLabelSubType androidTextGetSubType ( Ihandle * ih ) { switch ( ih -> data -> type ) { case IUP_LABEL_SEP_HORIZ : { return IUPANDROIDLABELSUBTYPE_SEP_HORIZONTAL ; } case IUP_LABEL_SEP_VERT : { return IUPANDROIDLABELSUBTYPE_SEP_VERTICAL ; } case IUP_LABEL_IMAGE : { return IUPANDROIDLABELSUBTYPE_IMAGE ; } case IUP_LABEL_TEXT : { return IUPANDROIDLABELSUBTYPE_TEXT ; } default : { return IUPANDROIDLABELSUBTYPE_UNKNOWN ; } } return IUPANDROIDLABELSUBTYPE_UNKNOWN ; }
Each IUP list subtype requires a completely different Cocoa native widget.
Each IUP list subtype requires a completely different Cocoa native widget .