-
Notifications
You must be signed in to change notification settings - Fork 578
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
63 changed files
with
6,869 additions
and
714 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -347,25 +347,35 @@ | |
|
||
1.8 2013-xx-xx Gregory Nutt <[email protected]> | ||
|
||
* NxWM::CMediaPlayer: shell application for an MP3 Media Player with | ||
Kconfig settings to enable it. I plan to write this app to help | ||
develop and test the MP3 codec chip driver. It really doesn't do | ||
anything yet except display a text box saying "Coming soon", and I | ||
need to minimize the icon size a bit. From Ken Pettit (2013-5-11). | ||
* NxWidgets/nxwm/src/glyph_mediaplayer.cxx: Smaller version of the | ||
media player glyph. From Ken Pettit (2013-5-12). | ||
* NxWidgets/nxwm/include/ccalibration.hxx and src/ccalibration.cxx: | ||
Fix a race condition that would cause the calibration screen | ||
to fail to come up when its icon was touched (From Ken Pettit, | ||
2013-5-12). | ||
* Kconfig: Default priorities for NxWidget and NxWM threads | ||
should be 100, not 50, to be consistent with other default priorities. | ||
* NxWidgets::CGlyphSliderHorizontal and NxWidgets::CGlyphSliderHorizontalGrip: | ||
New widgets added by Ken Pettit (2013-5-15). | ||
* NxWidgets/UnitTests/CGlyphSliderHorizontal: Addes a unit test for the | ||
NxWidgets::CGlyphSliderHorizontal class. From Ken Pettit (2013-5-17) . | ||
* NxWidgets::CGlyphSliderHorizontal: Fix a drawing error. From Ken | ||
Pettit (2013-5-17). | ||
* UnitTests/*/Makefile and .gitignore: Update the way that NSH | ||
the Unit Tests are registered as built-in NSH applications (2013-5-30). | ||
* NxWM::CMediaPlayer: shell application for an MP3 Media Player with | ||
Kconfig settings to enable it. I plan to write this app to help | ||
develop and test the MP3 codec chip driver. It really doesn't do | ||
anything yet except display a text box saying "Coming soon", and I | ||
need to minimize the icon size a bit. From Ken Pettit (2013-5-11). | ||
* NxWidgets/nxwm/src/glyph_mediaplayer.cxx: Smaller version of the | ||
media player glyph. From Ken Pettit (2013-5-12). | ||
* NxWidgets/nxwm/include/ccalibration.hxx and src/ccalibration.cxx: | ||
Fix a race condition that would cause the calibration screen | ||
to fail to come up when its icon was touched (From Ken Pettit, | ||
2013-5-12). | ||
* Kconfig: Default priorities for NxWidget and NxWM threads | ||
should be 100, not 50, to be consistent with other default priorities. | ||
* NxWidgets::CGlyphSliderHorizontal and NxWidgets::CGlyphSliderHorizontalGrip: | ||
New widgets added by Ken Pettit (2013-5-15). | ||
* NxWidgets/UnitTests/CGlyphSliderHorizontal: Addes a unit test for the | ||
NxWidgets::CGlyphSliderHorizontal class. From Ken Pettit (2013-5-17) . | ||
* NxWidgets::CGlyphSliderHorizontal: Fix a drawing error. From Ken | ||
Pettit (2013-5-17). | ||
* UnitTests/*/Makefile and .gitignore: Update the way that NSH | ||
the Unit Tests are registered as built-in NSH applications (2013-5-30). | ||
* NxWidgets::CImage: Allow a NULL pointer for a bitmap. Add protection | ||
to prevent dereferencing the NULL pointer. From Petteri Aimonen | ||
(2013-6-4). | ||
* NxWidgets::CNumericEdit: Delay before auto-incrementing now varies: | ||
A longer delay is required to start auto-incrementing and speed increases | ||
while pressed. From Petteri Aimonen (2013-6-4). | ||
* NxWM::CTaskbar: Add a method to redraw the taskbar and the current | ||
application. This should only be necessary if the display loses | ||
state due to e.g. powerdown or other manual intervention. From | ||
Petteri Aimonen (2013-6-4). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/**************************************************************************** | ||
* NxWidgets/libnxwidgets/include/cnumericedit.cxx | ||
* | ||
* Copyright (C) 2012 Gregory Nutt. All rights reserved. | ||
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved. | ||
* Author: Gregory Nutt <[email protected]> | ||
* Petteri Aimonen <[email protected]> | ||
* | ||
|
@@ -216,15 +216,23 @@ void CNumericEdit::handleActionEvent(const CWidgetEventArgs &e) | |
{ | ||
m_timercount++; | ||
|
||
int increment = m_increment; | ||
// Increment the value at increasing speed. | ||
// Ignore the first 3 timer ticks so that single clicks | ||
// only increment by one. | ||
|
||
int increment = 0; | ||
if (m_timercount > 50) | ||
{ | ||
increment = m_increment * 100; | ||
} | ||
else if (m_timercount > 10) | ||
else if (m_timercount > 20) | ||
{ | ||
increment = m_increment * 10; | ||
} | ||
else if (m_timercount > 3) | ||
{ | ||
increment = m_increment; | ||
} | ||
|
||
if (m_button_minus->isClicked()) | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/**************************************************************************** | ||
* NxWidgets/nxwm/include/cnxtaskbar.hxx | ||
* | ||
* Copyright (C) 2012 Gregory Nutt. All rights reserved. | ||
* Copyright (C) 2012-2013 Gregory Nutt. All rights reserved. | ||
* Author: Gregory Nutt <[email protected]> | ||
* | ||
* Redistribution and use in source and binary forms, with or without | ||
|
@@ -89,7 +89,7 @@ namespace NxWM | |
/** | ||
* This structure represents an application and its associated icon image | ||
*/ | ||
|
||
struct STaskbarSlot | ||
{ | ||
IApplication *app; /**< A reference to the icon */ | ||
|
@@ -108,7 +108,7 @@ namespace NxWM | |
bool m_started; /**< True if window manager has been started */ | ||
|
||
/** | ||
* Create a raw window. | ||
* Create a raw window. | ||
* | ||
* 1) Create a dumb NXWidgets::CWidgetControl instance (See not). | ||
* 2) Pass the dumb NXWidgets::CWindowMessenger instance to the window constructor | ||
|
@@ -134,7 +134,7 @@ namespace NxWM | |
* | ||
* @return A partially initialized application window instance. | ||
*/ | ||
|
||
NXWidgets::CNxTkWindow *openFramedWindow(void); | ||
|
||
/** | ||
|
@@ -155,15 +155,15 @@ namespace NxWM | |
virtual bool createTaskbarWindow(void); | ||
|
||
/** | ||
* Create the background window. | ||
* Create the background window. | ||
* | ||
* @return true on success | ||
*/ | ||
|
||
virtual bool createBackgroundWindow(void); | ||
|
||
/** | ||
* Create the background image. | ||
* Create the background image. | ||
* | ||
* @return true on success | ||
*/ | ||
|
@@ -247,7 +247,7 @@ namespace NxWM | |
/** | ||
* Connect to the server | ||
*/ | ||
|
||
bool connect(void); | ||
|
||
/** | ||
|
@@ -409,7 +409,15 @@ namespace NxWM | |
*/ | ||
|
||
void getDisplaySize(FAR struct nxgl_size_s &size); | ||
|
||
|
||
/** | ||
* Force a redraw of the taskbar and current application. | ||
* This should only be necessary if the display loses state due to e.g. powerdown | ||
* or other manual intervention. | ||
*/ | ||
|
||
inline void redraw() { redrawTopApplication(); } | ||
|
||
/** | ||
* Simulate a mouse click or release on the icon at index. This method | ||
* is only available during automated testing of NxWM. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.