您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ text_layer_destroy函数代码示例

51自学网 2021-06-03 08:47:06
  C++
这篇教程C++ text_layer_destroy函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中text_layer_destroy函数的典型用法代码示例。如果您正苦于以下问题:C++ text_layer_destroy函数的具体用法?C++ text_layer_destroy怎么用?C++ text_layer_destroy使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了text_layer_destroy函数的30个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: handle_deinit

void handle_deinit(void) {  text_layer_destroy(text_layer);  window_destroy(my_window);}
开发者ID:danielchristopher1,项目名称:HelloPebble,代码行数:4,


示例2: main_window_unload

static void main_window_unload(Window *window) {	// Destroy output TextLayer	text_layer_destroy(s_output_layer);}
开发者ID:golvok,项目名称:pebble-western-app,代码行数:4,


示例3: window_unload

static void window_unload(Window *window) {  text_layer_destroy(time_layer);  text_layer_destroy(exercise_layer);  text_layer_destroy(next_layer);  text_layer_destroy(lap_layer);}
开发者ID:samuelmr,项目名称:pebble-workout,代码行数:6,


示例4: destroyTextLayer

void destroyTextLayer(myTextLayer *mtl) {  text_layer_destroy(mtl->tl_obj);  free(mtl->buffer);  free(mtl->initial_str);}
开发者ID:epageron,项目名称:PebbleApps,代码行数:5,


示例5: deinit_graphical_rendering

void deinit_graphical_rendering(){  text_layer_destroy(s_time_layer);}
开发者ID:pekha,项目名称:pebble-basic-template,代码行数:3,


示例6: text_phrase_layer_unload

void text_phrase_layer_unload(Window* window) {  text_layer_destroy(text_phrase_layer);}
开发者ID:starrodkirby86,项目名称:llsiw,代码行数:3,


示例7: main_window_unload

static void main_window_unload(Window *window) {  text_layer_destroy(s_time_layer);  text_layer_destroy(s_date_layer);  layer_destroy(s_board_layer);}
开发者ID:ttingt,项目名称:Supported,代码行数:5,


示例8: deinit

static void deinit(void) {  app_sync_deinit(&sync);    tick_timer_service_unsubscribe();  battery_state_service_unsubscribe();  bluetooth_connection_service_unsubscribe();  layer_remove_from_parent(bitmap_layer_get_layer(separator_layer));  bitmap_layer_destroy(separator_layer);  gbitmap_destroy(separator_image);	  layer_remove_from_parent(bitmap_layer_get_layer(bluetooth_layer));  bitmap_layer_destroy(bluetooth_layer);  gbitmap_destroy(bluetooth_image);    bitmap_layer_destroy(layer_batt_img);  gbitmap_destroy(img_battery_100);  gbitmap_destroy(img_battery_90);  gbitmap_destroy(img_battery_80);  gbitmap_destroy(img_battery_70);  gbitmap_destroy(img_battery_60);  gbitmap_destroy(img_battery_50);  gbitmap_destroy(img_battery_40);  gbitmap_destroy(img_battery_30);  gbitmap_destroy(img_battery_20);  gbitmap_destroy(img_battery_10);  gbitmap_destroy(img_battery_charge);	  	  fonts_unload_custom_font(custom_font);  layer_remove_from_parent(bitmap_layer_get_layer(month_layer));  bitmap_layer_destroy(month_layer);  gbitmap_destroy(month_image);		  layer_remove_from_parent(bitmap_layer_get_layer(day_name_layer));  bitmap_layer_destroy(day_name_layer);  gbitmap_destroy(day_name_image);	  layer_remove_from_parent(bitmap_layer_get_layer(icon_layer));  bitmap_layer_destroy(icon_layer);  gbitmap_destroy(icon_bitmap);	  effect_layer_destroy(effect_layer_2);	  if (effect_layer != NULL) {	  effect_layer_destroy(effect_layer);  }  text_layer_destroy( temp_layer );  layer_destroy(weather_holder);		for (int i = 0; i < TOTAL_DATE_DIGITS; i++) {    layer_remove_from_parent(bitmap_layer_get_layer(date_digits_layers[i]));    gbitmap_destroy(date_digits_images[i]);    bitmap_layer_destroy(date_digits_layers[i]);  }	for (int i = 0; i < TOTAL_SECONDS_DIGITS; i++) {    layer_remove_from_parent(bitmap_layer_get_layer(seconds_digits_layers[i]));    gbitmap_destroy(seconds_digits_images[i]);    bitmap_layer_destroy(seconds_digits_layers[i]);  }	   for (int i = 0; i < TOTAL_TIME_DIGITS; i++) {    layer_remove_from_parent(bitmap_layer_get_layer(time_digits_layers[i]));    gbitmap_destroy(time_digits_images[i]);    bitmap_layer_destroy(time_digits_layers[i]);  } 	  window_destroy(window);}
开发者ID:mereed,项目名称:pebbleface-180degC,代码行数:73,


示例9: main_window_unload

static void main_window_unload(Window *window) {  text_layer_destroy(s_time_layer);  gbitmap_destroy(s_background_bitmap);  bitmap_layer_destroy(s_background_layer);}
开发者ID:jcs,项目名称:pebble-hotdogstand,代码行数:5,


示例10: windows_squeezebox_unload

static void windows_squeezebox_unload(Window *window){  action_bar_layer_destroy(action_bar);  text_layer_destroy(s_title_info_layer);  text_layer_destroy(s_album_info_layer);  text_layer_destroy(s_artist_info_layer);}
开发者ID:gibald,项目名称:telemator,代码行数:6,


示例11: window_unload

static void window_unload(Window *window) {    text_layer_destroy(prompt_layer);      layer_destroy(window_layer);    gbitmap_destroy(s_background_bitmap);    bitmap_layer_destroy(s_background_layer);}
开发者ID:KeriWarr,项目名称:MemoryTrain,代码行数:6,


示例12: window_unload

static void window_unload(Window *window) {  text_layer_destroy(s_output_layer);  app_timer_cancel(timer);  //Cancel timer}//window_unload()
开发者ID:pebblespot,项目名称:aminormal,代码行数:4,


示例13: window_unload

static void window_unload(Window *window) {  text_layer_destroy(text_time_layer);  text_layer_destroy(text_date_layer);  layer_destroy(line_layer);}
开发者ID:sandipdsp1990,项目名称:mAlert,代码行数:5,


示例14: sidebar_element_destroy

void sidebar_element_destroy(SidebarElement *el) {  text_layer_destroy(el->last_bg_text);  trend_arrow_component_destroy(el->trend);  text_layer_destroy(el->delta_text);  free(el);}
开发者ID:ELUTE,项目名称:nightscout-graph-pebble,代码行数:6,


示例15: splash_window_destroy_text

void splash_window_destroy_text() {  text_layer_destroy(title_text_layer);  text_layer_destroy(loading_text_layer);}
开发者ID:jmmerino,项目名称:pebble-c,代码行数:4,


示例16: single_code_window_unload

void single_code_window_unload(Window *window) {	text_layer_destroy(text_label_layer);	text_layer_destroy(text_pin_layer);	window_destroy(single_code_main_window);	single_code_main_window = NULL;}
开发者ID:ardaozkal,项目名称:QuickAuth,代码行数:6,


示例17: field_layer_deinit

void field_layer_deinit(FieldLayer* field_layer) {  layer_destroy(field_layer->main_layer);  text_layer_destroy(field_layer->title_layer);  text_layer_destroy(field_layer->data_layer);  text_layer_destroy(field_layer->unit_layer);}
开发者ID:ya-isakov,项目名称:Ventoo-PebbleWatchFace,代码行数:6,


示例18: window_unload

static void window_unload(Window *window) {  inverter_layer_destroy(inverter_layer);  text_layer_destroy(text_layer);  scroll_layer_destroy(scroll_layer);}
开发者ID:43403901,项目名称:pebble-sdk-examples,代码行数:5,


示例19: main_window_unload

static void main_window_unload(Window *window) {    // Destroy TextLayer    text_layer_destroy(s_time_layer);}
开发者ID:mcandre,项目名称:pebble-hextime,代码行数:4,


示例20: main_window_unload

static void main_window_unload(Window *window) {    text_layer_destroy(s_time_layer);  text_layer_destroy(s_verse_layer);}
开发者ID:MackEdweise,项目名称:BibleSwitch,代码行数:5,


示例21: debug_layer_destroy

void debug_layer_destroy() {  text_layer_destroy(debug_layer);}
开发者ID:Zeduaz,项目名称:Weather-My-Way-INVERTED,代码行数:4,


示例22: window_unload

//when you close the app.static void window_unload(Window *window) {  //deinitialize app_sync.  app_sync_deinit(&sync);  //destroy textlayer.  text_layer_destroy(direction_layer);}
开发者ID:silicaRich,项目名称:pebble-compass,代码行数:7,


示例23: handle_deinit

void handle_deinit(void) {  text_layer_destroy(text_layer);  window_destroy(window);  save_config();}
开发者ID:mntnorv,项目名称:overload,代码行数:5,


示例24: deinitIntervalSetScreen

/** * Cleanup this screen. */void deinitIntervalSetScreen(){	text_layer_destroy(intervalCountString);	text_layer_destroy(settingsTitle);	text_layer_destroy(setIntervalModeText);}
开发者ID:codemonkey9000,项目名称:pebble-intervals,代码行数:9,


示例25: main_window_unload

static void main_window_unload(Window *window) {  fonts_unload_custom_font(s_time_font);  text_layer_destroy(s_time_layer);  gbitmap_destroy(s_background_bitmap);  bitmap_layer_destroy(s_background_layer);}
开发者ID:katerberg,项目名称:pebble-tutorial-watchface,代码行数:6,


示例26: time_layer_destroy

void time_layer_destroy() {  text_layer_destroy(time_layer);}
开发者ID:jaredbiehler,项目名称:public-radio-finder,代码行数:4,


示例27: history_window_unload

static void history_window_unload(Window *window) {  text_layer_destroy(history_layer);  scroll_layer_destroy(history_scroller);}
开发者ID:samuelmr,项目名称:pebble-trackmood,代码行数:4,


示例28: date_layer_destroy

void date_layer_destroy() {  text_layer_destroy(date_layer);}
开发者ID:jaredbiehler,项目名称:public-radio-finder,代码行数:4,


示例29: destroy_ui

static void destroy_ui(void) {  window_destroy(s_window);  text_layer_destroy(s_textlayer_time);  text_layer_destroy(s_textlayer_stock1);  text_layer_destroy(s_textlayer_weekday);  text_layer_destroy(s_textlayer_weather);  text_layer_destroy(s_textlayer_city);  text_layer_destroy(s_textlayer_stock2);  text_layer_destroy(s_textlayer_day);  text_layer_destroy(s_textlayer_stock3);  text_layer_destroy(s_textlayer_market);  text_layer_destroy(s_textlayer_line);  text_layer_destroy(s_textlayer_stock4);  fonts_unload_custom_font(s_res_segoe_16);  fonts_unload_custom_font(s_res_segoe_14);  fonts_unload_custom_font(s_res_segoe_18);  fonts_unload_custom_font(s_res_segoe_12);}
开发者ID:NightOwlCoder,项目名称:FaceOne,代码行数:18,


示例30: deinit

void deinit() {  text_layer_destroy(text_layer);  window_destroy(window); }
开发者ID:guxlightyear,项目名称:PebblePkmnNotifier,代码行数:4,



注:本文中的text_layer_destroy函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ text_layer_get_layer函数代码示例
C++ text_layer_create函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。