Change header comment style.
parent
47acf3cadd
commit
b550ec0668
|
@ -16,9 +16,7 @@
|
|||
#include "Lth_control.h"
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Type Definitions |
|
||||
//
|
||||
// Type Definitions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_ButtonState
|
||||
|
@ -43,9 +41,7 @@ typedef struct Lth_Button
|
|||
} Lth_Button;
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
Lth_Button *Lth_ButtonNew(char const *label);
|
||||
void Lth_ButtonSetLabel(Lth_Button *ctrl, char const *title);
|
||||
|
|
|
@ -54,9 +54,7 @@ Lth_X(SIGUPDATE , update, void, struct Lth_Control *)
|
|||
Lth_Call(ctrl->cb.name, __VA_ARGS__)
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Type Definitions |
|
||||
//
|
||||
// Type Definitions ----------------------------------------------------------|
|
||||
|
||||
struct Lth_Control;
|
||||
|
||||
|
|
|
@ -14,9 +14,7 @@
|
|||
#define lithos3__Lth_context_h
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Type Definitions |
|
||||
//
|
||||
// Type Definitions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_Context
|
||||
|
@ -47,9 +45,7 @@ typedef struct Lth_Context
|
|||
} Lth_Context;
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
Lth_Context *Lth_ContextNew(int w, int h, Lth_HID hidBase, Lth_HID hidEnd);
|
||||
void Lth_ContextMap(Lth_Context *ctx, struct Lth_Window *window);
|
||||
|
|
|
@ -20,9 +20,7 @@
|
|||
#include "Lth_font.h"
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Type Definitions |
|
||||
//
|
||||
// Type Definitions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_Control
|
||||
|
@ -72,9 +70,7 @@ typedef struct Lth_LayoutControl
|
|||
} Lth_LayoutControl;
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
Lth_Font *Lth_ControlFont(void *ctrl_);
|
||||
void Lth_ControlRun(void *ctrl_);
|
||||
|
|
|
@ -14,9 +14,7 @@
|
|||
#define lithos3__Lth_draw_h
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
void Lth_DrawRectAndClip(Lth_Context *ctx, int x, int y, int w, int h, __fixed alpha);
|
||||
void Lth_DrawRect(Lth_Context *ctx, int x, int y, int w, int h, __fixed alpha);
|
||||
|
|
|
@ -14,9 +14,7 @@
|
|||
#define lithos3__Lth_font_h
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Type Definitions |
|
||||
//
|
||||
// Type Definitions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_Glyph
|
||||
|
@ -36,9 +34,7 @@ typedef struct Lth_Font
|
|||
} Lth_Font;
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
Lth_Font *Lth_FontNew(char const *name);
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
//
|
||||
// HudMessage things.
|
||||
// HudMessage macros.
|
||||
//
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
@ -85,9 +85,7 @@
|
|||
#define Lth_A_TRig (0.6k)
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Static Functions |
|
||||
//
|
||||
// Static Functions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_HudMessage
|
||||
|
|
|
@ -44,9 +44,7 @@
|
|||
)
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Type Definitions |
|
||||
//
|
||||
// Type Definitions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_LinkList
|
||||
|
@ -58,9 +56,7 @@ typedef struct Lth_LinkList
|
|||
} Lth_LinkList;
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Static Functions |
|
||||
//
|
||||
// Static Functions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_ListLink
|
||||
|
|
|
@ -14,9 +14,7 @@
|
|||
#define lithos3__Lth_stdlib_h
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
char *Lth_strdup(char const *s);
|
||||
__str Lth_strdup_str(char const *s);
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
#define Lth_Mixin(name) [[__anonymous]] name _##name
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Type Definitions |
|
||||
//
|
||||
// Type Definitions ----------------------------------------------------------|
|
||||
|
||||
typedef int Lth_HID;
|
||||
|
||||
|
|
|
@ -16,9 +16,7 @@
|
|||
#include "Lth_control.h"
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Type Definitions |
|
||||
//
|
||||
// Type Definitions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_Window
|
||||
|
@ -35,9 +33,7 @@ typedef struct Lth_Window
|
|||
} Lth_Window;
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
Lth_Window *Lth_WindowNew(char const *title, int w, int h, int x, int y);
|
||||
void Lth_WindowSetTitle(Lth_Window *ctrl, char const *title);
|
||||
|
|
|
@ -15,9 +15,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Static Functions |
|
||||
//
|
||||
// Static Functions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_ButtonDraw
|
||||
|
@ -43,9 +41,7 @@ static void Lth_ButtonDestroy(Lth_Button *ctrl)
|
|||
}
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_ButtonNew
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_ContextNew
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_ControlRun
|
||||
|
|
|
@ -13,9 +13,7 @@
|
|||
#include "Lth.h"
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_DrawRectAndClip
|
||||
|
|
|
@ -16,9 +16,7 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_strdup
|
||||
|
|
|
@ -53,9 +53,7 @@ static void Lth_WindowDestroy(Lth_Window *ctrl)
|
|||
}
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------|
|
||||
// Extern Functions |
|
||||
//
|
||||
// Extern Functions ----------------------------------------------------------|
|
||||
|
||||
//
|
||||
// Lth_WindowNew
|
||||
|
|
Loading…
Reference in New Issue