/AliOS-Things-master/solutions/eduk1_demo/k1_apps/aircraftBattle/ |
A D | aircraftBattle.md | 114 | | icon| 123 icon_t *icon; // 贴图对象 143 int bottom = dfo->cur_y + cur_map->offset_y + cur_map->icon->width; 145 int right = dfo->cur_x + cur_map->offset_x + cur_map->icon->height; 154 64 - (dfo->cur_x + cur_map->offset_x + cur_map->icon->height), 155 cur_map->icon, 197 int bottom = my_craft->cur_y + cur_map->offset_y + cur_map->icon->width; 365 uint16_t height = get_cur_map(craft)->icon->width; 370 uint16_t width = get_cur_map(craft)->icon->height; 527 …(cur_map->icon->p_icon_mask == NULL) ? cur_map->icon->p_icon_data[bullet_bit_x / 8 + bullet_bit_y]… [all …]
|
A D | aircraftBattle.c | 377 uint16_t height = get_cur_map(craft)->icon->width; in reload_dfo() 381 uint16_t width = get_cur_map(craft)->icon->height; in reload_dfo() 499 cur_map->icon, 2); in draw_dfo() 569 for (int bullet_bit_x = 0; bullet_bit_x < (cur_map->icon->height); in hit_check() 574 (cur_map->icon->p_icon_mask == NULL) ? in hit_check() 575 cur_map->icon in hit_check() 578 cur_map->icon in hit_check() 585 cur_map->icon->height - bullet_bit_x; in hit_check() 597 craft_bit_y < (cur_craft_map->icon->width); in hit_check() 600 (cur_craft_map->icon->p_icon_mask == NULL) ? in hit_check() [all …]
|
A D | aircraftBattle.h | 24 icon_t *icon; member
|
/AliOS-Things-master/components/SDL2/src/video/directfb/ |
A D | SDL_DirectFB_window.c | 196 DirectFB_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon) in DirectFB_SetWindowIcon() argument 202 if (icon) { in DirectFB_SetWindowIcon() 211 surface = SDL_ConvertSurface(icon, &format, 0); in DirectFB_SetWindowIcon() 223 &windata->icon)); in DirectFB_SetWindowIcon() 225 SDL_DFB_CHECKERR(windata->icon->Lock(windata->icon, DSLF_WRITE, in DirectFB_SetWindowIcon() 233 SDL_DFB_CHECK(windata->icon->Unlock(windata->icon)); in DirectFB_SetWindowIcon() 236 SDL_DFB_RELEASE(windata->icon); in DirectFB_SetWindowIcon() 241 SDL_DFB_RELEASE(windata->icon); in DirectFB_SetWindowIcon() 435 SDL_DFB_RELEASE(windata->icon); in DirectFB_DestroyWindow()
|
A D | SDL_DirectFB_window.h | 47 IDirectFBSurface *icon; member 62 SDL_Surface * icon);
|
/AliOS-Things-master/components/SDL2/src/video/ |
A D | SDL_video.c | 1837 if (!icon) { in SDL_SetWindowIcon() 1841 SDL_FreeSurface(window->icon); in SDL_SetWindowIcon() 1844 window->icon = SDL_ConvertSurfaceFormat(icon, SDL_PIXELFORMAT_ARGB8888, 0); in SDL_SetWindowIcon() 1845 if (!window->icon) { in SDL_SetWindowIcon() 2831 SDL_FreeSurface(window->icon); in SDL_DestroyWindow() 3718 colorkey = icon->format->colorkey; 3724 pixels = (Uint8 *) icon->pixels + y * icon->pitch; 3738 pixels = (Uint16 *) icon->pixels + y * icon->pitch / 2; 3756 pixels = (Uint32 *) icon->pixels + y * icon->pitch / 4; 3778 if (icon && _this->SetIcon) { [all …]
|
A D | SDL_sysvideo.h | 79 SDL_Surface *icon; member 215 void (*SetWindowIcon) (_THIS, SDL_Window * window, SDL_Surface * icon);
|
/AliOS-Things-master/components/SDL2/src/video/windows/ |
A D | SDL_windowswindow.c | 448 WIN_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon) in WIN_SetWindowIcon() argument 458 mask_len = (icon->h * (icon->w + 7)/8); in WIN_SetWindowIcon() 459 icon_len = 40 + icon->h * icon->w * sizeof(Uint32) + mask_len; in WIN_SetWindowIcon() 469 SDL_WriteLE32(dst, icon->w); in WIN_SetWindowIcon() 470 SDL_WriteLE32(dst, icon->h * 2); in WIN_SetWindowIcon() 474 SDL_WriteLE32(dst, icon->h * icon->w * sizeof(Uint32)); in WIN_SetWindowIcon() 481 SDL_assert(icon->format->format == SDL_PIXELFORMAT_ARGB8888); in WIN_SetWindowIcon() 482 y = icon->h; in WIN_SetWindowIcon() 484 Uint8 *src = (Uint8 *) icon->pixels + y * icon->pitch; in WIN_SetWindowIcon() 485 SDL_RWwrite(dst, src, icon->w * sizeof(Uint32), 1); in WIN_SetWindowIcon()
|
A D | SDL_windowsmessagebox.c | 560 Uint16 icon = 0; in WIN_ShowOldMessageBox() local 578 icon = (Uint16)(size_t)IDI_ERROR; in WIN_ShowOldMessageBox() 581 icon = (Uint16)(size_t)IDI_WARNING; in WIN_ShowOldMessageBox() 584 icon = (Uint16)(size_t)IDI_INFORMATION; in WIN_ShowOldMessageBox() 674 if (icon) { in WIN_ShowOldMessageBox() 685 if (icon && Size.cy < IconMargin * 2 + IconHeight) { in WIN_ShowOldMessageBox() 697 … if (icon && ! AddDialogStaticIcon(dialog, IconMargin, IconMargin, IconWidth, IconHeight, icon)) { in WIN_ShowOldMessageBox()
|
A D | SDL_windowswindow.h | 62 extern void WIN_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
|
/AliOS-Things-master/components/drivers/external_device/sh1106/src/ |
A D | sh1106.c | 366 void OLED_Icon_Draw(int16_t x, int16_t y, icon_t *icon, uint8_t mode) in OLED_Icon_Draw() argument 368 int16_t width_byte = icon->width; in OLED_Icon_Draw() 369 int16_t height_byte = icon->height / 8 + (icon->height % 8 != 0); in OLED_Icon_Draw() 373 if (mode == 2 && icon->p_icon_mask == NULL) { in OLED_Icon_Draw() 392 ~((icon->p_icon_mask[byte_y * width_byte + byte_x]) in OLED_Icon_Draw() 396 (icon->p_icon_data[byte_y * width_byte + byte_x]) in OLED_Icon_Draw() 408 ~((icon->p_icon_mask[byte_y * width_byte + byte_x]) >> in OLED_Icon_Draw() 412 (icon->p_icon_data[byte_y * width_byte + byte_x]) >> in OLED_Icon_Draw()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/Examples/HelloTFLite/Scripts/ |
A D | HelloTFLite.cs.meta | 8 icon: {instanceID: 0}
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/SDK/Scripts/ |
A D | Interpreter.cs.meta | 8 icon: {instanceID: 0}
|
/AliOS-Things-master/components/SDL2/src/video/haiku/ |
A D | SDL_bwindow.h | 32 extern void HAIKU_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testsprite2.c | 286 const char *icon = "icon.bmp"; in main() local 338 icon = argv[i]; in main() 365 if (LoadSprite(icon) < 0) { in main()
|
A D | README | 26 testwm2 Test window manager -- title, icon, events
|
/AliOS-Things-master/components/drivers/external_device/sh1106/include/ |
A D | sh1106.h | 23 void OLED_Icon_Draw(int16_t x, int16_t y, icon_t *icon, uint8_t mode);
|
/AliOS-Things-master/components/SDL2/src/test/ |
A D | SDL_test_common.c | 771 SDL_Surface *icon; in SDLTest_LoadIcon() local 774 icon = SDL_LoadBMP(file); in SDLTest_LoadIcon() 775 if (icon == NULL) { in SDLTest_LoadIcon() 780 if (icon->format->palette) { in SDLTest_LoadIcon() 782 SDL_SetColorKey(icon, 1, *((Uint8 *) icon->pixels)); in SDLTest_LoadIcon() 785 return (icon); in SDLTest_LoadIcon() 1081 SDL_Surface *icon = SDLTest_LoadIcon(state->window_icon); in SDLTest_CommonInit() local 1082 if (icon) { in SDLTest_CommonInit() 1083 SDL_SetWindowIcon(state->windows[i], icon); in SDLTest_CommonInit() 1084 SDL_FreeSurface(icon); in SDLTest_CommonInit()
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11window.c | 763 X11_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon) in X11_SetWindowIcon() argument 769 if (icon) { in X11_SetWindowIcon() 774 SDL_assert(icon->format->format == SDL_PIXELFORMAT_ARGB8888); in X11_SetWindowIcon() 775 propsize = 2 + (icon->w * icon->h); in X11_SetWindowIcon() 782 propdata[0] = icon->w; in X11_SetWindowIcon() 783 propdata[1] = icon->h; in X11_SetWindowIcon() 785 for (y = 0; y < icon->h; ++y) { in X11_SetWindowIcon() 786 src = (Uint32*)((Uint8*)icon->pixels + y * icon->pitch); in X11_SetWindowIcon() 787 for (x = 0; x < icon->w; ++x) { in X11_SetWindowIcon()
|
A D | SDL_x11window.h | 83 extern void X11_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
|
/AliOS-Things-master/components/SDL2/src/video/pandora/ |
A D | SDL_pandora.h | 71 void PND_setwindowicon(_THIS, SDL_Window * window, SDL_Surface * icon);
|
/AliOS-Things-master/components/SDL2/src/video/raspberry/ |
A D | SDL_rpivideo.h | 75 void RPI_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
|
/AliOS-Things-master/components/SDL2/src/video/psp/ |
A D | SDL_pspvideo.h | 67 void PSP_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
|
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/ |
A D | SDL_kmsdrmvideo.h | 103 void KMSDRM_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/visupng/ |
A D | VisualPng.rc | 98 // Icon with lowest ID value placed first to ensure application icon
|