lots of gui tweaks see changelogs ...

This commit is contained in:
K D Hedger
2024-01-20 20:35:57 +00:00
parent 8403cc9f49
commit 9da17fcbd3
20 changed files with 350 additions and 151 deletions

View File

@ -84,7 +84,8 @@ int main(int argc, char **argv)
{
XEvent event;
int sy=0;
std::vector<hitRect> hrs;
std::vector<hitRect> hrs;
bool useliveupdate=true;
dbg="";
apc=new LFSTK_applicationClass();
@ -162,6 +163,7 @@ int main(int argc, char **argv)
multi->stretchX=true;
multi->stretchY=true;
multi->gadgetStretch=STRETCH;
multi->liveUpdate=useliveupdate;
//lineedit
hrs.push_back({0,internalsy,GADGETWIDTH,GADGETHITE,new LFSTK_buttonClass(wc,"Line Edit",0,0,1,1)});
@ -248,6 +250,8 @@ int main(int argc, char **argv)
multi->stretchX=true;
multi->lockY=LOCKTOBOTTOM;
multi->gadgetStretch=STRETCH;
multi->liveUpdate=useliveupdate;
//line
hrs.push_back({0,0,DIALOGWIDTH,2,NULL});
@ -262,6 +266,7 @@ int main(int argc, char **argv)
//quit
multi=new LFSTK_ExpanderGadgetClass(wc,"",DIALOGMIDDLE-HALFGADGETWIDTH,sy+12,GADGETWIDTH,GADGETHITE);
multi->lockY=LOCKTOBOTTOM;
multi->liveUpdate=useliveupdate;
hrs.push_back({0,0,GADGETWIDTH,GADGETHITE,new LFSTK_buttonClass(wc,"Quit",0,0,1,1)});
hrs.back().gadget->LFSTK_setMouseCallBack(NULL,doQuit,NULL);