Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see misc/tools/kconfig-language.txt.
  4. #
  5. config NXWIDGETS
  6. bool "Enable NxWidgets"
  7. default n
  8. depends on NX && HAVE_CXX
  9. ---help---
  10. Enable support for NxWidgets
  11. if NXWIDGETS
  12. comment "NX Server/Device Configuration"
  13. config NXWIDGETS_FLICKERFREE
  14. bool "Enable Flicker Reduction Logic"
  15. default y if NX_LCDDRIVER
  16. default n if !NX_LCDDRIVER
  17. ---help---
  18. Because of their performance an in the manner in which they are
  19. updated, LCDs may be prone to "flicker" in the displays when Widgets
  20. are updated. Often more complex (and slower) options are availble
  21. to reduce the flicker. Enabling this option will enabled those
  22. lower-performance flicker-reductions measures where-ever thay may
  23. be available.
  24. config NXWIDGETS_DEVNO
  25. int "LCD Device Number"
  26. default 0
  27. ---help---
  28. LCD device number (in case there are more than one LCDs connected).
  29. Default: 0
  30. config NXWIDGETS_VPLANE
  31. int "Plane Number"
  32. default 0
  33. ---help---
  34. Only a single video plane is supported. Default: 0
  35. config NXWIDGETS_SERVERPRIO
  36. int "NX Server priority"
  37. default 110
  38. ---help---
  39. Priority of the NX server. This applies only if NX is configured in
  40. multi-user mode (NX_MULTIUSER=y). Default: 110.
  41. NOTE: Of the three priority definitions here, NXWIDGETS_SERVERPRIO
  42. should have the highest priority to avoid data overrun race conditions.
  43. Such errors would most likely appear as duplicated rows of data on the
  44. display.
  45. config NXWIDGETS_SERVERSTACK
  46. int "NX Server Stack Size"
  47. default 2048
  48. ---help---
  49. NX server thread stack size (in multi-user mode). Default 2048
  50. config NXWIDGETS_CLIENTPRIO
  51. int "NX Client Priority"
  52. default 100
  53. ---help---
  54. The thread that calls CNxServer::connect() will be re-prioritized to
  55. this priority. This applies only if NX is configured in multi-user
  56. mode (NX_MULTIUSER=y). Default: 100
  57. config NXWIDGETS_LISTENERPRIO
  58. int "NX Listener Priority"
  59. default 100
  60. ---help---
  61. Priority of the NX event listener thread. This applies only if NX
  62. is configured in multi-user mode (NX_MULTIUSER=y). Default: 100
  63. config NXWIDGETS_LISTENERSTACK
  64. int "NX Listener Stack Size"
  65. default 2048
  66. ---help---
  67. NX listener thread stack size (in multi-user mode). Default 2048
  68. config NXWIDGETS_EXTERNINIT
  69. bool "Extern LCD Initialization"
  70. ---help---
  71. Define to support external display initialization.
  72. config NXWIDGET_EVENTWAIT
  73. bool "Event Waiting"
  74. default n
  75. ---help---
  76. Build in support for external window event, modal loop management
  77. logic. This includes methods to wait for windows events to occur
  78. so that looping logic can sleep until something interesting happens
  79. with the window.
  80. comment "NXWidget Configuration"
  81. config NXWIDGETS_BPP
  82. int "BPP"
  83. ---help---
  84. Supported bits-per-pixel {8, 16, 24, 32}. Default: The smallest
  85. BPP configuration supported by NX.
  86. config NXWIDGETS_SIZEOFCHAR
  87. int "Size of a character (1 or 2 bytes)"
  88. range 1 2
  89. ---help---
  90. Size of character {1 or 2 bytes}. Default Determined by
  91. NXWIDGETS_SIZEOFCHAR
  92. comment "NXWidget Default Values"
  93. config NXWIDGETS_SYSTEM_CUSTOM_FONTID
  94. bool "Use a Custom Default Font"
  95. default n
  96. ---help---
  97. Set to override the system default font id (NXFONT_DEFAULT).
  98. if NXWIDGETS_SYSTEM_CUSTOM_FONTID
  99. config NXWIDGETS_DEFAULT_FONTID
  100. int "Default Font ID"
  101. default 0
  102. ---help---
  103. Use this default NxWidgets font ID instead of the system font ID
  104. (NXFONT_DEFAULT). Default: 0
  105. endif
  106. config NXWIDGETS_TNXARRAY_INITIALSIZE
  107. int "Initial Size of Dynamic Arrays"
  108. default 16
  109. ---help---
  110. Default dynamic array size (in entries). Default: 16
  111. config NXWIDGETS_TNXARRAY_SIZEINCREMENT
  112. int "Dyanamic Array Reallocation Size Increment"
  113. default 8
  114. ---help---
  115. Default dynamic array realloctino increment (in entries). Default: 8
  116. config NXWIDGETS_CUSTOM_FILLCOLORS
  117. bool "Custom Default Fill Colors"
  118. default n
  119. ---help---
  120. Select custom default colors for the widget background. If defined,
  121. the hexadecimal values for all filled colors must be provided
  122. (there are no default colors because the hexadecimal representation
  123. of the default colors depend on the pixel depth). Default: n
  124. if NXWIDGETS_CUSTOM_FILLCOLORS
  125. config NXWIDGETS_DEFAULT_BACKGROUNDCOLOR
  126. hex "Default Normal Background Color"
  127. ---help---
  128. Normal background color. Default: RGB(148,189,215)
  129. config NXWIDGETS_DEFAULT_SELECTEDBACKGROUNDCOLOR
  130. hex "Default Selected Background Color"
  131. ---help---
  132. Default selected background color. Default: RGB(206,227,241)
  133. config NXWIDGETS_DEFAULT_HIGHLIGHTCOLOR
  134. hex "Default Highlight Color"
  135. ---help---
  136. Highlight color. Currently this color is only used in clist
  137. boxes, progress bars, and slider grips. Default: RGB(192,192,192)
  138. endif
  139. config NXWIDGETS_CUSTOM_EDGECOLORS
  140. bool "Custom Default Edge Colors"
  141. default n
  142. ---help---
  143. Select custom default colors for the widget edges. If defined,
  144. then hexadecimal values for all edge colors must be provided
  145. (there are no default colors because the hexadecimal representation
  146. of the default colors depend on the pixel depth). Default: n.
  147. if NXWIDGETS_CUSTOM_EDGECOLORS
  148. config NXWIDGETS_DEFAULT_SHINEEDGECOLOR
  149. hex "Default Shiny Edge Color"
  150. ---help---
  151. Shiny side boarder color. Default: RGB(248,248,248)
  152. config NXWIDGETS_DEFAULT_SHADOWEDGECOLOR
  153. hex "Default Shadow Edge Color"
  154. ---help---
  155. Shadowed side border color. Default: RGB(35,58,73)
  156. endif
  157. config NXWIDGETS_CUSTOM_TEXTCOLORS
  158. bool "Custom Default Text colors"
  159. default n
  160. ---help---
  161. Select custom colors for the widget text. If defined, then
  162. hexadecimal values for all text colors must be provided
  163. (there are no default colors because the hexadecimal representation
  164. of the default colors depend on the pixel depth). Default: n.
  165. if NXWIDGETS_CUSTOM_TEXTCOLORS
  166. config NXWIDGETS_DEFAULT_DISABLEDTEXTCOLOR
  167. hex "Default Disabled Text Color"
  168. ---help---
  169. Text color on a disabled widget: Default: RGB(192,192,192)
  170. config NXWIDGETS_DEFAULT_ENABLEDTEXTCOLOR
  171. hex "Default Enabled Text Color"
  172. ---help---
  173. Text color on a enabled widget. Default: RGB(248,248,248)
  174. config NXWIDGETS_DEFAULT_SELECTEDTEXTCOLOR
  175. hex "Default Selected Text Color"
  176. ---help---
  177. Text color on a selected widget. Default: RGB(0,0,0)
  178. config NXWIDGETS_DEFAULT_FONTCOLOR
  179. hex "Default Default Font Color"
  180. ---help---
  181. Default font color. Default: RGB(255,255,255)
  182. endif
  183. config NXWIDGETS_TRANSPARENT_COLOR
  184. hex "Transparent Color"
  185. default 0x0
  186. ---help---
  187. Transparent color. Default: RGB(0,0,0)
  188. comment "Keypad behavior"
  189. config NXWIDGETS_FIRST_REPEAT_TIME
  190. int "First Repeat Time"
  191. default 500
  192. ---help---
  193. Time taken before a key starts repeating (in milliseconds). Default: 500
  194. config NXWIDGETS_CONTINUE_REPEAT_TIME
  195. int "Continue Repeat Time"
  196. default 200
  197. ---help---
  198. Time taken before a repeating key repeats again (in milliseconds).
  199. Default: 200
  200. config NXWIDGETS_DOUBLECLICK_TIME
  201. int "Double Click Time"
  202. default 350
  203. ---help---
  204. Left button release-press time for double click (in milliseconds).
  205. Default: 350
  206. config NXWIDGETS_KBDBUFFER_SIZE
  207. int "Keybard Buffer Size"
  208. default 16
  209. ---help---
  210. Size of incoming character buffer, i.e., the maximum number of
  211. characters that can be entered between NX polling cycles without
  212. losing data.
  213. config NXWIDGETS_CURSORCONTROL_SIZE
  214. int "Cursor Control Buffer Size"
  215. default 4
  216. ---help---
  217. Size of incoming cursor control buffer, i.e., the maximum number
  218. of cursor controls that can between entered by NX polling cycles
  219. without losing data. Default: 4
  220. config NXWIDGET_MEMMONITOR
  221. bool "Memory Usage Monitor"
  222. default n
  223. ---help---
  224. Enable memory usage monitor instrumentation. This feature is only
  225. used by the NxWidget/NxWM unit tests.
  226. endif
  227. config NXWM
  228. bool "Enable NxWM"
  229. default n
  230. depends on NXWIDGETS && NX_MULTIUSER
  231. ---help---
  232. Enable support for the NuttX Tiny Window Manager (NxWM)
  233. if NXWM
  234. comment "General settings"
  235. config NXWM_SYSTEM_CUSTOM_FONTID
  236. bool "Use Custom Default Font"
  237. default n
  238. ---help---
  239. Set to override the system default font id (NXFONT_DEFAULT).
  240. if NXWM_SYSTEM_CUSTOM_FONTID
  241. config NXWM_DEFAULT_FONTID
  242. int "Font ID"
  243. default 0
  244. ---help---
  245. Use this NxWM default font ID instead of the system font ID
  246. (NXFONT_DEFAULT). Default: 0
  247. endif
  248. config NXWM_UNITTEST
  249. bool "NxWM Unit Test"
  250. default n
  251. ---help---
  252. Enable Hooks for the NxWM Unit Test
  253. comment "Color configuration"
  254. config NXWM_CUSTOM_FILLCOLORS
  255. bool "Custom Default Fill Colors"
  256. default n
  257. ---help---
  258. Select custom default colors for the widget background. If defined,
  259. the hexadecimal values for all filled colors must be provided
  260. (there are no default colors because the hexadecimal representation
  261. of the default colors depend on the pixel depth). Default: n
  262. if NXWM_CUSTOM_FILLCOLORS
  263. config NXWM_DEFAULT_BACKGROUNDCOLOR
  264. hex "Background Color"
  265. ---help---
  266. Normal background color. Default: RGB(148,189,215)
  267. config NXWM_DEFAULT_SELECTEDBACKGROUNDCOLOR
  268. hex "Normal Background Color"
  269. ---help---
  270. Select background color. Default: RGB(206,227,241)
  271. endif
  272. config NXWM_CUSTOM_EDGECOLORS
  273. bool "Custom Default Edge Colors"
  274. default n
  275. ---help---
  276. Select custom default colors for the widget edges. If defined,
  277. then hexadecimal values for all edge colors must be provided
  278. (there are no default colors because the hexadecimal representation
  279. of the default colors depend on the pixel depth). Default: n.
  280. if NXWM_CUSTOM_EDGECOLORS
  281. config NXWM_DEFAULT_SHINEEDGECOLOR
  282. hex "Shiny Edge Color"
  283. ---help---
  284. Color of the bright edge of a border. Default: RGB(255,255,255)
  285. config NXWM_DEFAULT_SHADOWEDGECOLOR
  286. hex "Shadow Edge Color"
  287. ---help---
  288. Color of the shadowed edge of a border. Default: RGB(0,0,0)
  289. endif
  290. config NXWM_CUSTOM_TEXTCOLORS
  291. bool "Custom Default Text colors"
  292. default n
  293. ---help---
  294. Select custom colors for the widget text. If defined, then
  295. hexadecimal values for all text colors must be provided
  296. (there are no default colors because the hexadecimal representation
  297. of the default colors depend on the pixel depth). Default: n.
  298. if NXWM_CUSTOM_TEXTCOLORS
  299. config NXWM_DEFAULT_FONTCOLOR
  300. hex "Default Font Color"
  301. ---help---
  302. Default fong color. Default: RGB(0,0,0)
  303. config NXWM_TRANSPARENT_COLOR
  304. hex "Transparent Color"
  305. default 0x0
  306. ---help---
  307. The "transparent" color. Default: RGB(0,0,0)
  308. endif
  309. comment "Horizontal and vertical spacing of icons in the task bar"
  310. config NXWM_TASKBAR_VSPACING
  311. int "Vertical Spacing"
  312. default 2
  313. ---help---
  314. Vertical spacing. Default: 2 pixels
  315. config NXWM_TASKBAR_HSPACING
  316. int "Horizontal Spacing"
  317. default 2
  318. ---help---
  319. Horizontal spacing. Default: 2 rows
  320. choice NXWM_TASKBAR_LOCATION
  321. prompt "Taskbar Location"
  322. default NXWM_TASKBAR_TOP
  323. config NXWM_TASKBAR_TOP
  324. bool "Top"
  325. ---help---
  326. Task bar is at the top of the display
  327. config NXWM_TASKBAR_BOTTOM
  328. bool "Bottom"
  329. ---help---
  330. Task bar is at the bottom of the display
  331. config NXWM_TASKBAR_LEFT
  332. bool "Left"
  333. ---help---
  334. Task bar is on the left side of the display
  335. config NXWM_TASKBAR_RIGHT
  336. bool "Right"
  337. ---help---
  338. Task bar is on the right side of the display
  339. endchoice
  340. config NXWM_CUSTOM_TASKBAR_WIDTH
  341. bool "Use Custom Taskbar width"
  342. default n
  343. ---help---
  344. Set to override the default taskbar thickness (either vertical or
  345. horizontal). The default depends on the selected horizontal or
  346. vertical spacing. Default: 25 + 2*spacing
  347. if NXWM_CUSTOM_TASKBAR_WIDTH
  348. config NXWM_TASKBAR_WIDTH
  349. int "Taskbar Width"
  350. default 29
  351. ---help---
  352. Task bar thickness (either vertical or horizontal). Default: 25 + 2*2
  353. endif
  354. config NXWM_DISABLE_MINIMIZE
  355. bool "Disable Minimize Button"
  356. default n
  357. ---help---
  358. If the "desktop" is empty, users have no need to minimize any
  359. windows. If the buttons are small, it's easy to hit minimize
  360. button accidentally when trying to close an application.
  361. config NXWM_TASKBAR_NO_BORDER
  362. bool "Suppress Taskbar border"
  363. default n
  364. ---help---
  365. Suppress drawing a the border around the taskbar.
  366. comment "Tool Bar Configuration"
  367. config NXWM_CUSTOM_TOOLBAR_HEIGHT
  368. bool "Use Custom Toolbar Height"
  369. default n
  370. ---help---
  371. Set to override the default tooldar height The default depends on
  372. the selected horizontal or vertical spacing. Default: 21 + 2*spacing
  373. if NXWM_CUSTOM_TOOLBAR_HEIGHT
  374. config NXWM_TOOLBAR_HEIGHT
  375. int "Toolbar Height"
  376. default 25
  377. ---help---
  378. The height of the tool bar in each application window. At present,
  379. all icons are 21 pixels in height and, hence, require a task bar of
  380. at least that size. Default: 21 + 2*2
  381. endif
  382. comment "Background Image"
  383. config NXWM_DISABLE_BACKGROUND_IMAGE
  384. bool "Disable Background Image"
  385. default n if !NXWM_DISABLE_MINIMIZE
  386. default y if NXWM_DISABLE_MINIMIZE
  387. ---help---
  388. Disable support for the "Desktop" background image.
  389. config NXWM_BACKGROUND_IMAGE
  390. string "Background Image"
  391. depends on !NXWM_DISABLE_BACKGROUND_IMAGE
  392. ---help---
  393. The name of the image to use in the background window. Default:
  394. NXWidgets::g_nuttxBitmap
  395. comment "Application Window Configuration"
  396. config NXWM_CUSTOM_APPWINDOW_ICONS
  397. bool "Custom Start/Stop Application Window Icons"
  398. default n
  399. ---help---
  400. Select to override the default Application Window Stop and Minimize Icons.
  401. if NXWM_CUSTOM_APPWINDOW_ICONS
  402. config NXWM_STOP_BITMAP
  403. string "Stop Icon"
  404. default "NxWM::g_stopBitmap"
  405. ---help---
  406. The glyph to use as the Stop icon. Default: NxWM::g_stopBitmap
  407. config NXWM_MINIMIZE_BITMAP
  408. string "Minimize Icon"
  409. default "NxWM::g_minimizeBitmap"
  410. ---help---
  411. The glyph to use as the Minimize icon. Default: NxWM::g_minimizeBitmap
  412. endif
  413. comment "Start Window Configuration"
  414. comment "Horizontal and vertical spacing of icons in the task bar"
  415. config NXWM_STARTWINDOW_VSPACING
  416. int "Vertical Spacing"
  417. default 4
  418. ---help---
  419. Vertical spacing. Default: 4 pixels
  420. config NXWM_STARTWINDOW_HSPACING
  421. int "Horizontal Spacing"
  422. default 4
  423. ---help---
  424. Horizontal spacing. Default: 4 rows
  425. config NXWM_CUSTOM_STARTWINDOW_ICON
  426. bool "Custom Start Window Icon"
  427. default n
  428. ---help---
  429. Select to override the default Start Window Icon: NxWM::g_playBitmap
  430. if NXWM_CUSTOM_STARTWINDOW_ICON
  431. config NXWM_STARTWINDOW_ICON
  432. string "StartWindow Icon"
  433. default "NxWM::g_playBitmap"
  434. ---help---
  435. The glyph to use as the start window icon. Default: NxWM::g_playBitmap
  436. endif
  437. config NXWM_STARTWINDOW_MQNAME
  438. string "Message Queue Name"
  439. default "/dev/nxwm"
  440. ---help---
  441. The well known name of the message queue. Used to communicated from
  442. CWindowMessenger to the start window thread. Default: "/dev/nxwm"
  443. config NXWM_STARTWINDOW_MXMSGS
  444. int "Max Messages"
  445. default 32
  446. ---help---
  447. The maximum number of messages to queue before blocking. Defualt 32
  448. config NXWM_STARTWINDOW_MXMPRIO
  449. int "Message Priority"
  450. default 42
  451. ---help---
  452. The message priority. Default: 42.
  453. config NXWM_STARTWINDOW_PRIO
  454. int "StartWindow Task Priority"
  455. default 100
  456. ---help---
  457. Priority of the StartWindow task. Default: 100.
  458. NOTE: This priority should be less than NXWIDGETS_SERVERPRIO or else
  459. there may be data overrun errors. Such errors would most likely appear
  460. as duplicated rows of data on the display.
  461. config NXWM_STARTWINDOW_STACKSIZE
  462. int "StartWindow Task Stack Size"
  463. default 2048
  464. ---help---
  465. The stack size to use when starting the StartWindow task. Default:
  466. 2048 bytes.
  467. comment "NxConsole Window Configuration"
  468. config NXWM_NXCONSOLE_PRIO
  469. int "NxConsole Task Priority"
  470. default 100
  471. ---help---
  472. Priority of the NxConsole task. Default: 100.
  473. NOTE: This priority should be less than NXWIDGETS_SERVERPRIO or
  474. else there may be data overrun errors. Such errors would most likely
  475. appear as duplicated rows of data on the display.
  476. config NXWM_NXCONSOLE_STACKSIZE
  477. int "NxConsole Task Stack Size"
  478. default 2048
  479. ---help---
  480. The stack size to use when starting the NxConsole task. Default:
  481. 2048 bytes.
  482. config NXWM_NXCONSOLE_CUSTOM_COLORS
  483. bool "Custom NxConsole Colors"
  484. default n
  485. ---help---
  486. Select custom default colors for the NxConsole window. If defined,
  487. the hexadecimal values for all NxConsole colors must be provided
  488. (there are no default colors because the hexadecimal representation
  489. of the default colors depend on the pixel depth). Default: n
  490. if NXWM_NXCONSOLE_CUSTOM_COLORS
  491. config NXWM_NXCONSOLE_WCOLOR
  492. hex "NxConsole Background Color"
  493. ---help---
  494. The color of the NxConsole window background. Default:
  495. RGB(192,192,192)
  496. config NXWM_NXCONSOLE_FONTCOLOR
  497. hex "NxConsole Font Color"
  498. ---help---
  499. The color of the fonts to use in the NxConsole window.
  500. Default: RGB(0,0,0)
  501. endif
  502. config NXWM_NXCONSOLE_CUSTOM_FONTID
  503. bool "Use Custom Default Font"
  504. default n
  505. ---help---
  506. Set to override the system default font id (NXWM_DEFAULT_FONTID).
  507. if NXWM_NXCONSOLE_CUSTOM_FONTID
  508. config NXWM_NXCONSOLE_FONTID
  509. int "NxConsole Font ID"
  510. default 0
  511. ---help---
  512. Use this default font ID in the NxConsole window instead of the
  513. NxWM font ID (NXWM_DEFAULT_FONTID). Default: 0
  514. endif
  515. config NXWM_CUSTOM_NXCONSOLE_ICON
  516. bool "Custom NxConsole Icon"
  517. default n
  518. ---help---
  519. Select to override the default NxConsole Window Icon: NxWM::g_cmdBitmap
  520. if NXWM_CUSTOM_NXCONSOLE_ICON
  521. config NXWM_NXCONSOLE_ICON
  522. string "NxConsole Icon"
  523. default "NxWM::g_cmdBitmap"
  524. ---help---
  525. The glyph to use as the NxConsole icon. Default: NxWM::g_cmdBitmap
  526. endif
  527. config NXWM_TOUCHSCREEN
  528. bool "Touchscreen Support"
  529. default y if INPUT
  530. default n if !INPUT
  531. ---help---
  532. Define to build in touchscreen support.
  533. if NXWM_TOUCHSCREEN
  534. comment "Touchscreen device settings"
  535. config NXWM_TOUCHSCREEN_DEVNO
  536. int "Touchscreen Device Number"
  537. default 0
  538. ---help---
  539. Touchscreen device minor number, i.e., the N in /dev/inputN.
  540. Default: 0
  541. config NXWM_TOUCHSCREEN_DEVPATH
  542. string "Touchscreen Device Path"
  543. default "/dev/input0"
  544. ---help---
  545. The full path to the touchscreen device. Default: "/dev/input0"
  546. config NXWM_TOUCHSCREEN_SIGNO
  547. int "Touchscreen Signal Number"
  548. default 5
  549. ---help---
  550. The realtime signal used to wake up the touchscreen listener
  551. thread. Default: 5
  552. config NXWM_TOUCHSCREEN_LISTENERPRIO
  553. int "Touchscreen Listener Task Priority"
  554. default 100
  555. ---help---
  556. Priority of the touchscreen listener thread. Default: 100
  557. config NXWM_TOUCHSCREEN_LISTENERSTACK
  558. int "Touchscreen Listener Task Stack Size"
  559. default 1024
  560. ---help---
  561. Touchscreen listener thread stack size. Default 1024
  562. endif
  563. config NXWM_KEYBOARD
  564. bool "Keyboard Support"
  565. default n
  566. ---help---
  567. Define to build in touchscreen support.
  568. if NXWM_KEYBOARD
  569. comment "Keyboard device settings"
  570. config NXWM_KEYBOARD_DEVPATH
  571. string "Keyboard Device Path"
  572. default "/dev/console"
  573. ---help---
  574. The full path to the touchscreen device. Default: "/dev/console"
  575. config NXWM_KEYBOARD_SIGNO
  576. int "Keyboard Task Signal Number"
  577. default 6
  578. ---help---
  579. The realtime signal used to wake up the touchscreen listener thread.
  580. Default: 6
  581. config NXWM_KEYBOARD_BUFSIZE
  582. int "Keyboard Buffer Size"
  583. default 16
  584. ---help---
  585. The size of the keyboard read data buffer. Default: 16
  586. config NXWM_KEYBOARD_LISTENERPRIO
  587. int "Keyboard Listener Task Priority"
  588. default 100
  589. ---help---
  590. Priority of the touchscreen listener thread. Default: 100
  591. config NXWM_KEYBOARD_LISTENERSTACK
  592. int "Keyboard Listener Task Stack Size"
  593. default 2048
  594. ---help---
  595. Keyboard listener thread stack size. Default: 1024
  596. endif
  597. comment "Calibration display settings"
  598. config NXWM_CALIBRATION_CUSTOM_COLORS
  599. bool "Custom Calibration Colors"
  600. default n
  601. ---help---
  602. Select custom default colors for the calibration window. If
  603. defined, the hexadecimal values for all calibration window
  604. colors must be provided (there are no default colors because
  605. the hexadecimal representation of the default colors depend
  606. on the pixel depth). Default: n
  607. if NXWM_CALIBRATION_CUSTOM_COLORS
  608. config NXWM_CALIBRATION_BACKGROUNDCOLOR
  609. hex "Background Color"
  610. ---help---
  611. The background color of the touchscreen calibration display.
  612. Default: Same as NXWM_DEFAULT_BACKGROUNDCOLOR.
  613. config NXWM_CALIBRATION_LINECOLOR
  614. hex "Line Color"
  615. ---help---
  616. The color of the lines used in the touchscreen calibration display.
  617. Default: RGB(0, 0, 128) (dark blue)
  618. config NXWM_CALIBRATION_CIRCLECOLOR
  619. hex "Normal Circle Color"
  620. ---help---
  621. The color of the circle in the touchscreen calibration display.
  622. Default: RGB(255, 255, 255) (white)
  623. config NXWM_CALIBRATION_TOUCHEDCOLOR
  624. hex "Touched Circle Color"
  625. ---help---
  626. The color of the circle in the touchscreen calibration display after
  627. the touch is recorder. Default: RGB(255, 255, 96) (very light yellow)
  628. endif
  629. config NXWM_CUSTOM_CALIBRATION_ICON
  630. bool "Custom Calibration Icon"
  631. default n
  632. ---help---
  633. Select to override the default Calibration Window Icon:
  634. NxWM::g_calibrationBitmap
  635. if NXWM_CUSTOM_CALIBRATION_ICON
  636. config NXWM_CALIBRATION_ICON
  637. string "Callibration Icon"
  638. default "NxWM::g_calibrationBitmap"
  639. ---help---
  640. The ICON to use for the touchscreen calibration application. Default:
  641. NxWM::g_calibrationBitmap
  642. endif
  643. config NXWM_CALIBRATION_SIGNO
  644. int "Calibration Signal Number"
  645. default 5
  646. ---help---
  647. The realtime signal used to wake up the touchscreen calibration
  648. thread. Default: 5
  649. config NXWM_CALIBRATION_LISTENERPRIO
  650. int "Calibration Task Priority"
  651. default 100
  652. ---help---
  653. Priority of the calibration listener thread. Default: 100
  654. config NXWM_CALIBRATION_LISTENERSTACK
  655. int "Calibration Task Stack Size"
  656. default 2048
  657. ---help---
  658. Calibration listener thread stack size. Default 2048
  659. comment "Hex Calculator display settings"
  660. config NXWM_HEXCALCULATOR_CUSTOM_COLORS
  661. bool "Custom Hex Calculator Colors"
  662. default n
  663. ---help---
  664. Select custom default colors for the Hex Calcualtor window. If
  665. defined, the hexadecimal values for all hex calculator colors
  666. must be provided (there are no default colors because the
  667. hexadecimal representation of the default colors depend on the
  668. pixel depth). Default: n
  669. if NXWM_HEXCALCULATOR_CUSTOM_COLORS
  670. config NXWM_HEXCALCULATOR_BACKGROUNDCOLOR
  671. hex "Calculator Background Color"
  672. ---help---
  673. The background color of the calculator display. Default: Same
  674. as NXWM_DEFAULT_BACKGROUNDCOLOR
  675. endif
  676. config NXWM_CUSTOM_HEXCALCULATOR_ICON
  677. bool "Custom Hex Calculator Icon"
  678. default n
  679. ---help---
  680. Select to override the default Hex Calculator Window Icon:
  681. NxWM::g_calculatorBitmap
  682. if NXWM_CUSTOM_HEXCALCULATOR_ICON
  683. config NXWM_HEXCALCULATOR_ICON
  684. string "Calculator Icon"
  685. default "NxWM::g_calculatorBitmap"
  686. ---help---
  687. The ICON to use for the hex calculator application. Default:
  688. "NxWM::g_calculatorBitmap"
  689. endif
  690. config NXWM_HEXCALCULATOR_CUSTOM_FONTID
  691. bool "Use Custom Default Font"
  692. default n
  693. ---help---
  694. Set to override the system default font id (NXWM_DEFAULT_FONTID).
  695. if NXWM_HEXCALCULATOR_CUSTOM_FONTID
  696. config NXWM_HEXCALCULATOR_FONTID
  697. int "Calculator Font ID"
  698. default 0
  699. ---help---
  700. Use this default font ID in the calculator window instead of the
  701. NxWM font ID (NXWM_DEFAULT_FONTID). Default: 0
  702. endif
  703. config NXWM_MEDIAPLAYER
  704. bool "Enable Media Player"
  705. default n
  706. ---help---
  707. Enable support for the MP3 Media Player. This features requires
  708. a board that includes an MP3 Codec chip, such as the Mikromedia
  709. boards available from MikroElektronica, along with a NuttX port
  710. with a device driver for the MP3 codec.
  711. NOTE: This application is currently under development and just
  712. a shell of an app which will be developed soon.
  713. endif