Home
last modified time | relevance | path

Searched refs:icon (Results 1 – 25 of 47) sorted by relevance

12

/AliOS-Things-master/solutions/eduk1_demo/k1_apps/aircraftBattle/
A DaircraftBattle.md114 | | 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 DaircraftBattle.c377 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 DaircraftBattle.h24 icon_t *icon; member
/AliOS-Things-master/components/SDL2/src/video/directfb/
A DSDL_DirectFB_window.c196 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 DSDL_DirectFB_window.h47 IDirectFBSurface *icon; member
62 SDL_Surface * icon);
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_video.c1837 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 DSDL_sysvideo.h79 SDL_Surface *icon; member
215 void (*SetWindowIcon) (_THIS, SDL_Window * window, SDL_Surface * icon);
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowswindow.c448 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 DSDL_windowsmessagebox.c560 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 DSDL_windowswindow.h62 extern void WIN_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
/AliOS-Things-master/components/drivers/external_device/sh1106/src/
A Dsh1106.c366 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 DHelloTFLite.cs.meta8 icon: {instanceID: 0}
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/SDK/Scripts/
A DInterpreter.cs.meta8 icon: {instanceID: 0}
/AliOS-Things-master/components/SDL2/src/video/haiku/
A DSDL_bwindow.h32 extern void HAIKU_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
/AliOS-Things-master/components/SDL2/test/
A Dtestsprite2.c286 const char *icon = "icon.bmp"; in main() local
338 icon = argv[i]; in main()
365 if (LoadSprite(icon) < 0) { in main()
A DREADME26 testwm2 Test window manager -- title, icon, events
/AliOS-Things-master/components/drivers/external_device/sh1106/include/
A Dsh1106.h23 void OLED_Icon_Draw(int16_t x, int16_t y, icon_t *icon, uint8_t mode);
/AliOS-Things-master/components/SDL2/src/test/
A DSDL_test_common.c771 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 DSDL_x11window.c763 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 DSDL_x11window.h83 extern void X11_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
/AliOS-Things-master/components/SDL2/src/video/pandora/
A DSDL_pandora.h71 void PND_setwindowicon(_THIS, SDL_Window * window, SDL_Surface * icon);
/AliOS-Things-master/components/SDL2/src/video/raspberry/
A DSDL_rpivideo.h75 void RPI_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
/AliOS-Things-master/components/SDL2/src/video/psp/
A DSDL_pspvideo.h67 void PSP_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
/AliOS-Things-master/components/SDL2/src/video/kmsdrm/
A DSDL_kmsdrmvideo.h103 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 DVisualPng.rc98 // Icon with lowest ID value placed first to ensure application icon

Completed in 39 milliseconds

12