1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-12-26 17:30:49 +02:00
gmenu2x/src
Nebuleon Fumika 891525aa94 Fix dynamic allocation of IconButton instances
Previously, IconButton instances to be added to button boxes were
allocated with new, but never freed with delete.

unique_ptr makes sure the buttons will be freed along with the button
box that owns them, or when code calls ButtonBox::clear.

The destructor of ButtonBox has been made redundant by this change, so
it's gone.
2014-08-16 05:17:31 +02:00
..
.gitignore Let git ignore files we expect to be generated during the build. 2010-06-17 18:45:52 +02:00
background.cpp Store "bgmain" in the GMenu2X object instead of in SurfaceCollection 2014-08-15 04:03:00 +02:00
background.h Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
battery.cpp Created separate subclasses for output and off-screen surfaces 2014-08-10 13:25:54 +02:00
battery.h Created separate subclasses for output and off-screen surfaces 2014-08-10 13:25:54 +02:00
browsedialog.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
browsedialog.h Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
buttonbox.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
buttonbox.h Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
clock.cpp Code factorisation (Add function inject_user_event() to utilities) 2013-08-28 13:14:08 -04:00
clock.h Made Clock destruction safe 2013-08-09 03:13:02 +02:00
contextmenu.cpp Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
contextmenu.h Query animation status instead of storing it 2013-08-12 19:41:56 +02:00
cpu.cpp Replaced every message output by calls to the log macros. 2010-09-17 22:31:09 +02:00
cpu.h Set CPU frequency through sysfs. 2010-07-04 03:04:42 +02:00
debug.h Revert the log level to INFO 2013-07-29 13:02:06 -04:00
delegate.h Drop incredibly dirty and huge file FastDelegate.h 2013-07-29 12:58:25 -04:00
dialog.cpp Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
dialog.h Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
dirdialog.cpp Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
dirdialog.h Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
filedialog.cpp Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
filedialog.h Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
filelister.cpp Simplified file extension filtering code 2014-08-14 06:43:37 +02:00
filelister.h Removed FileLister::insertFile 2014-08-14 05:08:36 +02:00
font.cpp Have Font::write return the width of the drawn text 2014-08-15 03:32:32 +02:00
font.h Have Font::write return the width of the drawn text 2014-08-15 03:32:32 +02:00
gmenu2x.cpp Handle labelless icon positioning in GMenu2X::drawButton(Right) 2014-08-15 18:49:58 +02:00
gmenu2x.h Removed GMenu2X::drawButton variant 2014-08-15 17:27:09 +02:00
gp2x.h initial commit - needs clean-up 2010-02-04 12:33:47 +01:00
helppopup.cpp Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
helppopup.h Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
iconbutton.cpp Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
iconbutton.h Removed most uses of naked Surface pointers 2014-08-10 14:21:14 +02:00
imagedialog.cpp Use a plain FileLister instead of a pointer in BrowseDialog 2014-08-13 07:06:05 +02:00
imagedialog.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
imageio.cpp Fix issues with loading images with alpha disabled. 2014-07-17 01:25:41 +02:00
imageio.h Fix issues with loading images with alpha disabled. 2014-07-17 01:25:41 +02:00
inputdialog.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
inputdialog.h InputDialog: header cleanup. 2011-10-23 12:46:52 +02:00
inputmanager.cpp Dismantled Singleton pattern of PowerSaver 2014-08-14 09:47:05 +02:00
inputmanager.h Dismantled Singleton pattern of PowerSaver 2014-08-14 09:47:05 +02:00
launcher.cpp Moved console bind+activate code into Launcher 2014-08-08 02:04:05 +02:00
launcher.h Moved console bind+activate code into Launcher 2014-08-08 02:04:05 +02:00
layer.h Query animation status instead of storing it 2013-08-12 19:41:56 +02:00
link.cpp Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
link.h Removed most uses of naked Surface pointers 2014-08-10 14:21:14 +02:00
linkapp.cpp Handle labelless icon positioning in GMenu2X::drawButton(Right) 2014-08-15 18:49:58 +02:00
linkapp.h Removed most uses of naked Surface pointers 2014-08-10 14:21:14 +02:00
Makefile.am Added Launcher class 2014-08-07 16:48:30 +02:00
mediamonitor.cpp Code factorisation (Add function inject_user_event() to utilities) 2013-08-28 13:14:08 -04:00
mediamonitor.h Add a MediaMonitor, which will watch CARD_ROOT for mountpoints 2013-07-19 12:37:56 -04:00
menu.cpp Simplify code to reload section icons when skin changes 2014-08-15 16:54:30 +02:00
menu.h Store Menu's Monitors in unique_ptrs 2014-08-15 13:56:20 +02:00
menusetting.cpp Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
menusetting.h Cap the width of setting names in SettingDialog to the width of the longest 2014-07-24 11:07:30 +02:00
menusettingbool.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
menusettingbool.h Cap the width of setting names in SettingDialog to the width of the longest 2014-07-24 11:07:30 +02:00
menusettingdir.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
menusettingdir.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
menusettingfile.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
menusettingfile.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
menusettingimage.cpp Use function getSkinPath() instead of reading the dir of the binary 2012-06-24 23:18:02 +02:00
menusettingimage.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
menusettingint.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
menusettingint.h Cap the width of setting names in SettingDialog to the width of the longest 2014-07-24 11:07:30 +02:00
menusettingmultistring.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
menusettingmultistring.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
menusettingrgba.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
menusettingrgba.h Cap the width of setting names in SettingDialog to the width of the longest 2014-07-24 11:07:30 +02:00
menusettingstring.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
menusettingstring.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00
menusettingstringbase.cpp Don't pass around naked Surface pointers when drawing 2014-08-10 04:26:59 +02:00
menusettingstringbase.h Cap the width of setting names in SettingDialog to the width of the longest 2014-07-24 11:07:30 +02:00
messagebox.cpp Created separate subclasses for output and off-screen surfaces 2014-08-10 13:25:54 +02:00
messagebox.h MessageBox: header cleanups. 2011-10-23 11:32:16 +02:00
monitor.cpp Don't use (void) for empty argument list 2014-08-15 14:01:11 +02:00
monitor.h Don't use (void) for empty argument list 2014-08-15 14:01:11 +02:00
powersaver.cpp Explicitly enable screen when PowerSaver exits 2014-08-14 09:51:51 +02:00
powersaver.h Dismantled Singleton pattern of PowerSaver 2014-08-14 09:47:05 +02:00
selector.cpp Simplify bottom bar button drawing in Selector 2014-08-15 18:53:08 +02:00
selector.h Don't pre-strip file name extensions in Selector 2014-08-12 09:17:38 +02:00
settingsdialog.cpp Removed most uses of naked Surface pointers 2014-08-10 14:21:14 +02:00
settingsdialog.h Massive header cleanup. 2011-10-23 16:13:02 +02:00
surface.cpp Removed skin lookup feature from OffscreenSurface::loadImage 2014-08-15 01:34:35 +02:00
surface.h Removed skin lookup feature from OffscreenSurface::loadImage 2014-08-15 01:34:35 +02:00
surfacecollection.cpp Store "bgmain" in the GMenu2X object instead of in SurfaceCollection 2014-08-15 04:03:00 +02:00
surfacecollection.h Simplify code to reload section icons when skin changes 2014-08-15 16:54:30 +02:00
textdialog.cpp Handle labelless icon positioning in GMenu2X::drawButton(Right) 2014-08-15 18:49:58 +02:00
textdialog.h Use Font::wordWrap in TextDialog and TextManualDialog 2014-07-24 09:00:22 +02:00
textmanualdialog.cpp Handle labelless icon positioning in GMenu2X::drawButton(Right) 2014-08-15 18:49:58 +02:00
textmanualdialog.h Use Font::wordWrap in TextDialog and TextManualDialog 2014-07-24 09:00:22 +02:00
touchscreen.cpp Drop GP2X platform support. 2012-06-14 23:45:57 +02:00
touchscreen.h Drop GP2X platform support. 2012-06-14 23:45:57 +02:00
translator.cpp Check for empty strings using empty() instead of comparing to "" 2013-08-16 09:16:04 +02:00
translator.h The "tr1" namespace is no longer needed now that we're on C++11 2013-08-01 14:37:56 +02:00
utilities.cpp Made text file reading more efficient and robust 2014-07-24 10:41:20 +02:00
utilities.h Moved code to remove a file name extension into utilities module 2014-08-12 09:07:37 +02:00
wallpaperdialog.cpp Fix dynamic allocation of IconButton instances 2014-08-16 05:17:31 +02:00
wallpaperdialog.h Made GMenu2X::ts private. 2011-12-23 14:03:05 +01:00