Создание Эльфов : Эльфостроение : Форум

Страница 81 из 211: « 1 ... 77 78 79 80 [81] 82 83 84 85 ... 211 »

 sc_ghost:
09.03.09, 10:01
 arban,thank you very much


Добавлено 9.3.09 15:51

i do it:
GUI * BOOK_GetGUI(BOOK * b)
{
return((GUI*)ListElement_GetByIndex(b->xguilist->guilist,0));
}
void onTimer(u16 timerID, LPARAM lparam)
{
STBook=DISPLAY_GetTopBook(0);
if(STBook!=PRBook && !strcmp(STBook->xbook->name,"SMS Editor Book"))
{
PRBook=STBook;
TextInput=BOOK_GetGUI(PRBook);
GUIObject_Softkey_SetText(TextInput,0,STR("copy"));
GUIObject_Softkey_SetAction(TextInput,0,Copy);
GUIObject_Softkey_SetText(TextInput,1,STR("paste"));
GUIObject_Softkey_SetAction(TextInput,1,Paste);
}
Timer_ReSet(&timer,500,onTimer,0);
};
but i can't find the action"copy" and "paste" in the SMS book,why ?
i test to finde SMS book is OK!

 UltraShot:
09.03.09, 11:34
 sc_ghost,
GUIObject_Softkey_SetText(TextInput,0,STR("copy"));
GUIObject_Softkey_SetAction(TextInput,0,Copy);
GUIObject_Softkey_SetText(TextInput,1,STR("paste"));
GUIObject_Softkey_SetAction(TextInput,1,Paste);

may be 0/1 aren't correct "place" for your buttons. compile advsoftkeys with #define mDEBUG in keys.cpp, press on/off button in smsbook, and the look at other/Softs.txt. There will be list of all softkeys. Choose latest place... (may be it will help you, not sure)

 KrasH:
09.03.09, 12:07
 акшны копи и паста могу из стринг инпута дать...

 jonico:
09.03.09, 14:48
 Hi masters. How can i make a timer of type: From start time to end time? Using 2 bcfg TIME constants, like StartTime and EndTime.Thanks.

 UltraShot:
09.03.09, 15:07
 jonico, calculate time between endtime and starttime

 jonico:
09.03.09, 18:35
 thanks Ultra.
could be like this???:

function timer (xxxx,xxxx)
{
if (timerenabled)
{
while (endtime>starttime) time control++
}
timer_reset (&sometimer, functiontimer, 60000, 0)
};

 sc_ghost:
12.03.09, 04:49
 thanks for arban and Ultra!!!
thank your very much...
i make a TextCopy.Elf for the DB2010,because many DB2010 phone can't copy in string..
in the SMS 0-7 action is used.........thank

i am try add my action to left action, in where src elf can help me???

[ Редактировано sc_ghost в 12.3.09 09:52 ]

Прикрепленный к сообщению файл:

TextCopy1.5.elf TextCopy1.5.elf (6.14 kb; 4 hits) Скачать файл
TextCopy1.6.elf TextCopy1.6.elf (17.70 kb; 10 hits) Скачать файл

 SlaveMaster:
13.03.09, 19:50
 sc_ghost, very good job!
Nice elf ;-)

But what the first language in bcfg? Words display not correct

 zapret:
13.03.09, 19:56
 sc_ghost, please, create a new topic in this forum http://supertrubka.org/newbb_plus/viewforum.php?forum=22 with information about elf.

 SlaveMaster:
14.03.09, 09:53
 Люди, а как определять свободное/занятое место(телефон/карта)? Вроде два эльфа умеют, и функция должна быть..
Страница 81 из 211: « 1 ... 77 78 79 80 [81] 82 83 84 85 ... 211 »

URL этой темы:
https://mobilefree.justdanpo.ru/newbb_plus/viewtopic.php?topic_id=2479&start=800

© 2005-2018 supertrubka.org