Lines Matching refs:info
36 …ervice_provider::WriteExtendedProperties(screen_generator *gen, CString &prefix, widget_info *info) in WriteExtendedProperties() argument
39 CString propname = prefix + info->app_name; in WriteExtendedProperties()
54 info->ewi.gauge.start_angle, in WriteExtendedProperties()
55 info->ewi.gauge.info.gx_circular_gauge_info_animation_steps, in WriteExtendedProperties()
56 info->ewi.gauge.info.gx_circular_gauge_info_animation_delay, in WriteExtendedProperties()
57 info->ewi.gauge.info.gx_circular_gauge_info_needle_xpos, in WriteExtendedProperties()
58 info->ewi.gauge.info.gx_circular_gauge_info_needle_ypos, in WriteExtendedProperties()
59 info->ewi.gauge.info.gx_circular_gauge_info_needle_xcor, in WriteExtendedProperties()
60 info->ewi.gauge.info.gx_circular_gauge_info_needle_ycor, in WriteExtendedProperties()
61 gen->GetPixelmapIdName(info->pixelmap_id[NORMAL_PIXELMAP_INDEX]), in WriteExtendedProperties()
62 gen->GetPixelmapIdName(info->pixelmap_id[SELECTED_PIXELMAP_INDEX]), in WriteExtendedProperties()
63 gen->GetPixelmapIdName(info->pixelmap_id[NEEDLE_PIXELMAP_INDEX])); in WriteExtendedProperties()
133 widget_info *info = InitWidgetInfo((GX_WIDGET *)gauge); in CreateNewInstance() local
134 info->ewi.gauge.info = gauge_info; in CreateNewInstance()
135 return info; in CreateNewInstance()
138 GX_WIDGET *circular_gauge_service_provider::GenerateFromInfo(GX_WIDGET *parent, widget_info *info) in GenerateFromInfo() argument
143 (CHAR *)info->app_name.GetString(), in GenerateFromInfo()
144 parent, &info->ewi.gauge.info, info->pixelmap_id[NORMAL_PIXELMAP_INDEX], in GenerateFromInfo()
145 info->style, in GenerateFromInfo()
147 info->size.gx_rectangle_left, info->size.gx_rectangle_top); in GenerateFromInfo()
149 gx_widget_resize((GX_WIDGET*) gauge, &info->size); in GenerateFromInfo()
152 info->color_id[NORMAL_FILL_COLOR_INDEX], in GenerateFromInfo()
153 info->color_id[SELECTED_FILL_COLOR_INDEX], in GenerateFromInfo()
154 info->color_id[DISABLED_FILL_COLOR_INDEX]); in GenerateFromInfo()
159 …ovider::SaveToProject(xml_writer &writer, studiox_project *project, int display, widget_info *info) in SaveToProject() argument
162 widget_service_provider::SaveToProject(writer, project, display, info); in SaveToProject()
164 writer.WriteInt("start_angle", info->ewi.gauge.start_angle); in SaveToProject()
165 writer.WriteInt("animation_steps", info->ewi.gauge.info.gx_circular_gauge_info_animation_steps); in SaveToProject()
166 writer.WriteInt("animation_delay", info->ewi.gauge.info.gx_circular_gauge_info_animation_delay); in SaveToProject()
167 writer.WriteInt("xpos", info->ewi.gauge.info.gx_circular_gauge_info_needle_xpos); in SaveToProject()
168 writer.WriteInt("ypos", info->ewi.gauge.info.gx_circular_gauge_info_needle_ypos); in SaveToProject()
169 writer.WriteInt("xcor", info->ewi.gauge.info.gx_circular_gauge_info_needle_xcor); in SaveToProject()
170 writer.WriteInt("ycor", info->ewi.gauge.info.gx_circular_gauge_info_needle_ycor); in SaveToProject()
172 …WritePixelmapId(writer, project, display, "normal_pixlmap", info->pixelmap_id[NORMAL_PIXELMAP_INDE… in SaveToProject()
173 …WritePixelmapId(writer, project, display, "selected_pixlmap", info->pixelmap_id[SELECTED_PIXELMAP_… in SaveToProject()
174 …WritePixelmapId(writer, project, display, "needle_pixlmap", info->pixelmap_id[NEEDLE_PIXELMAP_INDE… in SaveToProject()
177 …t(xml_reader &reader, studiox_project *project, int display, widget_info *info, ULONG valid_styles) in ReadFromProject() argument
180 widget_service_provider::ReadFromProject(reader, project, display, info, valid_styles); in ReadFromProject()
182 reader.ReadInt("start_angle", info->ewi.gauge.start_angle); in ReadFromProject()
183 reader.ReadInt("animation_steps", info->ewi.gauge.info.gx_circular_gauge_info_animation_steps); in ReadFromProject()
184 reader.ReadInt("animation_delay", info->ewi.gauge.info.gx_circular_gauge_info_animation_delay); in ReadFromProject()
185 reader.ReadValue("xpos", info->ewi.gauge.info.gx_circular_gauge_info_needle_xpos); in ReadFromProject()
186 reader.ReadValue("ypos", info->ewi.gauge.info.gx_circular_gauge_info_needle_ypos); in ReadFromProject()
187 reader.ReadValue("xcor", info->ewi.gauge.info.gx_circular_gauge_info_needle_xcor); in ReadFromProject()
188 reader.ReadValue("ycor", info->ewi.gauge.info.gx_circular_gauge_info_needle_ycor); in ReadFromProject()
190 …info->pixelmap_id[NORMAL_PIXELMAP_INDEX] = ReadPixelmapId(reader, project, display, "normal_pixlma… in ReadFromProject()
191 …info->pixelmap_id[SELECTED_PIXELMAP_INDEX] = ReadPixelmapId(reader, project, display, "selected_pi… in ReadFromProject()
192 …info->pixelmap_id[NEEDLE_PIXELMAP_INDEX] = ReadPixelmapId(reader, project, display, "needle_pixlma… in ReadFromProject()
194 …info->ewi.gauge.info.gx_circular_gauge_info_needle_pixelmap = info->pixelmap_id[NEEDLE_PIXELMAP_IN… in ReadFromProject()
197 void circular_gauge_service_provider::AssignPixelmap(widget_info *info, int index, GX_RESOURCE_ID p… in AssignPixelmap() argument
199 GX_CIRCULAR_GAUGE_INFO gauge_info = info->ewi.gauge.info; in AssignPixelmap()
200 GX_CIRCULAR_GAUGE *gauge = (GX_CIRCULAR_GAUGE *) (info->widget); in AssignPixelmap()
206 info->pixelmap_id[NORMAL_PIXELMAP_INDEX] = pixmap_id; in AssignPixelmap()
211 gauge->gx_icon_selected_pixelmap = info->pixelmap_id[SELECTED_PIXELMAP_INDEX]; in AssignPixelmap()
212 … gauge_info.gx_circular_gauge_info_needle_pixelmap = info->pixelmap_id[NEEDLE_PIXELMAP_INDEX]; in AssignPixelmap()
214 … gx_icon_pixelmap_set((GX_ICON *)gauge, pixmap_id, info->pixelmap_id[SELECTED_PIXELMAP_INDEX]); in AssignPixelmap()
219 info->pixelmap_id[SELECTED_PIXELMAP_INDEX] = pixmap_id; in AssignPixelmap()
223 gauge->gx_icon_normal_pixelmap = info->pixelmap_id[NORMAL_PIXELMAP_INDEX]; in AssignPixelmap()
225 … gauge_info.gx_circular_gauge_info_needle_pixelmap = info->pixelmap_id[NEEDLE_PIXELMAP_INDEX]; in AssignPixelmap()
227 … gx_icon_pixelmap_set((GX_ICON *)gauge, info->pixelmap_id[NORMAL_PIXELMAP_INDEX], pixmap_id); in AssignPixelmap()
232 info->pixelmap_id[NEEDLE_PIXELMAP_INDEX] = pixmap_id; in AssignPixelmap()
233 info->ewi.gauge.info.gx_circular_gauge_info_needle_pixelmap = pixmap_id; in AssignPixelmap()
237 gauge->gx_icon_normal_pixelmap = info->pixelmap_id[NORMAL_PIXELMAP_INDEX]; in AssignPixelmap()
238 gauge->gx_icon_selected_pixelmap = info->pixelmap_id[SELECTED_PIXELMAP_INDEX]; in AssignPixelmap()
256 if (!gx_utility_rectangle_compare(&newsize, &info->size)) in AssignPixelmap()
258 info->size = newsize; in AssignPixelmap()
260 GetTargetScreen()->WidgetWasMoved(info); in AssignPixelmap()
265 void circular_gauge_service_provider::Autosize(widget_info *info) in Autosize() argument
267 CheckResizeToPixelmap(info, RESIZE_MODE_HEIGHT, TRUE); in Autosize()