Skip to content

Commit

Permalink
first public revision
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Nov 28, 2011
0 parents commit 873610a
Show file tree
Hide file tree
Showing 8 changed files with 2,332 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Guitor.winxhead
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,19 @@
// Guitor.winxhead

// Declarations for Guitor

$include "GuitorConstants.winxhead";

namespace Guitor
{

class Display;
class Event;

class Controller;
class TopLevelWindow;
class ChildWindow;

}

// End
37 changes: 37 additions & 0 deletions GuitorConstants.winxhead
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,37 @@
// GuitorConstants.winxhead

// Declarations for Guitor
// Xlib constants commonly used

namespace Guitor
{

namespace Events
{

// Event selection masks
const int KeyPressMask = 0x00000001;
const int KeyReleaseMask = 0x00000002;
const int ButtonPressMask = 0x00000004;
const int ButtonReleaseMask = 0x00000008;
const int EnterWindowMask = 0x00000010;
const int LeaveWindowMask = 0x00000020;
const int PointerMotionMask = 0x00000040;
const int ExposureMask = 0x00008000;
const int StructureNotifyMask = 0x00020000;
// Event types
const int KeyPress = 2;
const int KeyRelease = 3;
const int ButtonPress = 4;
const int ButtonRelease = 5;
const int MotionNotify = 6;
const int Expose = 12;
const int DestroyNotify = 17;
const int ConfigureNotify = 22;
const int ClientMessage = 33;

}

}

// End
7 changes: 7 additions & 0 deletions README
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,7 @@
Guitor (C) 2011 Julián Albo

Guitor is a parrot module for building GUI using Xlib.

Use the Makefile or seetup winxed

Under development. Tested only with Linux amd64.
Loading

0 comments on commit 873610a

Please sign in to comment.