1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-23 06:38:05 +01:00

changed indentation to use spaces only

This commit is contained in:
dan
2004-10-12 21:28:27 +00:00
parent 5912898b06
commit 6830b05716
240 changed files with 35951 additions and 35773 deletions

View File

@@ -1,4 +1,4 @@
/********************************************************************\
/********************************************************************
* text.h -- a basic text field *
* Copyright (C) 1997 Robin D. Clark *
* *
@@ -20,7 +20,7 @@
* Internet: rclark@cs.hmc.edu *
* Address: 609 8th Street *
* Huntington Beach, CA 92648-4632 *
\********************************************************************/
********************************************************************/
#ifndef __TEXT_H__
#define __TEXT_H__
@@ -28,33 +28,33 @@
#include "wcore.h"
typedef struct {
char *txt; /* ptr to the text */
int length; /* length of txt[] */
int startPos; /* beginning of selected text */
int endPos; /* end of selected text */
} WTextBlock; /* if startPos == endPos, no txt *
* is selected... they give the *
* cursor position. */
char *txt; /* ptr to the text */
int length; /* length of txt[] */
int startPos; /* beginning of selected text */
int endPos; /* end of selected text */
} WTextBlock; /* if startPos == endPos, no txt *
* is selected... they give the *
* cursor position. */
typedef struct {
WCoreWindow *core;
WMFont *font;
WTextBlock text;
GC gc;
GC regGC; /* the normal GC */
GC invGC; /* inverted, for selected text */
WMagicNumber *magic;
short xOffset;
short yOffset;
unsigned int done:1;
unsigned int blink_on:1;
unsigned int blinking:1;
unsigned int canceled:1;
WCoreWindow *core;
WMFont *font;
WTextBlock text;
GC gc;
GC regGC; /* the normal GC */
GC invGC; /* inverted, for selected text */
WMagicNumber *magic;
short xOffset;
short yOffset;
unsigned int done:1;
unsigned int blink_on:1;
unsigned int blinking:1;
unsigned int canceled:1;
} WTextInput;
/** PROTOTYPES ******************************************************/
WTextInput* wTextCreate( WCoreWindow *core, int x, int y, int width,
int height );
WTextInput* wTextCreate( WCoreWindow *core, int x, int y, int width,
int height );
void wTextDestroy( WTextInput *wText );
void wTextPaint( WTextInput *wText );
char* wTextGetText( WTextInput *wText );