Atrinik Client 2.5
Data Structures | Defines | Typedefs | Enumerations
include/textwin.h File Reference

Go to the source code of this file.

Data Structures

struct  textwin_struct

Defines

#define TEXTWIN_ROWS_VISIBLE(widget)   ((widget)->ht / FONT_HEIGHT(TEXTWIN((widget))->font))
#define TEXTWIN_TEXT_FLAGS(widget)   ((widget)->WidgetTypeID == MSGWIN_ID ? TEXT_WORD_WRAP | TEXT_MARKUP | TEXT_NO_FONT_CHANGE : TEXT_WORD_WRAP)

Typedefs

typedef struct textwin_struct textwin_struct

Enumerations

enum  {
  TW_HL_NONE, TW_HL_UP, TW_ABOVE, TW_HL_SLIDER,
  TW_UNDER, TW_HL_DOWN
}
enum  { TW_SCROLL = 1 }

Detailed Description

Text window header file.

Definition in file textwin.h.


Define Documentation

#define TEXTWIN_ROWS_VISIBLE (   widget)    ((widget)->ht / FONT_HEIGHT(TEXTWIN((widget))->font))

Get the maximum number of visible rows.

Definition at line 97 of file textwin.h.

#define TEXTWIN_TEXT_FLAGS (   widget)    ((widget)->WidgetTypeID == MSGWIN_ID ? TEXT_WORD_WRAP | TEXT_MARKUP | TEXT_NO_FONT_CHANGE : TEXT_WORD_WRAP)

Get the base flags depending on the text window.

Definition at line 99 of file textwin.h.


Typedef Documentation

Custom attributes for text window widgets.