Commit Graph

27 Commits

Author SHA1 Message Date
kevin
c929804d4c cwUi.h/cpp,cwUiTest.h/cpp, cwUiDecls.h : Moved public variables to cwUiDecls.h. Added a version of create() which uses an arg_t record. Added parseArgs() and releaseArgs(). 2021-01-20 13:10:56 -05:00
kpl
96b3b1ac0a Pine64 Updates. 2020-10-31 14:17:43 -04:00
kevin.larke
4982c61d60 cwUi.h/cpp : Added single element creation functions which take there values from the system rather than setting them from their default value. 2020-05-18 11:03:42 -04:00
kevin
222e058579 cwUi : Added widget type "numb_disp". 2020-05-15 11:59:39 -04:00
kevin.larke
6be205ecb5 cwUi.h/cpp : Added findElementAppId(). 2020-04-30 15:10:54 -04:00
kevin.larke
fab87f7050 cwUi.cpp : Fixed bug where 'title' element type had the wrong type string. 2020-04-28 20:51:18 -04:00
kevin.larke
9b3fec0f95 cwUi.h: Added 'title' widget, and other minor HTML/JS/CSS changes. 2020-04-28 17:39:18 -04:00
kevin.larke
aa7f945299 cwUi.h : _createEle() the parent id is set to the first ancestor which has a valid appId. 2020-04-28 16:37:49 -04:00
kevin.larke
a324184c7a cwUi.cpp : Added 'div' aliases 'panel','row,'col' and assoc'd relaxed parent searching in _createEle(). 2020-04-28 08:40:53 -04:00
kevin.larke
f121997d53 cwUi.cpp,ui.js,ui.css,ui.cfg : Added row,col,panel div aliases. 2020-04-27 12:31:10 -04:00
kevin.larke
e2f1d9915f cwUi.h,cpp,cwUiTest.cpp : Added appIdMap[] as arg. to constructor. 2020-04-27 08:14:26 -04:00
kevin.larke
a260c3626c cwUi.cpp : Eliminated use of 'initFl' and changed _findOrCreateElement() to allow certain matching parent/name pairs. 2020-04-26 17:27:29 -04:00
kevin.larke
87455db469 cwUI.h/cpp : Added session id tracking and 'idle' message generation. 2020-04-26 09:19:19 -04:00
kevin.larke
460e7d0048 cwUi.cpp : Added ui_t.initFl to prevent application id's from being re-registered when new websocket sessions are started. 2020-04-24 16:35:45 -04:00
kevin.larke
ebfe4dd224 cwUI.h/cpp,cwUiTest.cpp,html/uiTest/ui.js : Implemented 'echo' protocol to send values to the browser. Implemented initial default HTML class attribute assignments. 2020-04-24 10:20:25 -04:00
kevin.larke
9288040004 cwUi.cpp : check for null ele_t.eleName wherever eleName is accessed. 2020-04-23 13:53:30 -04:00
kevin.larke
515c31d90f cwUi.cpp,cwUiTest.cpp : Change attribute 'class' to 'className'. 2020-04-21 17:56:38 -04:00
kevin.larke
24a43c4c47 Merge branch 'master' of gitea.larke.org:klarke/libcw 2020-04-21 15:00:03 -04:00
kevin.larke
a2588cdfd7 cwUi.h/cpp : Added createFromObject(). 2020-04-21 14:59:55 -04:00
kevin.larke
a7858560a4 cwUi.cpp : _createEleFromRsrc() now duplicates the rsrc object prior to modifying it, thereby allowing a const source object. 2020-04-21 14:56:42 -04:00
kevin.larke
c6ccaefcdb cwUI.h/cpp, cwUiTest.cpp : Separated the UI component into three parts ui, ws, srv. 2020-04-07 16:24:34 -04:00
kevin.larke
b6d716e8ff cwUi.h/cpp, cwUiTest.cpp, html/uiTest : Initial working version of cwUI. 2020-04-06 19:17:04 -04:00
kevin
86c641c4ab Minor changes for Raspberry Pi Build. 2020-04-04 20:53:20 +00:00
kevin.larke
2372f153b3 cwUi : Initial UI creation from resource file. 2020-03-31 13:10:45 -04:00
kevin.larke
9d1170b1eb cwUi.h/cpp : Added shell for functions createFromFile(), createFromText(). 2020-03-25 11:35:37 -04:00
kevin.larke
1a11282915 cwUi : Create message changed 'value' field to 'children'. 2020-03-24 08:53:42 -04:00
kpl
78b351b753 cwUi* : Initial implementation. 2020-03-23 10:50:10 -04:00