Skip to content

Commit 4530672

Browse files
committed
menu tweaks
1 parent 1ac3739 commit 4530672

File tree

2 files changed

+9
-16
lines changed

2 files changed

+9
-16
lines changed

LFSToolKit/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
0.6.0
22
Removing old 'c' code ...
3+
Removing old 'c' code ...
34
Added small utility class for static functions.
45
Removing old 'c' code ...
56
Wrapped 'c' realpath function ( more effecient than using experimental/filesystem ).

LFSToolKit/LFSToolKit/lfstk/LFSTKGlobals.h

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -385,22 +385,14 @@ struct windowInitStruct
385385
class LFSTK_menuClass;
386386
struct menuStruct
387387
{
388-
//char *label=NULL;
389-
std::string label;
390-
int imageType=0;
391-
// union imageData
392-
// {
393-
//char *imagePath;
394-
std::string imagePath;
395-
cairo_surface_t *surface=NULL;
396-
// ~imageData() {};//{cairo_surface_destroy(surface);}
397-
//imageData() {};
398-
// } data;//={NULL};
399-
400-
bool hasSubMenu=false;
401-
menuStruct **subMenus=NULL;
402-
int subMenuCnt=0;
403-
void *userData=NULL;
388+
std::string label;
389+
int imageType=0;
390+
std::string imagePath;
391+
cairo_surface_t *surface=NULL;
392+
bool hasSubMenu=false;
393+
menuStruct **subMenus=NULL;
394+
int subMenuCnt=0;
395+
void *userData=NULL;
404396
};
405397

406398
//messaging

0 commit comments

Comments
 (0)