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

Страница 187 из 211: « 1 ... 183 184 185 186 [187] 188 189 190 191 ... 211 »
DB ErrorDB Error
 Karasyov:
18.08.11, 17:10
 В самом эльфе, понятно. Но у меня не получается сделать чтобы и в конфиге язык менялся.
DB Error
 zylka:
18.08.11, 21:00
 What are possible parameters to the function
DataBrowserDesc_SetViewModeAndSortOrder( void* DataBrowserDesc, int view_sort_ID );
and how set sorting by date?
DB Error
 blacklizard:
18.08.11, 21:09
 zylka, писал:
DataBrowserDesc_SetViewModeAndSortOrder


In FW, what i saw is 0xA

Maybe you can try others
DB Error
 Evil-Racer:
18.08.11, 22:24
 Про конфиг: то же самое делай что и с эльфом, через реконфиг отправляй имя лнг файла и дальше грузи... Точно не могу объяснить как, в голове 40% =)
DB Error
 IronMaster:
18.08.11, 23:54
 Karasyov,
а кто тебе сказал что формат bcfg позволяет держать несколько вариантов написания настроек? Елинственный вариант - пересоздавать bcfg файл после смены языка.
DB Error
 Atreyu:
14.09.11, 13:50
 I'm wondering if this have some sense to swap with places this two conditions:
Код:
REQUEST_DATEANDTIME_GET(SYNC,&dt);
  if (dt.time.hour==cfgTime.hour && dt.time.min==cfgTime.min)
  {
    DoIt();
  }
Код:
REQUEST_DATEANDTIME_GET(SYNC,&dt);
  if (dt.time.min==cfgTime.min && dt.time.hour==cfgTime.hour)
  {
    DoIt();
  }
Because in first case it will be checking first condition and then second too for whole 60 minutes. In second case it will be checking only once per hour. This is crucial in optimizing, I think. What is better, checking every minute in whole hour just once per day or checking all day on every hour just for one minute? I'm little confused.
DB Error
 den_po:
14.09.11, 16:42
 
Atreyu пишет:
This is crucial in optimizing, I think.

you can gain 3-4 cpu instructions by such way. is it so important?
DB Error
 Atreyu:
14.09.11, 17:10
 I think that any kind of optimizations are highly recommended. Especially in so low performance devices like oldschool phones :-P
When we have this kind of instructions in loop things are getting very serious matter =)
DB Error
 den_po:
14.09.11, 17:16
 
Atreyu пишет:
I think that any kind of optimizations are highly recommended.

wrong
DB Error
 Atreyu:
14.09.11, 17:21
 den_po, wrote:
wrong

Oh, why?
Страница 187 из 211: « 1 ... 183 184 185 186 [187] 188 189 190 191 ... 211 »

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

© 2005-2018 mobilefree.justdanpo.ru