mirror of
https://github.com/KeithDHedger/LFSDesktopProject.git
synced 2026-01-13 05:42:05 +00:00
Mose code cleaning...
This commit is contained in:
@ -28,9 +28,12 @@ LFSTK_toggleButtonClass *check=NULL;
|
||||
LFSTK_toggleButtonClass *toggle=NULL;
|
||||
LFSTK_buttonClass *seperator=NULL;
|
||||
LFSTK_buttonClass *quit=NULL;
|
||||
char *iconH=NULL;
|
||||
char *iconM=NULL;
|
||||
char *iconL=NULL;
|
||||
//char *iconH=NULL;
|
||||
//char *iconM=NULL;
|
||||
//char *iconL=NULL;
|
||||
std::string iconH;
|
||||
std::string iconM;
|
||||
std::string iconL;
|
||||
|
||||
|
||||
LFSTK_windowClass *scwindow;
|
||||
@ -129,9 +132,6 @@ int main(int argc, char **argv)
|
||||
|
||||
iconH=apc->globalLib->LFSTK_findThemedIcon("gnome","volume-high","");
|
||||
toggle->LFSTK_setImageFromPath(iconH,TOOLBAR,true);
|
||||
//toggle->gadgetDetails.showBroken=true;
|
||||
//toggle->gadgetDetails.showLink=true;
|
||||
free(iconH);
|
||||
sy+=YSPACING*3;
|
||||
|
||||
windowInitStruct *win;
|
||||
@ -141,19 +141,13 @@ int main(int argc, char **argv)
|
||||
win->y=100;
|
||||
win->w=16;
|
||||
win->h=100;
|
||||
//win->wc=wc;
|
||||
// win->windowType="_NET_WM_WINDOW_TYPE_DOCK";
|
||||
win->decorated=false;
|
||||
win->overRide=true;
|
||||
// win->level=ABOVEALL;
|
||||
win->app=apc;
|
||||
win->windowType=apc->appAtomsHashed.at(apc->globalLib->prefs.LFSTK_hashFromKey("_NET_WM_WINDOW_TYPE_TOOL"));
|
||||
apc->LFSTK_addToolWindow(win);
|
||||
scwindow=apc->windows->back().window;//TODO//
|
||||
//XReparentWindow(apc->display,scwindow->window,wc->window,20,20);
|
||||
|
||||
vsb=new LFSTK_scrollBarClass(scwindow,true,0,0,16,100);
|
||||
|
||||
vsb->LFSTK_setValue(1);
|
||||
|
||||
//toggle->LFSTK_setContextWindow(scwindow);
|
||||
|
||||
Reference in New Issue
Block a user