Functions

xgelistbox.c File Reference

#include <string.h>
#include <stdio.h>
#include <malloc.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include "pkvaria.h"
#include "xgedit.h"
#include "xgeprivate.h"
Include dependency graph for xgelistbox.c:

Functions

void xge_ShortenString (const char *s, char *buf, int maxlen)
void xge_DrawListBox (xge_widget *er, boolean onscreen)
boolean xge_ListBoxMsg (xge_widget *er, int msg, int key, short x, short y)
xge_widgetxge_NewListBox (char window_num, xge_widget *prev, int id, short w, short h, short x, short y, xge_listbox *listbox)
void xge_ClearListBox (xge_listbox *lbox)
boolean xge_GetCurrentListBoxString (xge_listbox *lbox, char *string)
int xge_MoveInListBox (xge_listbox *lbox, short amount)

Function Documentation

void xge_ClearListBox ( xge_listbox lbox  ) 
void xge_DrawListBox ( xge_widget er,
boolean  onscreen 
)
boolean xge_GetCurrentListBoxString ( xge_listbox lbox,
char *  string 
)
boolean xge_ListBoxMsg ( xge_widget er,
int  msg,
int  key,
short  x,
short  y 
)
int xge_MoveInListBox ( xge_listbox lbox,
short  amount 
)
xge_widget* xge_NewListBox ( char  window_num,
xge_widget prev,
int  id,
short  w,
short  h,
short  x,
short  y,
xge_listbox listbox 
)
void xge_ShortenString ( const char *  s,
char *  buf,
int  maxlen 
)