mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-24 04:11:28 +00:00
add space between function arguments for readability
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@24441 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cb05788788
commit
d530f8e5ba
11 changed files with 291 additions and 296 deletions
|
@ -99,7 +99,8 @@ LRESULT CALLBACK MainWndProc(HWND hwnd, UINT uMsg,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Don't translate messages, as this would give extra character messages.
|
// Don't translate messages, as this would give
|
||||||
|
// extra character messages.
|
||||||
DispatchMessage(&msg);
|
DispatchMessage(&msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -264,28 +265,11 @@ printf("\n\n##############################################################\n");
|
||||||
watcher: (id<RunLoopEvents>)self
|
watcher: (id<RunLoopEvents>)self
|
||||||
forMode: mode];
|
forMode: mode];
|
||||||
#else
|
#else
|
||||||
#if 0
|
|
||||||
NSTimer *timer;
|
|
||||||
|
|
||||||
timer = [NSTimer timerWithTimeInterval: 0.01
|
|
||||||
target: self
|
|
||||||
selector: @selector(callback:)
|
|
||||||
userInfo: nil
|
|
||||||
repeats: YES];
|
|
||||||
[currentRunLoop addTimer: timer forMode: mode];
|
|
||||||
#else
|
|
||||||
|
|
||||||
/* OBSOLETE
|
|
||||||
[currentRunLoop addMsgTarget: self
|
|
||||||
withMethod: @selector(callback:)
|
|
||||||
forMode: mode];
|
|
||||||
*/
|
|
||||||
[currentRunLoop addEvent: (void*)0
|
[currentRunLoop addEvent: (void*)0
|
||||||
type: ET_WINMSG
|
type: ET_WINMSG
|
||||||
watcher: (id<RunLoopEvents>)self
|
watcher: (id<RunLoopEvents>)self
|
||||||
forMode: mode];
|
forMode: mode];
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1725,7 +1709,8 @@ printf("\n\n##############################################################\n");
|
||||||
- (void) titlewindow: (NSString*)window_title : (int) winNum
|
- (void) titlewindow: (NSString*)window_title : (int) winNum
|
||||||
{
|
{
|
||||||
NSDebugLLog(@"WTrace", @"titlewindow: %@ : %d", window_title, winNum);
|
NSDebugLLog(@"WTrace", @"titlewindow: %@ : %d", window_title, winNum);
|
||||||
SetWindowText((HWND)winNum, [window_title cString]);
|
SetWindowTextW((HWND)winNum, (const unichar*)
|
||||||
|
[window_title cStringUsingEncoding: NSUnicodeStringEncoding]);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) miniwindow: (int) winNum
|
- (void) miniwindow: (int) winNum
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "w32_Events.h"
|
#include "w32_Events.h"
|
||||||
|
@ -169,8 +170,8 @@ typedef struct tagCREATESTRUCT {
|
||||||
|
|
||||||
- (NSMutableString *) w32_createDetails:(LPCREATESTRUCT)details
|
- (NSMutableString *) w32_createDetails:(LPCREATESTRUCT)details
|
||||||
{
|
{
|
||||||
|
|
||||||
NSMutableString * output= [NSMutableString stringWithString: spacer];
|
NSMutableString * output= [NSMutableString stringWithString: spacer];
|
||||||
|
|
||||||
[output appendString:@"\n\nLPCREATESTRUCT details\n"];
|
[output appendString:@"\n\nLPCREATESTRUCT details\n"];
|
||||||
|
|
||||||
[output appendFormat:@"HINSTANCE %p ", details->hInstance];
|
[output appendFormat:@"HINSTANCE %p ", details->hInstance];
|
||||||
|
@ -184,7 +185,8 @@ typedef struct tagCREATESTRUCT {
|
||||||
[output appendFormat:@"Co-ordanates: height[%d] width[%d] Pos[%d] Pox[%d]\n",
|
[output appendFormat:@"Co-ordanates: height[%d] width[%d] Pos[%d] Pox[%d]\n",
|
||||||
details->cy, details->cx, details->y, details->x];
|
details->cy, details->cx, details->y, details->x];
|
||||||
|
|
||||||
[output appendFormat:@"Style %lu Name: %s Win32Class: %s Extended Style %ld\n\n\n",
|
[output appendFormat:
|
||||||
|
@"Style %lu Name: %s Win32Class: %s Extended Style %ld\n\n\n",
|
||||||
details->style, details->lpszName,
|
details->style, details->lpszName,
|
||||||
details->lpszClass, details->dwExStyle];
|
details->lpszClass, details->dwExStyle];
|
||||||
[output appendString: spacer];
|
[output appendString: spacer];
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "w32_Events.h"
|
#include "w32_Events.h"
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "w32_Events.h"
|
#include "w32_Events.h"
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with this library; if not, write to the Free
|
License along with this library; if not, write to the Free
|
||||||
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
|
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
Boston, MA 02111 USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue