Создание Эльфов : Эльфостроение : Форум |
Страница 78 из 211: « 1 ... 74 75 76 77 [78] 79 80 81 82 ... 211 » |
UltraShot: |
22.01.09, 16:54 |
SlaveMaster писал: как узнать текущую книгу для установки в ней обработчика нажатия клавиши Код: BOOK *bk=DISPLAY_GetTopBook(0); SlaveMaster писал: вот isMassStorageFunctionBook и isStandbyBook is undefined?.. таких в библе нет. стэндбай можно так: Код: bk=Find_StandbyBook(); и пример для MassStorageFunctionBook: Код: int isMSFBook(BOOK *bk) { if (!strcmp(bk->xbook->name,"MassStorageFunctionBook")) return 1; return 0; }; затем: Код: bk=FindBook(isMSFBook); |
jonico: |
06.02.09, 16:11 |
Hi, i am trying to draw a string on fullscreen (standby, softkeys and statusrow) but i can't. What is the algorithm to do that?Thanks. |
UltraShot: |
06.02.09, 16:14 |
jonico, http://perk11.info/svn/SE/CoverArt/ |
jonico: |
06.02.09, 19:00 |
Yes ultra, sorry, i didn't mentioned. I don't understand your code, how do you do to show an icon that exceeds status row size? |
Peti: |
06.02.09, 19:14 |
UltraShot, I added you on ICQ yesterday and you still haven't showed up. And I've got a serious problem. I have a file manager, much like MobileFar, but when I execute a file, and then close the elf, I always lose focus, and I get it back only when I hit a button 3 times then. |
UltraShot: |
06.02.09, 19:55 |
Peti писал: I added you on ICQ yesterday and you still haven't showed up. no, nobody added me Peti писал: And I've got a serious problem. I have a file manager, much like MobileFar, but when I execute a file, and then close the elf, I always lose focus, and I get it back only when I hit a button 3 times then. execute your elf or any other? if your - setfocus to your book... jonico, sorry, didn't understand question |
Peti: |
06.02.09, 20:04 |
I mean I execute a music or image file, then exit my own elf and then the focus is gone. |
jonico: |
06.02.09, 20:49 |
Ultra: basically i don't understand your code. I'm drawing on three places at same time (status, standby and softkey) but i can't make it work. |
UltraShot: |
06.02.09, 20:58 |
jonico, should work if you do this correctly |
Deitro: |
18.02.09, 11:42 |
Следующий код перезагружает телефон k750 r1ca021. Проблема в функции GC_DrawRoundRect, так как, например, GC_DrawLine работает отлично. Либо в нашей библиотеке функцию нашли неправильно, либо я ошибся в ее описании. В чем проблема тут проблема? Код: void MyOnRedraw(DISP_OBJ* DO,int a,int b,int c2) { void *gc = get_DisplayGC(); GC_SetPenColor(gc,0xFF0000FF); GC_SetBrushColor(gc,0xFF00FF00); RECT rect; rect.x1 = 40; rect.y1 = 40; rect.x2 = 120; rect.y2 = 90; GC_DrawRoundRect ( gc, &rect, 4, 4, 2, 1); //GC_DrawLine(gc,10,40,100,80); } На всякий случай приложу этот скомпилированный эльф. |
Страница 78 из 211: « 1 ... 74 75 76 77 [78] 79 80 81 82 ... 211 » |
URL этой темы: https://mobilefree.justdanpo.ru/newbb_plus/viewtopic.php?topic_id=2479&start=770 © 2005-2018 supertrubka.org |