Lines Matching full:if

83         if (entry->widget_type == widget_type)  in GetDefaultEventProcess()
102 if (version > 50) in MakeCreatePreamble()
122 " if (status == GX_SUCCESS)\n" in GetCreateFromDefFunction()
125 if (project_lib_version() > 50401) in GetCreateFromDefFunction()
127 "#if defined(GUIX_5_4_0_COMPATIBILITY)\n" in GetCreateFromDefFunction()
151 if (project_lib_version() > 50400) in DeclarePropertiesStruct()
159 " #if defined(GX_WIDGET_USER_DATA)\n" in DeclarePropertiesStruct()
169 else if (project_lib_version() > 50205) in DeclarePropertiesStruct()
177 " #if defined(GX_WIDGET_USER_DATA)\n" in DeclarePropertiesStruct()
202 if (project_lib_version() < 50100) in DeclarePropertiesStruct()
214 if (project_lib_version() < 50100) in DeclarePropertiesStruct()
249 if (child->gx_widget_status & GX_STATUS_ACCEPTS_FOCUS) in InitWidgetInfo()
269 if (project) in GetStringId()
276 if (table) in GetStringId()
292 if (!project || !put || size <= 1) in GetStringText()
300 if (display < 0) in GetStringText()
305 if (display >= 0) in GetStringText()
309 if (table) in GetStringText()
315 if (char_count) in GetStringText()
324 if (len < size) in GetStringText()
405 if (!info->event_func.IsEmpty()) in SaveToProject()
409 if (!info->draw_func.IsEmpty()) in SaveToProject()
413 if (!info->id_name.IsEmpty()) in SaveToProject()
417 if (!info->custom_name.IsEmpty()) in SaveToProject()
421 if (!info->user_data.IsEmpty()) in SaveToProject()
443 if ((info->style & valid_styles) != info->style) in ReadFromProject()
449 if (!reader.ReadBool("accepts_focus", info->accepts_focus)) in ReadFromProject()
457 if (project->mHeader.project_version > 54) in ReadFromProject()
485 if (widget) in AssignColor()
495 if (widget) in AssignColor()
505 if (widget) in AssignColor()
523 if (base_type == GX_TYPE_MULTI_LINE_TEXT_BUTTON) in GetTextDimension()
533 if ((*buffer == GX_KEY_CARRIAGE_RETURN) || (*buffer == GX_KEY_LINE_FEED)) in GetTextDimension()
535 if ((*buffer == GX_KEY_CARRIAGE_RETURN) && (*(buffer + 1) == GX_KEY_LINE_FEED)) in GetTextDimension()
545 if (line_index >= GX_MULTI_LINE_TEXT_BUTTON_MAX_LINES) in GetTextDimension()
555 if (text_width > max_width) in GetTextDimension()
568 if (line == GX_NULL) in GetTextDimension()
577 if (line) in GetTextDimension()
583 if (text_width > max_width) in GetTextDimension()
591 if (text_height > max_height) in GetTextDimension()
603 if (text_width > max_width) in GetTextDimension()
608 if (text_height > max_height) in GetTextDimension()
613 if (selected_font) in GetTextDimension()
618 if (text_width > max_width) in GetTextDimension()
623 if (text_height > max_height) in GetTextDimension()
690 if (!(info->style & GX_STYLE_TEXT_CENTER)) in GetTextDrawDimension()
695 if (info->basetype == GX_TYPE_RADIO_BUTTON) in GetTextDrawDimension()
698 if (!id) in GetTextDrawDimension()
706 if (!id) in GetTextDrawDimension()
712 if (id < display->gx_display_pixelmap_table_size) in GetTextDrawDimension()
717 if (map) in GetTextDrawDimension()
733 if (draw_width < 0) in GetTextDrawDimension()
738 if (draw_height < 0) in GetTextDrawDimension()
751 if (!project || !pview) in CalculateTextFitSize()
757 if (!gx_display) in CalculateTextFitSize()
774 if (normal_font_id < gx_display->gx_display_font_table_size) in CalculateTextFitSize()
780 if (!normal_font) in CalculateTextFitSize()
786 if (info->basetype == GX_TYPE_STRING_SCROLL_WHEEL) in CalculateTextFitSize()
792 if (selected_font_id < gx_display->gx_display_font_table_size) in CalculateTextFitSize()
797 if (!selected_font) in CalculateTextFitSize()
808 if (!id_list) in CalculateTextFitSize()
820 if ((info->basetype == GX_TYPE_NUMERIC_PIXELMAP_PROMPT) || in CalculateTextFitSize()
841 if (id_list[index]) in CalculateTextFitSize()
848 if (!string.IsEmpty()) in CalculateTextFitSize()
878 if (!project || !info) in CheckResizeToText()
885 if (display < 0) in CheckResizeToText()
897 if (border_width) in CheckResizeToText()
903 if (resize_mode == RESIZE_MODE_ALL || in CheckResizeToText()
909 if (resize_mode == RESIZE_MODE_ALL || in CheckResizeToText()
915 if (!gx_utility_rectangle_compare(&newsize, &info->widget->gx_widget_size)) in CheckResizeToText()
939 if (!project || !info) in CheckResizeToPixelmap()
947 if (display >= 0) in CheckResizeToPixelmap()
951 if (info->pixelmap_id[map_index]) in CheckResizeToPixelmap()
954 if (resource) in CheckResizeToPixelmap()
957 if (map) in CheckResizeToPixelmap()
959 if (map->gx_pixelmap_width > max_map_width) in CheckResizeToPixelmap()
963 if (map->gx_pixelmap_height > max_map_height) in CheckResizeToPixelmap()
973 if (max_map_height <= 0 || max_map_width <= 0) in CheckResizeToPixelmap()
978 // check to see if new size if any different in CheckResizeToPixelmap()
984 if (resize_mode == RESIZE_MODE_ALL || in CheckResizeToPixelmap()
990 if (resize_mode == RESIZE_MODE_ALL || in CheckResizeToPixelmap()
996 if (DontShrink) in CheckResizeToPixelmap()
998 if (newsize.gx_rectangle_bottom < info->size.gx_rectangle_bottom) in CheckResizeToPixelmap()
1004 if (!gx_utility_rectangle_compare(&newsize, &info->widget->gx_widget_size)) in CheckResizeToPixelmap()
1006 if (info->widget) in CheckResizeToPixelmap()
1024 if (!table) in WriteStringId()
1031 if (!idName.IsEmpty()) in WriteStringId()
1044 if (!FontName.IsEmpty()) in WriteFontId()
1057 if (!PixName.IsEmpty()) in WritePixelmapId()
1070 if (!ColorName.IsEmpty()) in WriteColorId()
1082 if (project->mHeader.project_version <= 52) in ReadStringId()
1090 if (table) in ReadStringId()
1105 if (project->mHeader.project_version <= 52) in ReadFontId()
1110 if (res_id > 10000) in ReadFontId()
1129 if (project->mHeader.project_version <= 52) in ReadPixelmapId()
1134 if (res_id > 10000) in ReadPixelmapId()
1154 if (project->mHeader.project_version <= 52) in ReadColorId()
1159 if (res_id > 10000) in ReadColorId()